/* ===========================================
   KIWI SHUTTLE ADMIN PANEL
=========================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --primary:#2563eb;
    --secondary:#1e293b;
    --light:#f8fafc;
    --white:#ffffff;
    --border:#e5e7eb;
    --text:#64748b;
    --success:#22c55e;
    --warning:#f59e0b;
    --danger:#ef4444;
    --purple:#8b5cf6;

}

body{

    font-family:'Poppins',sans-serif;
    background:#f4f7fb;
    color:#1e293b;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

/* =====================================
        LOGIN PAGE
===================================== */

.login-page{

    min-height:100vh;
    background:#eef3fa;

}

.login-container{

    display:grid;
    grid-template-columns:55% 45%;
    min-height:100vh;

}

.login-left{

    position:relative;

    background:url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80");

    background-size:cover;
    background-position:center;

}

.login-left .overlay{

    position:absolute;
    inset:0;

    background:rgba(9,18,35,.75);

}

.login-left .content{

    position:relative;
    z-index:2;

    color:#fff;

    padding:80px;

}

.login-left h1{

    font-size:42px;
    margin-bottom:20px;

}

.login-left h2{

    font-size:30px;
    margin-bottom:20px;

}

.login-left p{

    line-height:1.8;
    margin-bottom:35px;

}

.login-features div{

    margin-bottom:18px;

}

.login-features i{

    color:#22c55e;
    margin-right:10px;

}

/* =====================================
        LOGIN CARD
===================================== */

.login-right{

    display:flex;
    justify-content:center;
    align-items:center;

}

.login-card{

    width:420px;
    background:#fff;

    border-radius:20px;

    padding:45px;

    box-shadow:0 20px 50px rgba(0,0,0,.08);

}

.login-card .logo{

    width:80px;
    height:80px;

    margin:auto;

    border-radius:50%;

    background:#2563eb;

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:34px;

    margin-bottom:25px;

}

.login-card h2{

    text-align:center;
    margin-bottom:10px;

}

.login-card p{

    text-align:center;
    color:#64748b;
    margin-bottom:25px;

}

.form-group{

    margin-bottom:20px;

}

.form-group label{

    display:block;
    margin-bottom:8px;
    font-weight:600;

}

.form-group input{

    width:100%;

    height:52px;

    border:1px solid #ddd;

    border-radius:10px;

    padding:0 15px;

    outline:none;

}

.password-box{

    position:relative;

}

.password-box i{

    position:absolute;
    right:18px;
    top:18px;

    cursor:pointer;

    color:#888;

}

.remember{

    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:25px;

    font-size:14px;

}

.remember a{

    color:#2563eb;

}

