/* =========================================
   THE ORAL PATH CONNECT & MARKETPLACE
   Design System & Master Stylesheet
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Color Palette from Specifications */
    --navy: #073b63;
    --blue: #116fae;
    --teal: #159ca5;
    --purple: #8650a9;

    --text: #344454;
    --muted: #718191;
    --white: #ffffff;
    --light-blue: #f5fafc;
    --border: #e1edf2;
    --card-bg: #ffffff;

    /* Extended UI Colors */
    --navy-dark: #04243d;
    --blue-light: #e6f4fc;
    --teal-light: #e6f8f9;
    --purple-light: #f4ecf8;

    --success: #10b981;
    --success-bg: #ecfdf5;
    --warning: #f59e0b;
    --warning-bg: #fffbeb;
    --danger: #ef4444;
    --danger-bg: #fef2f2;

    --shadow-sm: 0 4px 15px rgba(7, 59, 99, 0.04);
    --shadow-md: 0 8px 30px rgba(7, 59, 99, 0.08);
    --shadow-lg: 0 15px 45px rgba(7, 59, 99, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
    width: 100%;
    min-height: 100%;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Protected mode default */
body.protected {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* =========================================
   DECORATIVE BACKGROUND ELEMENTS
========================================== */
.page-bg-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background:
        radial-gradient(circle at 5% 10%, rgba(17, 111, 174, 0.07), transparent 30%),
        radial-gradient(circle at 95% 25%, rgba(21, 156, 165, 0.07), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(134, 80, 169, 0.05), transparent 40%),
        linear-gradient(135deg, #ffffff 0%, #f8fcfd 50%, #ffffff 100%);
}

.circle-one {
    position: absolute;
    width: 450px;
    height: 450px;
    left: -220px;
    top: -180px;
    border-radius: 50%;
    border: 1px solid rgba(17, 111, 174, 0.10);
    box-shadow: 0 0 0 35px rgba(17, 111, 174, 0.025), 0 0 0 70px rgba(17, 111, 174, 0.018);
    pointer-events: none;
    z-index: 1;
}

.circle-two {
    position: absolute;
    width: 380px;
    height: 380px;
    right: -190px;
    top: 400px;
    border-radius: 50%;
    border: 1px solid rgba(21, 156, 165, 0.12);
    box-shadow: 0 0 0 35px rgba(21, 156, 165, 0.025), 0 0 0 70px rgba(21, 156, 165, 0.018);
    pointer-events: none;
    z-index: 1;
}

.dots-pattern {
    position: absolute;
    width: 200px;
    height: 200px;
    right: 5%;
    top: 15%;
    opacity: 0.22;
    background-image: radial-gradient(var(--teal) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    pointer-events: none;
    z-index: 1;
}

/* =========================================
   HEADER & NAVIGATION
========================================== */
header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header-inner {
    max-width: 1350px;
    margin: 0 auto;
    padding: 16px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy), var(--blue), var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(17, 111, 174, 0.25);
}

.brand-text {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--navy);
    line-height: 1.2;
}

.brand-text span {
    color: var(--teal);
    display: block;
    font-size: 12px;
    letter-spacing: 2.5px;
    font-weight: 700;
}

/* Navigation Links */
.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 9px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: var(--blue);
    background: var(--blue-light);
}

.nav-link.active {
    color: var(--navy);
    background: var(--white);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}

.nav-link.active-teal {
    color: var(--teal);
    background: var(--teal-light);
    border-color: rgba(21, 156, 165, 0.2);
}

.nav-link.active-purple {
    color: var(--purple);
    background: var(--purple-light);
    border-color: rgba(134, 80, 169, 0.2);
}

/* Header Action Controls */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(21, 156, 165, 0.2);
    box-shadow: 0 4px 15px rgba(7, 59, 99, 0.04);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--navy);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(21, 156, 165, 0.18);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0px rgba(21, 156, 165, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(21, 156, 165, 0); }
    100% { box-shadow: 0 0 0 0px rgba(21, 156, 165, 0); }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(11, 111, 174, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(11, 111, 174, 0.35);
}

