/* ============================================================
   SMART SEVA NETWORK - PAN PORTAL
   Main Stylesheet
   ============================================================ */

/* ===== ROOT COLORS ===== */
:root {
    /* Background Colors */
    --bg-dark: #0d1c2a;
    --bg-teal-1: #142b3b;
    --bg-teal-2: #173544;
    --bg-card: rgba(9, 31, 43, 0.92);
    
    /* Accent Colors */
    --sky-blue: #9be8fa;
    --cyan-1: #079dc4;
    --cyan-2: #1ab8da;
    --cyan-glow: rgba(35, 211, 239, 0.40);
    
    /* Text Colors */
    --white: #ffffff;
    --text-light: rgba(215, 229, 235, 0.63);
    --text-bright: rgba(221, 233, 238, 0.82);
    
    /* Utility Colors */
    --pink: #c65d86;
    --green: #45e99b;
    --input-bg-1: #d9f3fa;
    --input-bg-2: #c8eaf4;
    --input-text: #1e3039;
    
    /* Borders */
    --border-light: rgba(137, 190, 204, 0.22);
    --border-medium: rgba(160, 195, 207, 0.18);
    
    /* Fonts */
    --font-main: 'Inter', Arial, sans-serif;
}

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

html, body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: var(--font-main);
    background:
        radial-gradient(circle at 75% 70%, rgba(28, 94, 113, 0.25), transparent 36%),
        radial-gradient(circle at 15% 25%, rgba(20, 62, 82, 0.24), transparent 40%),
        linear-gradient(118deg, var(--bg-dark) 0%, var(--bg-teal-1) 48%, var(--bg-teal-2) 100%);
    background-attachment: fixed;
    color: var(--white);
    min-height: 100vh;
}

/* ===== TOP PINK LINE ===== */
.top-line {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--pink);
    z-index: 1000;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(13, 28, 42, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
    margin-top: 4px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #e8faff 0%, #9bd5e4 58%, #376c7b 100%);
    border: 2px solid rgba(255,255,255,0.7);
    box-shadow: 0 0 13px rgba(122,221,243,0.28);
}

.logo-icon i {
    font-size: 20px;
    color: #0a3045;
}

.logo-text h2 {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.logo-text p {
    font-size: 10px;
    color: var(--text-light);
    margin-top: 2px;
}

/* ===== NAV MENU ===== */
.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    color: var(--text-bright);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.25s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--sky-blue);
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sky-blue);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* ===== HEADER BUTTONS ===== */
.header-buttons {
    display: flex;
    gap: 10px;
}

/* ===== BUTTONS (80% width, center) ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--cyan-1), var(--cyan-2));
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 171, 213, 0.18);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 171, 213, 0.35);
}

.btn-outline {
    background: rgba(0, 169, 202, 0.08);
    border: 1px solid rgba(32, 194, 222, 0.30);
    color: #b9edf7;
}

.btn-outline:hover {
    color: var(--white);
    background: linear-gradient(135deg, rgba(7, 172, 207, 0.25), rgba(22, 207, 235, 0.12));
    border-color: #35d4ef;
    box-shadow: 0 0 9px var(--cyan-glow);
    transform: translateY(-2px);
}

.btn-block {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CARD ===== */
.card {
    background: linear-gradient(145deg, var(--bg-card), rgba(8, 27, 38, 0.82));
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.35);
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    top: 0; left: 40px; right: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--sky-blue), transparent);
    box-shadow: 0 0 9px rgba(121, 221, 242, 0.65);
    border-radius: 2px;
}

/* ===== INPUT FIELDS ===== */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-bright);
    font-size: 12px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    height: 44px;
    padding: 0 15px;
    border-radius: 8px;
    border: 1px solid rgba(143, 221, 238, 0.42);
    background: linear-gradient(135deg, var(--input-bg-1) 0%, var(--input-bg-2) 100%);
    color: var(--input-text);
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 500;
    outline: none;
    transition: all 0.22s ease;
}

.form-input::placeholder {
    color: #68828c;
}

.form-input:focus {
    border-color: #35d2ef;
    background: linear-gradient(135deg, #e1f8fc 0%, #d0f0f6 100%);
    box-shadow: 0 0 0 2px rgba(35, 207, 237, 0.13), 0 0 12px rgba(35, 207, 237, 0.08);
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-sky { color: var(--sky-blue); }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }
    .main-nav {
        display: none;
    }
    .logo-text h2 { font-size: 15px; }
    .btn { padding: 8px 18px; font-size: 11px; }
}
/* ===== FOOTER ===== */
.site-footer {
    background: rgba(13, 28, 42, 0.85);
    border-top: 1px solid var(--border-light);
    padding: 25px 0;
    margin-top: 60px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-copy {
    color: var(--text-light);
    font-size: 12px;
}

.footer-copy strong {
    color: var(--sky-blue);
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--sky-blue);
}