.login-btn{

    width:100%;
    height:55px;

    border:none;

    background:#2563eb;

    color:#fff;

    border-radius:10px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.login-btn:hover{

    background:#174ec5;

}

.demo{

    margin-top:25px;

    background:#f5f8ff;

    border-radius:12px;

    padding:18px;

}

.demo strong{

    display:block;
    margin-bottom:10px;

}

/* =====================================
        ADMIN LAYOUT
===================================== */

.admin-wrapper{

    display:flex;

}

.sidebar{

    width:270px;

    min-height:100vh;

    background:#0f172a;

    color:#fff;

    position:fixed;

    left:0;
    top:0;

}

.sidebar-logo{

    padding:30px;

    font-size:22px;

    font-weight:700;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.sidebar-logo i{

    color:#facc15;
    margin-right:10px;

}

.sidebar-menu{

    padding:20px;

}

.sidebar-menu li{

    margin-bottom:12px;

}

.sidebar-menu a{

    display:flex;
    align-items:center;

    gap:15px;

    color:#cbd5e1;

    padding:14px 18px;

    border-radius:12px;

    transition:.3s;

}

.sidebar-menu li.active a,

.sidebar-menu a:hover{

    background:#2563eb;

    color:#fff;

}

.main-content{

    margin-left:270px;

    width:calc(100% - 270px);

    padding:35px;

}

/* =====================================
        TOPBAR
===================================== */

.topbar{

    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:35px;

}

.top-right{

    display:flex;
    align-items:center;
    gap:20px;

}

.search-box{

    width:300px;

    height:50px;

    background:#fff;

    border-radius:10px;

    display:flex;
    align-items:center;

    padding:0 18px;

}

.search-box input{

    width:100%;

    border:none;

    outline:none;

    margin-left:10px;

}

.admin-profile{

    display:flex;
    align-items:center;
    gap:15px;

}

.admin-profile img{

    width:50px;
    height:50px;

    border-radius:50%;

}

/* =====================================
        DASHBOARD CARDS
===================================== */

.dashboard-cards{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

    margin-bottom:35px;

}

.card{

    background:#fff;

    border-radius:18px;

    padding:25px;

    display:flex;

    align-items:center;

    gap:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.card .icon{

    width:70px;
    height:70px;

    border-radius:16px;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:28px;

    color:#fff;

}

.blue{

    background:#2563eb;

}

.green{

    background:#22c55e;

}

.orange{

    background:#f59e0b;

}

.purple{

    background:#8b5cf6;

}

.card h3{

    font-size:30px;

}

.card p{

    color:#64748b;

}

/* =====================================
        QUICK STATS
===================================== */

.quick-stats{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

    margin-bottom:35px;

}

.stat-box{

    background:#fff;

    border-radius:18px;

    padding:30px;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.stat-box h4{

    color:#64748b;

    margin-bottom:15px;

}

.stat-box h2{

    font-size:38px;

    margin-bottom:10px;

}

.stat-box span{

    color:#22c55e;

    font-size:14px;

}
/* =====================================
        CHARTS
===================================== */

.dashboard-grid{

    display:grid;
    grid-template-columns:2fr 1fr;
    gap:25px;
    margin-bottom:35px;

}

.chart-card,
.activity-card{

    background:#fff;
    border-radius:18px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.chart-card h3,
.activity-card h3{

    margin-bottom:25px;

}

.activity-card ul{

    list-style:none;

}

.activity-card li{

    padding:14px 0;
    border-bottom:1px solid #eee;
    color:#475569;

}

.activity-card li:last-child{

    border-bottom:none;

}

/* =====================================
        TABLE
===================================== */

.recent-bookings{

    background:#fff;
    border-radius:18px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    margin-bottom:30px;

}

.table-header{

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;

}

.table-actions{

    display:flex;
    gap:15px;

}

.table-actions input{

    width:260px;
    height:45px;
    border:1px solid #ddd;
    border-radius:10px;
    padding:0 15px;
    outline:none;

}

.export-btn{

    background:#2563eb;
    color:#fff;
    border:none;
    padding:0 22px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;

}

.export-btn:hover{

    background:#174ec5;

}

.table-responsive{

    overflow:auto;

}

table{

    width:100%;
    border-collapse:collapse;

}

table thead{

    background:#f8fafc;

}

table th{

    padding:18px;
    text-align:left;
    font-size:14px;
    color:#475569;
    white-space:nowrap;

}

table td{

    padding:18px;
    border-top:1px solid #eef2f7;
    white-space:nowrap;

}

tbody tr{

    transition:.3s;

}

tbody tr:hover{

    background:#f8fbff;

}

/* =====================================
        STATUS
===================================== */

.status{

    display:inline-block;
    padding:8px 16px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;

}

.pending{

    background:#fff7e6;
    color:#f59e0b;

}

.confirmed{

    background:#ecfdf5;
    color:#22c55e;

}

.completed{

    background:#e0f2fe;
    color:#0284c7;

}

.cancelled{

    background:#fee2e2;
    color:#dc2626;

}

/* =====================================
        BUTTONS
===================================== */

.view-btn{

    background:#2563eb;
    color:#fff;
    border:none;
    padding:9px 16px;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;

}

.view-btn:hover{

    background:#174ec5;

}

.edit-btn{

    background:#22c55e;
    color:#fff;
    border:none;
    padding:9px 16px;
    border-radius:8px;
    cursor:pointer;
    margin-right:8px;

}

.delete-btn{

    background:#ef4444;
    color:#fff;
    border:none;
    padding:9px 16px;
    border-radius:8px;
    cursor:pointer;

}

/* =====================================
        MODAL
===================================== */

.modal{

    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;

}

.modal-content{

    width:650px;
    max-width:95%;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    animation:popup .35s ease;

}

@keyframes popup{

    from{

        transform:translateY(40px);
        opacity:0;

    }

    to{

        transform:translateY(0);
        opacity:1;

    }

}

.modal-header{

    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 25px;
    background:#2563eb;
    color:#fff;

}

.modal-header span{

    cursor:pointer;
    font-size:30px;

}

.modal-body{

    padding:30px;

}

.detail-item{

    display:flex;
    justify-content:space-between;
    padding:15px 0;
    border-bottom:1px solid #eee;

}

.detail-item:last-child{

    border-bottom:none;

}

/* =====================================
        FOOTER
===================================== */

.admin-footer{

    text-align:center;
    padding:25px;
    color:#64748b;
    font-size:14px;

}

/* =====================================
        SCROLLBAR
===================================== */

::-webkit-scrollbar{

    width:8px;
    height:8px;

}

::-webkit-scrollbar-thumb{

    background:#2563eb;
    border-radius:30px;

}

/* =====================================
        RESPONSIVE
===================================== */

@media(max-width:1200px){

.dashboard-cards{

grid-template-columns:repeat(2,1fr);

}

.quick-stats{

grid-template-columns:1fr;

}

.dashboard-grid{

grid-template-columns:1fr;

}

}

@media(max-width:992px){

.sidebar{

left:-270px;
transition:.35s;

}

.sidebar.active{

left:0;

}

.main-content{

margin-left:0;
width:100%;

}

.topbar{

flex-direction:column;
align-items:flex-start;
gap:20px;

}

.top-right{

width:100%;
flex-direction:column;

}

.search-box{

width:100%;

}

.dashboard-cards{

grid-template-columns:1fr;

}

}

@media(max-width:768px){

.table-header{

flex-direction:column;
align-items:flex-start;
gap:15px;

}

.table-actions{

width:100%;
flex-direction:column;

}

.table-actions input{

width:100%;

}

.modal-content{

width:95%;

}

.login-container{

grid-template-columns:1fr;

}

.login-left{

display:none;

}

.login-card{

width:92%;

}

}