.btn-teal {
    background: linear-gradient(135deg, var(--teal), #107e85);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(21, 156, 165, 0.25);
}

.btn-teal:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(21, 156, 165, 0.35);
}

.btn-purple {
    background: linear-gradient(135deg, var(--purple), #67378a);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(134, 80, 169, 0.25);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--navy);
}

.btn-outline:hover {
    background: var(--light-blue);
    border-color: var(--blue);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    cursor: pointer;
    color: var(--navy);
    font-size: 18px;
}

/* Mobile Drawer Navigation */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 6%;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    flex-direction: column;
    gap: 10px;
}

.mobile-drawer.open {
    display: flex;
}

/* =========================================
   HERO SECTION
========================================== */
.hero-section {
    width: 100%;
    padding: 50px 4% 60px;
    position: relative;
    z-index: 2;
}

.hero-inner {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.coming-soon-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    margin-bottom: 22px;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, rgba(7, 59, 99, 0.06), rgba(21, 156, 165, 0.09));
    border: 1px solid rgba(17, 111, 174, 0.15);
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.coming-soon-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow: 0 0 0 5px rgba(134, 80, 169, 0.12);
}

.hero-title {
    font-size: clamp(38px, 4.5vw, 64px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--navy);
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--teal);
}

.title-line {
    width: 120px;
    height: 4px;
    margin: 0 0 25px 0;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--navy), var(--blue), var(--teal), var(--purple));
}

.tagline {
    font-size: clamp(17px, 1.8vw, 22px);
    line-height: 1.4;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 18px;
}

.tagline span {
    color: var(--purple);
}

.description {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 580px;
}

.description strong {
    color: var(--blue);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

/* Feature Badges / Pills */
.features-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.feature-pill {
    padding: 9px 18px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
}

.feature-pill:nth-child(2) { color: var(--teal); }
.feature-pill:nth-child(3) { color: var(--purple); }

/* Hero Visual Banner Card */
.hero-visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background: var(--white);
}

.hero-visual-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.hero-visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(7, 59, 99, 0.92) 0%, rgba(7, 59, 99, 0.4) 70%, transparent 100%);
    color: var(--white);
}

.hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.hero-stat-box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    text-align: center;
}

.hero-stat-num {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
}

.hero-stat-lbl {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   MAIN VIEW CONTAINER & TABS SWITCHER
========================================== */
main.main-content {
    max-width: 1350px;
    margin: 0 auto;
    padding: 20px 4% 80px;
    position: relative;
    z-index: 2;
}

/* Section Navigation Tabs */
.view-nav-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.view-tab-btn {
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-tab-btn:hover {
    color: var(--navy);
    background: rgba(7, 59, 99, 0.04);
}

.view-tab-btn.active {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(7, 59, 99, 0.2);
}

/* Views display management */
.tab-view-content {
    display: none;
    animation: fadeIn 0.35s ease-in-out forwards;
}

.tab-view-content.active-view {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Titles & Filters Header */
.section-header {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.section-title-group h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.section-title-group p {
    color: var(--muted);
    font-size: 14px;
}

/* Controls & Filters Bar */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search-input-wrapper {
    position: relative;
    min-width: 280px;
}

.search-input-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 14px;
}

.search-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(21, 156, 165, 0.12);
}

.filter-select {
    padding: 10px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

/* =========================================
   MARKETPLACE SECTION
========================================== */
.category-filter-chips {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 25px;
    scrollbar-width: thin;
}

.chip-btn {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.chip-btn:hover, .chip-btn.active {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
    box-shadow: 0 4px 12px rgba(21, 156, 165, 0.25);
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.marketplace-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.marketplace-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(21, 156, 165, 0.3);
}

.card-category-badge {
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    background: var(--teal-light);
    color: var(--teal);
    margin-bottom: 14px;
}

.card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.card-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.card-provider-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-bottom: 16px;
}

.provider-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.provider-details h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}

.provider-details p {
    font-size: 11px;
    color: var(--muted);
}

.card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
}

.card-price span {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
}

/* =========================================
   DOCTORS DIRECTORY SECTION
========================================== */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.doctor-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(17, 111, 174, 0.3);
}