@media (max-width: 560px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
/* ===== HERO SECTION ===== */
.hero-section {
    padding: 80px 0 60px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-bright);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.hero-features span {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-features i {
    color: var(--sky-blue);
    font-size: 11px;
}

.hero-desc {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 14px 32px;
    font-size: 14px;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 40px 0 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(9, 31, 43, 0.85), rgba(8, 27, 38, 0.75));
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(155, 232, 250, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 25px rgba(35, 211, 239, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(155, 232, 250, 0.2), rgba(7, 157, 196, 0.1));
    border: 1px solid rgba(155, 232, 250, 0.3);
    margin: 0 auto 18px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: radial-gradient(circle, rgba(155, 232, 250, 0.3), rgba(7, 157, 196, 0.2));
    box-shadow: 0 0 20px rgba(35, 211, 239, 0.4);
}

.feature-icon i {
    font-size: 24px;
    color: var(--sky-blue);
}

.feature-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== RESPONSIVE (Hero + Features) ===== */
@media (max-width: 768px) {
    .hero-section { padding: 50px 0 40px; }
    .hero-title { font-size: 34px; }
    .hero-subtitle { font-size: 16px; }
    .hero-desc { font-size: 13px; }
    .hero-buttons .btn { padding: 12px 24px; font-size: 13px; }
    .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .features-grid { grid-template-columns: 1fr; }
}
/* ===== FIX: FEATURES GRID ===== */
.features-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== FIX: SECTION SPACING ===== */
.hero-section {
    padding: 70px 0 50px !important;
}

.features-section {
    padding: 50px 0 70px !important;
    margin-top: 20px;
}

/* ===== FEATURE CARDS - BETTER LOOK ===== */
.feature-card {
    padding: 35px 22px !important;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.feature-card h3 {
    font-size: 16px !important;
    margin-bottom: 10px !important;
}

.feature-card p {
    font-size: 13px !important;
    line-height: 1.6 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 560px) {
    .features-grid {
        grid-template-columns: 1fr !important;
    }
    .hero-section {
        padding: 50px 0 30px !important;
    }
}
/* ===== SECTION HEADING ===== */
.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    color: var(--white);
}

.section-heading p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 40px 0;
    margin: 30px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 35px 30px;
    background: linear-gradient(145deg, rgba(9, 31, 43, 0.7), rgba(8, 27, 38, 0.6));
    border: 1px solid var(--border-light);
    border-radius: 16px;
    backdrop-filter: blur(14px);
    position: relative;
}

.stats-grid::before {
    content: "";
    position: absolute;
    top: 0; left: 40px; right: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--sky-blue), transparent);
    box-shadow: 0 0 9px rgba(121, 221, 242, 0.65);
    border-radius: 2px;
}

.stat-box {
    text-align: center;
    padding: 10px;
    border-right: 1px solid rgba(137, 190, 204, 0.15);
}

.stat-box:last-child {
    border-right: none;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--sky-blue);
    letter-spacing: -0.5px;
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(155, 232, 250, 0.3);
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== HOW IT WORKS ===== */
.how-section {
    padding: 60px 0;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.how-card {
    background: linear-gradient(145deg, rgba(9, 31, 43, 0.85), rgba(8, 27, 38, 0.75));
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.how-card:hover {
    transform: translateY(-5px);
    border-color: rgba(155, 232, 250, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 25px rgba(35, 211, 239, 0.1);
}

.how-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 42px;
    font-weight: 800;
    color: rgba(155, 232, 250, 0.1);
    letter-spacing: -2px;
}

.how-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(155, 232, 250, 0.2), rgba(7, 157, 196, 0.1));
    border: 1px solid rgba(155, 232, 250, 0.3);
    margin: 0 auto 20px;
}

.how-icon i {
    font-size: 28px;
    color: var(--sky-blue);
}

