/* ==================================================
   SUPER COLORFUL LOGIN UI – PREMIUM EDITION
   100% CUSTOM • NO COPYRIGHT • 2025 TREND
================================================== */

:root{
    --blue:#4f46e5;
    --purple:#7c3aed;
    --pink:#ec4899;
    --cyan:#06b6d4;
    --bg:#f3f4f6;
    --text:#1f2937;
    --muted:#6b7280;
    --radius:20px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins','Inter',sans-serif;
}

/* ================= BACKGROUND ================= */
body{
    min-height:100vh;
    background:
        radial-gradient(circle at top left,#7c3aed33,transparent 40%),
        radial-gradient(circle at bottom right,#06b6d433,transparent 40%),
        linear-gradient(135deg,#eef2ff,#fdf4ff);
    display:flex;
    flex-direction:column;
    color:var(--text);
}

/* ================= NAVBAR ================= */
.navbar{
    background:#ffffff;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.nav-container{
    max-width:1200px;
    margin:auto;
    padding:14px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    font-size:20px;
    font-weight:700;
    color:var(--text);
}

.logo img{height:36px}

/* ================= LOGIN AREA ================= */
.login-container{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 16px;
}

/* ================= CARD ================= */
.login-card{
    width:100%;
    max-width:440px;
    background:#ffffff;
    border-radius:var(--radius);
    box-shadow:
        0 40px 80px rgba(0,0,0,.15),
        inset 0 0 0 1px #e5e7eb;
    overflow:hidden;
    animation:slideUp .7s ease;
}

/* ================= HEADER ================= */
.login-header{
    background:linear-gradient(135deg,var(--blue),var(--purple),var(--pink));
    padding:42px 24px;
    text-align:center;
    color:#ffffff;
}

.login-header h1{
    font-size:30px;
    font-weight:700;
}

.login-header p{
    margin-top:8px;
    font-size:14px;
    opacity:.9;
}

/* ================= BODY ================= */
.login-body{
    padding:32px 28px 36px;
}

/* ================= FORM ================= */
.form-group{margin-bottom:18px;}

.form-label{
    font-size:14px;
    font-weight:600;
    color:var(--text);
    margin-bottom:6px;
    display:block;
}

.form-control{
    width:100%;
    padding:15px 16px;
    border-radius:14px;
    border:1px solid #e5e7eb;
    font-size:14px;
    background:#f9fafb;
    transition:.25s;
}

.form-control::placeholder{color:#9ca3af}

.form-control:focus{
    outline:none;
    background:#ffffff;
    border-color:var(--purple);
    box-shadow:0 0 0 4px #7c3aed22;
}

/* ================= PASSWORD ================= */
.password-input{position:relative;}

.toggle-password{
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    background:none;
    border:none;
    cursor:pointer;
    color:#9ca3af;
}

/* ================= OPTIONS ================= */
.form-options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:16px 0 24px;
    font-size:13px;
}

.remember-me{
    display:flex;
    align-items:center;
    gap:8px;
}

.remember-me label{color:var(--muted)}

.forgot-password{
    color:var(--blue);
    font-weight:600;
    text-decoration:none;
}

/* ================= BUTTON ================= */
.login-btn{
    width:100%;
    padding:16px;
    border:none;
    border-radius:16px;
    background:linear-gradient(135deg,var(--blue),var(--cyan));
    color:#ffffff;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.login-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 40px rgba(79,70,229,.35);
}

/* ================= REGISTER ================= */
.register-link{
    margin-top:22px;
    text-align:center;
    font-size:14px;
    color:var(--muted);
}

.register-link a{
    color:var(--purple);
    font-weight:600;
    text-decoration:none;
}

/* ================= FOOTER ================= */
.footer{
    text-align:center;
    padding:16px;
    font-size:13px;
    color:#6b7280;
}

/* ================= ANIMATION ================= */
@keyframes slideUp{
    from{opacity:0;transform:translateY(40px)}
    to{opacity:1;transform:translateY(0)}
}

/* ================= MOBILE ================= */
@media(max-width:768px){
    .login-card{border-radius:16px}
    .login-body{padding:28px 22px}
}
/* ================= HEADER / NAVBAR ================= */

.navbar{
    background:#ffffff;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:1000;
}

.nav-container{
    max-width:1200px;
    margin:auto;
    padding:14px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* LOGO */
.logo{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:20px;
    font-weight:700;
    color:#1f2937;
    text-decoration:none;
}

.logo img{
    height:36px;
}

/* NAV LINKS */
.nav-links{
    display:flex;
    align-items:center;
    gap:22px;
    list-style:none;      /* 🔥 bullet remove */
    margin:0;
    padding:0;
}

.nav-links li{
    list-style:none;
}

.nav-links a{
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    color:#4b5563;
    padding:8px 14px;
    border-radius:10px;
    transition:.25s;
}

.nav-links a:hover,
.nav-links a.active{
    color:#4f46e5;
    background:#eef2ff;
}

/* MOBILE ICON */
.mobile-toggle{
    display:none;
    background:none;
    border:none;
    font-size:26px;
    cursor:pointer;
    color:#1f2937;
}

/* ================= MOBILE ================= */
@media(max-width:768px){

    .mobile-toggle{
        display:block !important;
        font-size: 24px;
        color: #4f46e5;
        padding: 8px;
        border-radius: 8px;
        transition: all 0.3s ease;
        cursor: pointer;
        background: rgba(79, 70, 229, 0.05);
    }

    .mobile-toggle:hover {
        background: rgba(79, 70, 229, 0.15);
        transform: scale(1.05);
    }

    .nav-links{
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #4f46e5, #7c3aed);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 80px 20px 20px;
        box-shadow: -10px 0 40px rgba(0,0,0,.3);
        z-index: 999;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex !important;
    }

    .nav-links.active{
        right: 0;
    }

    .nav-links a{
        width: 100%;
        padding: 16px 20px;
        border-radius: 12px;
        color: rgba(255,255,255,0.95);
        font-weight: 500;
        font-size: 15px;
        transition: all 0.3s ease;
        border: 1px solid rgba(255,255,255,0.2);
        margin-bottom: 10px;
        text-decoration: none;
        display: block;
    }

    .nav-links a:hover,
    .nav-links a.active{
        background: rgba(255,255,255,0.25);
        color: white;
        transform: translateX(8px);
        border-color: rgba(255,255,255,0.4);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .nav-links a.nav-cta {
        background: rgba(255,255,255,0.3) !important;
        color: white !important;
        border-color: rgba(255,255,255,0.5) !important;
        font-weight: 600 !important;
        margin-top: 15px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    }

    .nav-links a.nav-cta:hover {
        background: rgba(255,255,255,0.4) !important;
        transform: translateX(8px) scale(1.02);
        box-shadow: 0 6px 25px rgba(0,0,0,0.2) !important;
    }

    /* Add overlay when menu is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 998;
        backdrop-filter: blur(8px);
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

@media(max-width:480px){

    .nav-links{
        width: 260px;
        right: -280px;
        padding: 70px 15px 15px;
    }

    .nav-links a{
        padding: 14px 16px;
        font-size: 14px;
        margin-bottom: 8px;
    }

    .mobile-toggle{
        font-size: 20px;
        padding: 6px;
    }

    .nav-container {
        padding: 12px 16px;
    }
}

