/**
 * ==========================================================
 * Travel AI Platform
 * Frontend Dashboard
 * ==========================================================
 */

.tap-dashboard{
    width:100%;
    margin:40px auto;
}

.tap-page-header{
    margin-bottom:30px;
}

.tap-page-header h2{
    margin:0 0 10px;
    font-family:var(--tap-font-heading);
    font-size:32px;
    font-weight:700;
    line-height:1.2;
    color:var(--tap-heading);
}

.tap-page-header p{
    margin:0;
    opacity:.75;
}

/*==================================================
Dashboard Grid
==================================================*/

.tap-dashboard-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

    margin:25px 0;

}

/*==================================================
Cards
==================================================*/

.tap-dashboard .tap-card{

    background:var(--tap-card);

    border:1px solid var(--tap-border);

    border-radius:var(--tap-radius);

    padding:25px;

    transition:var(--tap-transition);

    box-shadow:var(--tap-shadow);

    position:relative;

    overflow:hidden;

}

.tap-dashboard .tap-card:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 35px rgba(0,0,0,.08);

}

.tap-dashboard .tap-card h3{

    margin:0 0 12px;

    font-size:22px;

}

.tap-dashboard .tap-card p{

    margin:0;

    line-height:1.7;

}

/*==================================================
Stats Cards
==================================================*/

.tap-dashboard-grid .tap-card h3{

    font-family:var(--tap-font-heading);

    font-size:36px;

    font-weight:700;

    margin-bottom:8px;

    background:var(--tap-gradient-gold);

    -webkit-background-clip:text;

    background-clip:text;

    -webkit-text-fill-color:transparent;

}

/*==================================================
Buttons
==================================================*/

.tap-dashboard-actions{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

    margin-top:20px;

}

.tap-dashboard-actions .tap-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:160px;

}

/*==================================================
Trips Grid
==================================================*/

.tap-trip-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

    margin-top:25px;

}

.tap-trip-card{

    border:1px solid var(--tap-border);

    border-radius:var(--tap-radius);

    padding:22px;

    background:var(--tap-card);

    transition:var(--tap-transition);

}

.tap-trip-card:hover{

    transform:translateY(-4px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.tap-trip-card h3{

    margin:0 0 15px;

    font-size:22px;

}

.tap-trip-card p{

    margin:8px 0;

}

.tap-trip-card .tap-btn{

    margin-top:15px;

    display:inline-flex;

}

/*==================================================
Future Widgets
==================================================*/

.tap-dashboard-grid:last-child .tap-card{

    text-align:center;

}

.tap-dashboard-grid:last-child h3{

    margin-bottom:12px;

}

/*==================================================
Tablet
==================================================*/

@media(max-width:991px){

    .tap-dashboard-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .tap-trip-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

/*==================================================
Mobile
==================================================*/

@media(max-width:767px){

    .tap-dashboard{

        margin:20px auto;

    }

    .tap-dashboard-grid{

        grid-template-columns:1fr;

        gap:15px;

    }

    .tap-trip-grid{

        grid-template-columns:1fr;

    }

    .tap-dashboard-actions{

        flex-direction:column;

    }

    .tap-dashboard-actions .tap-btn{

        width:100%;

    }

    .tap-page-header h2{

        font-size:26px;

    }

    .tap-dashboard .tap-card{

        padding:18px;

    }

}