.how-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.how-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(145deg, rgba(9, 31, 43, 0.85), rgba(8, 27, 38, 0.75));
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 35px 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(155, 232, 250, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 25px rgba(35, 211, 239, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 26px;
    color: var(--white);
}

.service-icon.nsdl {
    background: linear-gradient(135deg, #079dc4, #1ab8da);
    box-shadow: 0 8px 20px rgba(0, 171, 213, 0.3);
}

.service-icon.uti {
    background: linear-gradient(135deg, #14b8a6, #06b6d4);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-bright);
    border-bottom: 1px solid rgba(137, 190, 204, 0.08);
}

.service-card ul li:last-child {
    border-bottom: none;
}

.service-card ul li i {
    color: var(--sky-blue);
    font-size: 12px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 60px 0 80px;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 40px;
    background: linear-gradient(145deg, rgba(7, 157, 196, 0.15), rgba(8, 27, 38, 0.85));
    border: 1px solid rgba(155, 232, 250, 0.3);
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: "";
    position: absolute;
    top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(155, 232, 250, 0.08), transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    position: relative;
}

.cta-box p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 30px;
    position: relative;
}

.cta-box .btn {
    padding: 14px 40px;
    font-size: 14px;
    position: relative;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-box { border-right: none; border-bottom: 1px solid rgba(137, 190, 204, 0.15); padding-bottom: 20px; }
    .stat-box:nth-child(3), .stat-box:nth-child(4) { border-bottom: none; padding-bottom: 10px; }
    .how-grid { grid-template-columns: 1fr; max-width: 400px; }
    .services-grid { grid-template-columns: 1fr; max-width: 450px; }
    .section-heading h2 { font-size: 28px; }
    .cta-box { padding: 40px 25px; }
    .cta-box h2 { font-size: 22px; }
}

@media (max-width: 560px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-box { border-bottom: 1px solid rgba(137, 190, 204, 0.15); padding-bottom: 15px; }
    .stat-box:last-child { border-bottom: none; }
    .stat-number { font-size: 26px; }
    .section-heading h2 { font-size: 24px; }
    .cta-box h2 { font-size: 20px; }
}
/* ===== FORM PAGE ===== */
.form-page {
    padding: 40px 0 60px;
    min-height: calc(100vh - 200px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 25px;
    transition: color 0.25s ease;
}

.back-link:hover {
    color: var(--sky-blue);
}

.form-page-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.form-page-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 35px;
}

/* ===== STEP PROGRESS ===== */
.steps-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    padding: 25px;
    background: linear-gradient(145deg, rgba(9, 31, 43, 0.7), rgba(8, 27, 38, 0.6));
    border: 1px solid var(--border-light);
    border-radius: 14px;
    backdrop-filter: blur(10px);
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    flex: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid rgba(137, 190, 204, 0.3);
    background: rgba(13, 28, 42, 0.8);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.step-item.active .step-circle {
    background: linear-gradient(135deg, #079dc4, #1ab8da);
    border-color: #35d4ef;
    color: var(--white);
    box-shadow: 0 0 15px rgba(35, 211, 239, 0.5);
}

.step-item.completed .step-circle {
    background: linear-gradient(135deg, #45e99b, #14b8a6);
    border-color: #45e99b;
    color: var(--white);
}

.step-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-item.active .step-label {
    color: var(--sky-blue);
}

.step-item.completed .step-label {
    color: #45e99b;
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(137, 190, 204, 0.2);
    margin: 0 -10px;
    margin-bottom: 22px;
}

/* ===== FORM CARD ===== */
.form-card {
    max-width: 850px;
    margin: 0 auto;
    padding: 35px 40px;
    background: linear-gradient(145deg, rgba(9, 31, 43, 0.92), rgba(8, 27, 38, 0.82));
    border: 1px solid var(--border-light);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.35);
    position: relative;
}

.form-card::before {
    content: "";
    position: absolute;
    top: 0; left: 40px; right: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--sky-blue), transparent);
    box-shadow: 0 0 9px rgba(121, 221, 242, 0.65);
    border-radius: 2px;
}

.form-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(137, 190, 204, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row.single {
    grid-template-columns: 1fr;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-bright);
    font-size: 12px;
    font-weight: 600;
}

.form-group label .required {
    color: #ff6b6b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    height: 46px;
    padding: 0 15px;
    border-radius: 8px;
    border: 1px solid rgba(143, 221, 238, 0.42);
    background: linear-gradient(135deg, #d9f3fa 0%, #c8eaf4 100%);
    color: #1e3039;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 500;
    outline: none;
    transition: all 0.22s ease;
}

.form-group textarea {
    height: 90px;
    padding: 12px 15px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #35d2ef;
    box-shadow: 0 0 0 2px rgba(35, 207, 237, 0.13), 0 0 12px rgba(35, 207, 237, 0.08);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(137, 190, 204, 0.15);
}

.form-actions .btn {
    min-width: 140px;
}

/* ===== RESPONSIVE FORM ===== */
@media (max-width: 768px) {
    .form-card { padding: 25px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 15px; }
    .form-page-title { font-size: 24px; }
    .steps-wrapper { padding: 20px 10px; }
    .step-label { font-size: 9px; }
    .step-circle { width: 32px; height: 32px; font-size: 12px; }
    .form-actions { flex-direction: column-reverse; }
    .form-actions .btn { width: 100%; }
}
/* ===== LOGIN PAGE ===== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    margin-top: 4px;
}

.login-container {
    width: 100%;
    max-width: 460px;
}

.login-card {
    background: linear-gradient(145deg, rgba(9, 31, 43, 0.92), rgba(8, 27, 38, 0.82));
    border: 1px solid rgba(137, 190, 204, 0.22);
    border-radius: 20px;
    padding: 40px 38px 30px;
    backdrop-filter: blur(14px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.35);
    position: relative;
}

.login-card::before {
    content: "";
    position: absolute;
    top: 0; left: 40px; right: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #9be8fa, transparent);
    box-shadow: 0 0 9px rgba(121, 221, 242, 0.65);
    border-radius: 2px;
}

.login-logo {
    text-align: center;
    margin-bottom: 25px;
}

.login-logo .logo-icon-lg {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #e8faff 0%, #9bd5e4 58%, #376c7b 100%);
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 20px rgba(122, 221, 243, 0.3);
    margin-bottom: 15px;
}

.login-logo .logo-icon-lg i {
    font-size: 30px;
    color: #0a3045;
}

.login-logo h1 {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.login-logo p {
    font-size: 12px;
    color: rgba(215, 229, 235, 0.63);
}

.login-form .form-group {
    margin-bottom: 16px;
}

.login-form .form-label {
    display: block;
    margin-bottom: 7px;
    color: rgba(221, 233, 238, 0.82);
    font-size: 12px;
    font-weight: 600;
}

.login-form .form-input {
    width: 100%;
    height: 46px;
    padding: 0 15px;
    border-radius: 9px;
    border: 1px solid rgba(143, 221, 238, 0.42);
    background: linear-gradient(135deg, #d9f3fa 0%, #c8eaf4 100%);
    color: #1e3039;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 500;
    outline: none;
    transition: all 0.22s ease;
}

.login-form .form-input::placeholder {
    color: #68828c;
}

.login-form .form-input:focus {
    border-color: #35d2ef;
    background: linear-gradient(135deg, #e1f8fc 0%, #d0f0f6 100%);
    box-shadow: 0 0 0 2px rgba(35, 207, 237, 0.13), 0 0 12px rgba(35, 207, 237, 0.08);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 22px;
    font-size: 12px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(221, 233, 238, 0.75);
    cursor: pointer;
}

.remember-me input {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: #1ab8da;
}

.forgot-link {
    color: #9be8fa;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.forgot-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.login-btn {
    width: 70%;
    height: 42px;
    display: block;
    margin: 0 auto;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #079dc4, #1ab8da);
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 171, 213, 0.25);
    transition: all 0.25s ease;
}
    background: linear-gradient(90deg, #079dc4, #1ab8da);
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 171, 213, 0.25);
    transition: all 0.25s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 171, 213, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: rgba(215, 229, 235, 0.4);
    font-size: 11px;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(137, 190, 204, 0.2);
}

.login-register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: rgba(215, 229, 235, 0.63);
}

.login-register-link a {
    color: #9be8fa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
}

.login-register-link a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.login-footer {
    text-align: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(137, 185, 199, 0.12);
    font-size: 11px;
    color: rgba(196, 218, 227, 0.42);
    line-height: 1.6;
}

/* ===== ALERT MESSAGES ===== */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #fca5a5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 22px 22px;
    }
    .login-logo h1 {
        font-size: 20px;
    }
    .login-btn {
        width: 100%;
    }
}
/* ===== DASHBOARD LAYOUT ===== */
.dashboard-wrap {
    display: flex;
    min-height: 100vh;
    background:
        radial-gradient(circle at 75% 70%, rgba(28, 94, 113, 0.15), transparent 36%),
        radial-gradient(circle at 15% 25%, rgba(20, 62, 82, 0.14), transparent 40%),
        linear-gradient(118deg, #0d1c2a 0%, #142b3b 48%, #173544 100%);
    background-attachment: fixed;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 250px;
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(9, 31, 43, 0.95), rgba(8, 27, 38, 0.98));
    border-right: 1px solid rgba(137, 190, 204, 0.15);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    overflow-y: auto;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(137, 190, 204, 0.12);
    margin-bottom: 15px;
    text-decoration: none;
}

