/* =====================================================
   GLOBAL
===================================================== */

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f8f9fa;
}


/* =====================================================
   HERO SECTION
===================================================== */

.hero-section {
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
    color: white;
    padding: 80px 0;
}

    .hero-section h1 {
        line-height: 1.2;
    }

.hero-card {
    background: rgba(255, 255, 255, .1);
    padding: 50px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}


/* =====================================================
   COURSE CARD
===================================================== */

.course-card {
    border: 0;
    border-radius: 15px;
    transition: .25s;
}

    .course-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    }

.course-icon {
    width: 80px;
    height: 80px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d6efd;
    color: white;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
}


/* =====================================================
   WHY SECTION
===================================================== */

.why-section {
    background: white;
}

.feature-box {
    padding: 20px;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 12px;
}


/* =====================================================
   CTA
===================================================== */

.cta-section {
    background: #0d6efd;
}


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

.footer-link {
    color: white;
    text-decoration: none;
}

    .footer-link:hover {
        color: #ffc107;
    }


/* =====================================================
   NAVIGATION
===================================================== */

.nav-link {
    font-weight: 500;
}

    .nav-link:hover {
        color: #ffc107 !important;
    }


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

.logo-circle {
    width: 45px;
    height: 45px;
    border-radius: 20%;
    object-fit: cover;
}

.logo-circle-1 {
    width: 180px;
    height: 180px;
    border-radius: 10%;
    object-fit: cover;
}


/* =====================================================
   LOGIN PAGE
===================================================== */

.login-container {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}


.login-card {
    width: 100%;
    max-width: 430px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}


/* =====================================================
   LOGIN HEADER
===================================================== */

.login-header {
    background: linear-gradient( 135deg, #0d6efd, #6610f2 );
    color: white;
    padding: 28px 20px;
    text-align: center;
}


    .login-header h2 {
        margin: 0;
        font-size: 28px;
        font-weight: 700;
    }


    .login-header p {
        margin: 7px 0 0;
        font-size: 14px;
        opacity: 0.9;
    }


/* =====================================================
   LOGIN BODY
===================================================== */

.login-body {
    padding: 30px;
}


    .login-body .form-floating {
        margin-bottom: 18px;
    }


    .login-body .form-control {
        height: 58px;
        border-radius: 12px;
        border: 1px solid #d9dee7;
        padding-left: 15px;
        transition: all 0.25s ease;
    }


        .login-body .form-control:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
        }


    .login-body .form-floating > label {
        color: #6c757d;
    }


    .login-body .form-check {
        margin-top: 5px;
    }


    .login-body .form-check-input {
        cursor: pointer;
    }


    .login-body .form-check-label {
        cursor: pointer;
        color: #555;
    }


/* =====================================================
   LOGIN BUTTON
===================================================== */

.login-btn {
    height: 52px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    background: linear-gradient( 135deg, #0d6efd, #6610f2 );
    transition: all 0.3s ease;
}


    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
    }


/* =====================================================
   LOGIN LINKS
===================================================== */

.login-links {
    text-align: center;
    margin-top: 22px;
}


    .login-links a {
        color: #0d6efd;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }


        .login-links a:hover {
            color: #6610f2;
            text-decoration: underline;
        }


/* =====================================================
   PASSWORD FIELD
===================================================== */

.password-field {
    position: relative;
}


    .password-field .password-input {
        padding-right: 55px !important;
    }


/* =====================================================
   PASSWORD SHOW / HIDE BUTTON
===================================================== */

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    border-radius: 6px;
    transition: all 0.2s ease;
}


    .password-toggle-btn:hover {
        background-color: #e9ecef;
        color: #0d6efd;
    }


    .password-toggle-btn svg {
        display: block;
        width: 20px;
        height: 20px;
    }


    .password-toggle-btn:focus {
        outline: none;
        box-shadow: none;
    }


    .password-toggle-btn:active {
        transform: translateY(-50%) scale(0.95);
    }


/* =====================================================
   COMMON ADMIN SIDEBAR
   SAME ON ALL ADMIN PAGES
===================================================== */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 245px;
    background: #ffffff;
    border-right: 1px solid #e6ebf2;
    z-index: 1000;
    overflow-y: auto;
}


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

.sidebar-logo {
    height: 92px;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #edf0f5;
}


.logo-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 13px;
    background: #eaf2ff;
    color: #1769e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}


    .logo-icon i {
        font-size: 25px;
    }


.logo-text strong {
    display: block;
    color: #123b76;
    font-size: 18px;
    font-weight: 800;
}


.logo-text span {
    display: block;
    color: #7c8799;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .7px;
    margin-top: 4px;
}


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

.sidebar-menu {
    padding: 20px 10px 80px;
}


.menu-title {
    color: #a0a8b7;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    padding: 0 15px 10px;
}


.menu-item {
    min-height: 45px;
    margin-bottom: 5px;
    padding: 0 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    color: #59677d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}


    .menu-item i {
        width: 25px;
        margin-right: 10px;
        font-size: 17px;
    }


    .menu-item:hover {
        background: #f1f5ff;
        color: #1769e0;
    }


    .menu-item.active {
        background: #eaf2ff;
        color: #1769e0;
    }


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

.sidebar::-webkit-scrollbar {
    width: 7px;
}


.sidebar::-webkit-scrollbar-thumb {
    background: #aeb5bf;
    border-radius: 10px;
}


.sidebar::-webkit-scrollbar-track {
    background: transparent;
}


/* =====================================================
   ADMIN PAGE CONTENT
===================================================== */

.admin-page-content {
    margin-left: 245px;
    min-height: 100vh;
    padding: 22px;
    background: #f5f7fb;
}


/* =====================================================
   LOGIN MOBILE RESPONSIVE
===================================================== */

@media (max-width: 576px) {

    .login-container {
        padding: 20px 10px;
    }

    .login-card {
        border-radius: 16px;
    }

    .login-body {
        padding: 24px 20px;
    }

    .login-header {
        padding: 24px 15px;
    }

        .login-header h2 {
            font-size: 24px;
        }

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

    .login-body .form-control {
        height: 55px;
    }

    .login-btn {
        height: 50px;
        font-size: 16px;
    }
}


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

@media (max-width: 900px) {

    .sidebar {
        width: 70px;
    }


    .sidebar-logo {
        justify-content: center;
        padding: 10px;
    }


    .logo-icon {
        margin-right: 0;
    }


    .logo-text {
        display: none;
    }


    .menu-title {
        display: none;
    }


    .menu-item {
        justify-content: center;
        padding: 0;
    }


        .menu-item i {
            margin-right: 0;
        }


        .menu-item span {
            display: none;
        }


    .admin-page-content {
        margin-left: 70px;
    }
}


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

@media (max-width: 500px) {

    .sidebar {
        display: none;
    }


    .admin-page-content {
        margin-left: 0;
        padding: 15px;
    }
}
