/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #050505;
    color: #fff;
    overflow-x: hidden;
}


/* ==========================================
   DASHBOARD LAYOUT
========================================== */

.main-content {
    margin-left: 280px;
    width: calc(100% - 280px);
    min-height: 100vh;
    padding: 45px;
}


/* ==========================================
   SIDEBAR
========================================== */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    padding: 30px 20px;
    background: #111;
    border-right: 1px solid #222;
    z-index: 1000;
    overflow-y: auto;
}


/* ==========================================
   LOGO
========================================== */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 50px;
}

.logo-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #0B5ED7;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
}

.logo-text h2 {
    color: #fff;
    font-size: 18px;
}

.logo-text p {
    color: #D4AF37;
    font-size: 12px;
}


/* ==========================================
   SIDEBAR MENU
========================================== */

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 12px;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.sidebar-menu li a i {
    width: 22px;
    text-align: center;
}

.sidebar-menu li:hover a,
.sidebar-menu li.active a {
    background: #0B5ED7;
    color: #fff;
}


/* ==========================================
   MOBILE MENU BUTTON
========================================== */

.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 8px;
    background: #0B5ED7;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 2000;
}


/* ==========================================
   PAGE HEADER
========================================== */

.page-header {
    margin-bottom: 35px;
}

.page-header span {
    display: inline-block;
    padding: 8px 18px;
    margin-bottom: 15px;
    border-radius: 25px;
    background: #0B5ED7;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.page-header p {
    color: #aaa;
    font-size: 15px;
}


/* ==========================================
   APPLICATION STATISTICS
========================================== */

.application-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px;
    background: #111;
    border: 1px solid #222;
    border-radius: 15px;
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #0B5ED7;
}

.stat-card > i {
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: #0B5ED7;
    color: #fff;
    font-size: 21px;
}

.stat-card h2 {
    font-size: 28px;
    margin-bottom: 3px;
}

.stat-card p {
    color: #aaa;
    font-size: 13px;
}


/* ==========================================
   APPLICATION CARD
========================================== */

.applications-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 40px;
}


/* ==========================================
   CARD HEADER
========================================== */

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.card-header h2 {
    font-size: 23px;
    margin-bottom: 5px;
}

.card-header p {
    color: #999;
    font-size: 13px;
}


/* ==========================================
   FILTER
========================================== */

#statusFilter {
    min-width: 180px;
    padding: 12px 15px;
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
}

#statusFilter:focus {
    border-color: #0B5ED7;
}


/* ==========================================
   TABLE
========================================== */

.table-container {
    width: 100%;
    overflow-x: auto;
}

.applications-table {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
}

.applications-table th {
    padding: 16px;
    text-align: left;
    background: #181818;
    color: #D4AF37;
    font-size: 13px;
    font-weight: 600;
}

.applications-table td {
    padding: 18px 16px;
    border-bottom: 1px solid #242424;
    color: #ccc;
    font-size: 13px;
}

.applications-table tbody tr {
    transition: 0.3s;
}

.applications-table tbody tr:hover {
    background: #171717;
}

.applications-table strong {
    color: #fff;
    font-weight: 500;
}


/* ==========================================
   STATUS
========================================== */

.status {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.status.pending {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
}

.status.accepted {
    background: rgba(52, 199, 89, 0.15);
    color: #34c759;
}

.status.rejected {
    background: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
}


/* ==========================================
   VIEW BUTTON
========================================== */

.view-btn {
    padding: 8px 18px;
    border: none;
    border-radius: 7px;
    background: #0B5ED7;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.view-btn:hover {
    background: #D4AF37;
    color: #050505;
}


/* ==========================================
   FOOTER
========================================== */

.dashboard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 30px 0;
    border-top: 1px solid #222;
    color: #aaa;
}

.dashboard-footer h3 {
    color: #fff;
    font-size: 17px;
}

.dashboard-footer p {
    font-size: 12px;
    margin-top: 4px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #151515;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-social a:hover {
    background: #0B5ED7;
    transform: translateY(-3px);
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {

    .application-stats {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 992px) {

    .menu-toggle {
        display: block;
    }

    .sidebar {
        left: -280px;
        transition: 0.35s;
    }

    .sidebar.active {
        left: 0;
    }

    .main-content {
        width: 100%;
        margin-left: 0;
        padding: 90px 25px 30px;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 600px) {

    .main-content {
        padding: 85px 15px 25px;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .page-header p {
        font-size: 13px;
    }

    .application-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 20px;
    }

    .applications-card {
        padding: 20px 15px;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    #statusFilter {
        width: 100%;
    }

    .dashboard-footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

}


/* ==========================================
   VERY SMALL SCREEN
========================================== */

@media (max-width: 400px) {

    .page-header h1 {
        font-size: 26px;
    }

    .stat-card h2 {
        font-size: 24px;
    }

    .logo-text h2 {
        font-size: 16px;
    }

}