.sidebar-brand .logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #e8faff 0%, #9bd5e4 58%, #376c7b 100%);
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 13px rgba(122, 221, 243, 0.28);
    flex-shrink: 0;
}

.sidebar-brand .logo-circle i {
    font-size: 16px;
    color: #0a3045;
}

.sidebar-brand .brand-text h2 {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
    line-height: 1.1;
}

.sidebar-brand .brand-text p {
    font-size: 8px;
    color: rgba(215, 229, 235, 0.5);
    margin-top: 1px;
}

.sidebar-menu {
    list-style: none;
    padding: 0 12px;
}

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

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: rgba(221, 233, 238, 0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.22s ease;
}

.sidebar-menu a i {
    font-size: 15px;
    width: 18px;
    text-align: center;
    color: rgba(155, 232, 250, 0.6);
    transition: all 0.22s ease;
}

.sidebar-menu a:hover {
    background: rgba(7, 157, 196, 0.12);
    color: #ffffff;
}

.sidebar-menu a:hover i {
    color: #9be8fa;
}

.sidebar-menu a.active {
    background: linear-gradient(90deg, rgba(7, 157, 196, 0.3), rgba(7, 157, 196, 0.1));
    color: #ffffff;
    border-left: 3px solid #1ab8da;
    padding-left: 11px;
    box-shadow: 0 0 15px rgba(35, 211, 239, 0.15);
}