.doctor-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.doctor-img {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    border: 2px solid var(--border);
}

.doctor-meta {
    flex: 1;
}

.doctor-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.doctor-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
}

.verified-icon {
    color: var(--teal);
    font-size: 16px;
}

.doctor-degree {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 4px;
}

.doctor-reg {
    font-size: 11px;
    color: var(--muted);
}

.doctor-stats-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
    background: var(--light-blue);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 12px;
}

.doc-stat {
    display: flex;
    flex-direction: column;
}

.doc-stat-val {
    font-weight: 800;
    color: var(--navy);
}

.doc-stat-lbl {
    font-size: 10px;
    color: var(--muted);
}

.doctor-bio-short {
    font-size: 12px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 16px;
}

.doctor-actions {
    display: flex;
    gap: 10px;
}

/* =========================================
   CLINICS DIRECTORY SECTION
========================================== */
.clinics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}

.clinic-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.clinic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.clinic-cover-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.clinic-body {
    padding: 20px;
}

.clinic-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
}

.clinic-location {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.facility-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.facility-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: var(--purple-light);
    color: var(--purple);
}

/* =========================================
   REGISTRATION MODULE (DOCTOR & CLINIC)
========================================== */
.registration-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.reg-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 30px;
}

.reg-tab {
    flex: 1;
    text-align: center;
    padding: 14px;
    font-size: 14px;
    font-weight: 800;
    color: var(--muted);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.reg-tab.active {
    color: var(--navy);
    border-bottom-color: var(--teal);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--light-blue);
    color: var(--text);
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(17, 111, 174, 0.12);
}

.file-upload-box {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    background: var(--light-blue);
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-box:hover {
    border-color: var(--teal);
    background: var(--teal-light);
}

/* =========================================
   DASHBOARDS (DOCTOR & CLINIC)
========================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.dashboard-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.user-profile-summary {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.user-profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px;
    border: 3px solid var(--teal-light);
}

.dash-menu-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dash-menu-item {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-menu-item:hover, .dash-menu-item.active {
    background: var(--blue-light);
    color: var(--navy);
    font-weight: 700;
}

/* Dashboard Analytics Cards */
.stats-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.stat-card-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.stat-card-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
}

.stat-card-change {
    font-size: 11px;
    font-weight: 700;
    color: var(--success);
    margin-top: 4px;
}

/* Tables */
.data-table-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.data-table th {
    padding: 12px;
    font-weight: 700;
    color: var(--navy);
    border-bottom: 2px solid var(--border);
    background: var(--light-blue);
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

/* =========================================
   SUPER ADMIN PANEL
========================================== */
.admin-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.badge-pending { background: var(--warning-bg); color: var(--warning); }
.badge-verified { background: var(--success-bg); color: var(--success); }
.badge-rejected { background: var(--danger-bg); color: var(--danger); }

/* =========================================
   MODALS
========================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 36, 61, 0.65);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--light-blue);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   FOOTER
========================================== */
footer {
    width: 100%;
    position: relative;
    z-index: 5;
    padding: 30px 4% 20px;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(7, 59, 99, 0.08);
}

.footer-inner {
    max-width: 1250px;
    margin: 0 auto;
    text-align: center;
}

.development-credit {
    font-size: 13px;
    color: #718191;
    margin-bottom: 12px;
}

.development-credit strong {
    color: var(--navy);
}

.powered-by-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.powered-by-box span {
    font-size: 11px;
    font-weight: 600;
    color: #8996a0;
}

.copmd-badge-img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.copyright-text {
    font-size: 11px;
    color: #a2adb5;
    letter-spacing: 0.5px;
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
========================================== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .title-line {
        margin: 0 auto 25px;
    }
    .description {
        margin: 0 auto 30px;
    }
    .hero-actions, .features-pills {
        justify-content: center;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .stats-cards-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav, .header-actions .status-badge {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 520px) {
    .hero-title {
        font-size: 36px;
    }
    .tagline {
        font-size: 16px;
    }
    .stats-cards-row {
        grid-template-columns: 1fr;
    }
    .registration-container {
        padding: 20px;
    }
}