.sidebar-menu a.active i {
    color: #9be8fa;
}

.sidebar-menu .menu-divider {
    height: 1px;
    background: rgba(137, 190, 204, 0.12);
    margin: 10px 14px;
}

.sidebar-menu .logout-link {
    color: rgba(255, 145, 145, 0.75);
    margin-top: 5px;
}

.sidebar-menu .logout-link i {
    color: rgba(255, 145, 145, 0.6);
}

.sidebar-menu .logout-link:hover {
    background: rgba(220, 38, 38, 0.15);
    color: #fca5a5;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: 250px;
    flex: 1;
    padding: 25px 30px;
    min-height: 100vh;
}

/* Top Bar */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.topbar h1 {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.topbar p {
    font-size: 13px;
    color: rgba(215, 229, 235, 0.6);
    margin-top: 3px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(9, 31, 43, 0.7);
    border: 1px solid rgba(137, 190, 204, 0.18);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #079dc4, #1ab8da);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 0 12px rgba(35, 211, 239, 0.3);
}

.user-details .name {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.user-details .role {
    font-size: 10px;
    color: rgba(155, 232, 250, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== STATS CARDS ===== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: linear-gradient(145deg, rgba(9, 31, 43, 0.85), rgba(8, 27, 38, 0.75));
    border: 1px solid rgba(137, 190, 204, 0.18);
    border-radius: 14px;
    padding: 20px 18px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(155, 232, 250, 0.35);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(35, 211, 239, 0.1);
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-icon.blue {
    background: linear-gradient(135deg, rgba(7, 157, 196, 0.25), rgba(26, 184, 218, 0.15));
    color: #9be8fa;
    border: 1px solid rgba(155, 232, 250, 0.3);
}

.stat-icon.green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(20, 184, 166, 0.15));
    color: #86efac;
    border: 1px solid rgba(134, 239, 172, 0.3);
}

.stat-icon.orange {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(245, 158, 11, 0.15));
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.stat-icon.red {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(239, 68, 68, 0.15));
    color: #fca5a5;
    border: 1px solid rgba(252, 165, 165, 0.3);
}

.stat-info h3 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-info p {
    font-size: 11px;
    color: rgba(215, 229, 235, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ===== CONTENT GRID ===== */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* ===== PANEL CARD ===== */
.panel {
    background: linear-gradient(145deg, rgba(9, 31, 43, 0.85), rgba(8, 27, 38, 0.75));
    border: 1px solid rgba(137, 190, 204, 0.18);
    border-radius: 14px;
    padding: 22px;
    backdrop-filter: blur(10px);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(137, 190, 204, 0.12);
}

.panel-header h2 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.panel-header a {
    font-size: 11px;
    color: #9be8fa;
    text-decoration: none;
    font-weight: 600;
}

.panel-header a:hover {
    text-decoration: underline;
}

/* ===== TABLE ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    font-size: 10px;
    font-weight: 600;
    color: rgba(215, 229, 235, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(137, 190, 204, 0.12);
}

.data-table td {
    font-size: 12px;
    color: rgba(221, 233, 238, 0.85);
    padding: 12px 8px;
    border-bottom: 1px solid rgba(137, 190, 204, 0.06);
}

.data-table tr:hover td {
    background: rgba(7, 157, 196, 0.06);
}

.data-table .app-no {
    color: #9be8fa;
    font-weight: 600;
}

/* Status Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-pending { background: rgba(251, 191, 36, 0.2); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.4); }
.badge-process { background: rgba(59, 130, 246, 0.2); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.4); }
.badge-complete { background: rgba(34, 197, 94, 0.2); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.4); }
.badge-rejected { background: rgba(220, 38, 38, 0.2); color: #fca5a5; border: 1px solid rgba(220, 38, 38, 0.4); }

.btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(7, 157, 196, 0.15);
    color: #9be8fa;
    border: 1px solid rgba(155, 232, 250, 0.3);
    text-decoration: none;
    transition: all 0.22s ease;
}

.btn-sm:hover {
    background: rgba(7, 157, 196, 0.3);
    color: #ffffff;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: rgba(215, 229, 235, 0.5);
}

.empty-state i {
    font-size: 40px;
    color: rgba(155, 232, 250, 0.3);
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 13px;
}

/* ===== HELP CARD ===== */
.help-card {
    background: linear-gradient(145deg, rgba(7, 157, 196, 0.2), rgba(8, 27, 38, 0.85));
    border: 1px solid rgba(155, 232, 250, 0.3);
    border-radius: 14px;
    padding: 25px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.help-card::before {
    content: "";
    position: absolute;
    top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(155, 232, 250, 0.08), transparent 70%);
    pointer-events: none;
}

.help-card .help-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #079dc4, #1ab8da);
    margin: 0 auto 15px;
    font-size: 28px;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(35, 211, 239, 0.4);
    position: relative;
}

.help-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    position: relative;
}

.help-card p {
    font-size: 12px;
    color: rgba(215, 229, 235, 0.7);
    margin-bottom: 18px;
    line-height: 1.5;
    position: relative;
}

.help-card .btn {
    width: 100%;
    height: 40px;
    font-size: 12px;
    position: relative;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; padding: 20px 15px; }
    .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-card { padding: 15px 12px; }
    .stat-info h3 { font-size: 18px; }
    .stat-info p { font-size: 10px; }
    .topbar h1 { font-size: 19px; }
    .user-info { padding: 6px 12px; }
    .user-details .name { font-size: 12px; }
}
/* ===== SIDEBAR DROPDOWN MENU ===== */
.sidebar-menu .menu-dropdown > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: rgba(221, 233, 238, 0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.22s ease;
    cursor: pointer;
}
.sidebar-menu .menu-dropdown > a:hover {
    background: rgba(7, 157, 196, 0.12);
    color: #ffffff;
}
.sidebar-menu .menu-dropdown.open > a {
    background: rgba(7, 157, 196, 0.15);
    color: #9be8fa;
}
.sidebar-menu .menu-dropdown.open > a .fa-chevron-down {
    transform: rotate(180deg);
}
.sidebar-menu .menu-dropdown > a i:first-child {
    font-size: 15px;
    width: 18px;
    text-align: center;
    color: rgba(155, 232, 250, 0.6);
}
.sidebar-menu .menu-dropdown.open > a i:first-child {
    color: #9be8fa;
}
.sidebar-menu .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.sidebar-menu .menu-dropdown.open .submenu {
    max-height: 200px;
    margin-top: 4px;
}
.sidebar-menu .submenu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px 9px 42px;
    color: rgba(215, 229, 235, 0.65);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    border-radius: 7px;
    transition: all 0.22s ease;
    margin-bottom: 2px;
}
.sidebar-menu .submenu li a:hover {
    background: rgba(7, 157, 196, 0.15);
    color: #ffffff;
    padding-left: 46px;
}
.sidebar-menu .submenu li a i {
    font-size: 10px;
    color: #9be8fa;
}
/* ===== Sidebar brand (logo hata diya, naam bada + glow) ===== */
.sidebar-brand { justify-content: center; text-align: center; padding: 6px 8px 20px; }
.sidebar-brand .logo-circle { display: none; }
.sidebar-brand .brand-text h2 {
    font-size: 15px; font-weight: 800; letter-spacing: .7px; line-height: 1.2; text-transform: uppercase; white-space: nowrap;
    background: linear-gradient(90deg, #ffffff, #8fe8ff 50%, #ffffff);
    background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: #fff;
    filter: drop-shadow(0 0 8px rgba(53, 210, 239, .75)) drop-shadow(0 0 18px rgba(7, 157, 196, .45));
    animation: brandShine 5s linear infinite;
}
.sidebar-brand .brand-text p { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(155, 232, 250, .65); margin-top: 6px; }
@keyframes brandShine { to { background-position: 200% center; } }

/* ===== Red unread badge (sidebar) ===== */
.side-badge {
    margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
    background: #dc2626; color: #fff; font-size: 10px; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 0 10px rgba(220, 38, 38, .7); animation: badgePulse 1.6s ease-in-out infinite;
}
@keyframes badgePulse { 50% { box-shadow: 0 0 16px rgba(248, 113, 113, .95); } }
.sidebar-menu li a { position: relative; }

/* ===== Premium polish (dashboard cards) ===== */
.stat-card { position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.stat-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #35d2ef, transparent); opacity: .7; }
.stat-card:hover { transform: translateY(-3px); border-color: rgba(155, 232, 250, .45) !important; box-shadow: 0 12px 28px rgba(0, 0, 0, .35), 0 0 18px rgba(53, 210, 239, .15); }
.sidebar-menu li a.active { box-shadow: inset 3px 0 0 #35d2ef, 0 0 16px rgba(53, 210, 239, .12); }

/* ===== FIXES (session 3) ===== */
/* Sidebar chhoti screen par bhi scroll ho (pehle min-height ki wajah se neeche ke items nahi dikhte the) */
.sidebar { height: 100vh; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(155, 232, 250, 0.2); border-radius: 2px; }
.stat-icon.cyan { background: linear-gradient(135deg, #079dc4, #1ab8da); color: #fff; box-shadow: 0 0 14px rgba(53, 210, 239, .35); }
a.stat-card { text-decoration: none; color: inherit; }

/* Mobile menu button + overlay (pehle in dono ki CSS thi hi nahi) */
.mobile-menu-btn {
    position: fixed; top: 14px; left: 14px; z-index: 210;
    width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(155, 232, 250, .35);
    background: linear-gradient(135deg, #079dc4, #1ab8da); color: #fff; font-size: 17px;
    align-items: center; justify-content: center; cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 171, 213, .4);
}
.sidebar-overlay { display: none; position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, .6); }
.sidebar-overlay.show { display: block; }

/* Breakpoint ek jaisa: 992px (menu button bhi isi par aata hai) */
@media (max-width: 992px) {
    .sidebar { transform: translateX(-100%); transition: transform .3s ease; z-index: 200; width: 270px; }
    .sidebar.open { transform: translateX(0); box-shadow: 0 0 40px rgba(0, 0, 0, .6); }
    .main-content { margin-left: 0; padding: 70px 15px 20px; }
    .topbar { padding-left: 4px; }
}

/* ============================================================
   SIDEBAR POLISH (v5.1) - dashboard jaisa hi sidebar har page par
   (pehle ye sirf portal.css me tha, isliye wallet/chat/profile
   jaise pages par sidebar purana dikhta tha)
   ============================================================ */
.sidebar {
    background:
        radial-gradient(circle at 0% 0%, rgba(7, 157, 196, .22), transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(20, 184, 166, .14), transparent 45%),
        linear-gradient(180deg, #0b2535, #07182a 70%, #061320);
    border-right: 1px solid rgba(155, 232, 250, .22);
    box-shadow: 6px 0 30px rgba(0, 0, 0, .35), inset -1px 0 0 rgba(53, 210, 239, .12);
}
.sidebar-brand {
    position: relative;
    margin: 0 12px 14px;
    padding: 14px 8px 18px !important;
    border-bottom: 1px solid rgba(155, 232, 250, .15);
}
.sidebar-brand::after {
    content: '';
    position: absolute; left: 20%; right: 20%; bottom: -1px; height: 2px;
    background: linear-gradient(90deg, transparent, #35d2ef, transparent);
    box-shadow: 0 0 12px #35d2ef;
}
.sidebar-brand .brand-text h2 {
    background: linear-gradient(90deg, #ffffff, #8fe8ff 40%, #fde68a 60%, #ffffff);
    background-size: 220% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brandShine 6s linear infinite;
    text-shadow: none;
}
@keyframes brandShine { to { background-position: 220% center; } }
.sidebar-menu { padding: 0 10px; }
.sidebar-menu li { margin-bottom: 4px; }
.sidebar-menu a {
    border-radius: 12px;
    border: 1px solid transparent;
    padding: 11px 13px;
    transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.sidebar-menu a > i:first-child {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 9px; font-size: 13px;
    color: #9be8fa; background: rgba(7, 157, 196, .14);
    border: 1px solid rgba(155, 232, 250, .18);
    flex-shrink: 0;
}
.sidebar-menu a:hover {
    transform: translateX(4px);
    background: linear-gradient(90deg, rgba(7, 157, 196, .28), rgba(7, 157, 196, .05));
    border-color: rgba(155, 232, 250, .3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25), 0 0 14px rgba(53, 210, 239, .15);
}
.sidebar-menu a:hover > i:first-child {
    background: linear-gradient(135deg, #079dc4, #1ab8da);
    color: #fff; box-shadow: 0 0 12px rgba(53, 210, 239, .6);
}
.sidebar-menu a.active {
    background: linear-gradient(90deg, rgba(7, 157, 196, .5), rgba(26, 184, 218, .12));
    border: 1px solid rgba(155, 232, 250, .45);
    border-left: 3px solid #fde047;
    padding-left: 11px;
    color: #fff; font-weight: 700;
    box-shadow: 0 0 18px rgba(53, 210, 239, .3), inset 0 0 14px rgba(53, 210, 239, .1);
}
.sidebar-menu a.active > i:first-child {
    background: linear-gradient(135deg, #079dc4, #1ab8da);
    color: #fff; box-shadow: 0 0 12px rgba(53, 210, 239, .7);
}
.sidebar-menu .logout-link { margin-top: 6px; }
.sidebar-menu .submenu li a { border-radius: 9px; }

/* rang-birange icons */
.sidebar-menu li:nth-child(1) > a > i:first-child { color: #fde047; background: rgba(250, 204, 21, .16); border-color: rgba(250, 204, 21, .4); }
.sidebar-menu li:nth-child(2) > a > i:first-child { color: #f9a8d4; background: rgba(244, 114, 182, .16); border-color: rgba(244, 114, 182, .4); }
.sidebar-menu li:nth-child(3) > a > i:first-child { color: #86efac; background: rgba(74, 222, 128, .16); border-color: rgba(74, 222, 128, .4); }
.sidebar-menu li:nth-child(4) > a > i:first-child { color: #fdba74; background: rgba(251, 146, 60, .16); border-color: rgba(251, 146, 60, .4); }
.sidebar-menu li:nth-child(5) > a > i:first-child { color: #c4b5fd; background: rgba(167, 139, 250, .16); border-color: rgba(167, 139, 250, .4); }
.sidebar-menu li:nth-child(6) > a > i:first-child { color: #67e8f9; background: rgba(34, 211, 238, .16); border-color: rgba(34, 211, 238, .4); }
.sidebar-menu li:nth-child(7) > a > i:first-child { color: #fca5a5; background: rgba(248, 113, 113, .16); border-color: rgba(248, 113, 113, .4); }
.sidebar-menu li:nth-child(8) > a > i:first-child { color: #5eead4; background: rgba(45, 212, 191, .16); border-color: rgba(45, 212, 191, .4); }
.sidebar-menu li:nth-child(9) > a > i:first-child { color: #a5b4fc; background: rgba(129, 140, 248, .16); border-color: rgba(129, 140, 248, .4); }
.sidebar-menu li:nth-child(10) > a > i:first-child { color: #f0abfc; background: rgba(232, 121, 249, .16); border-color: rgba(232, 121, 249, .4); }
.sidebar-menu .submenu li a > i:first-child { color: #9be8fa; background: none; border: 0; width: auto; height: auto; box-shadow: none; }
.sidebar-menu a:hover > i:first-child,
.sidebar-menu a.active > i:first-child { color: #fff !important; }

/* logout - laal */
.sidebar-menu .logout-link > i:first-child {
    color: #fca5a5 !important;
    background: rgba(248, 113, 113, .16);
    border-color: rgba(248, 113, 113, .4);
}
.sidebar-menu .logout-link:hover {
    background: linear-gradient(90deg, rgba(220, 38, 38, .3), rgba(220, 38, 38, .05));
    border-color: rgba(248, 113, 113, .45);
}
.sidebar-menu .logout-link:hover > i:first-child {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    box-shadow: 0 0 12px rgba(239, 68, 68, .6);
    color: #fff !important;
}

/* mobile: sidebar ke andar hover-shift na ho */
@media (max-width: 992px) {
    .sidebar-menu a:hover { transform: none; }
}

/* Profile icon ko apna rang (warna nth-child se laal aa jata tha) */
.sidebar-menu .profile-item > a > i:first-child {
    color: #a5b4fc;
    background: rgba(129, 140, 248, .16);
    border-color: rgba(129, 140, 248, .4);
}
