/* ==========================================================================
   Design tokens & Stylesheet
   Palette: Indigo #3730A3 / Violet #7C3AED · Gold #F59E0B
   Emerald #10B981 (approved) · Coral #FB7185 (rejected)
   Warm paper #FFFCF7 background. Display face: Poppins. Body: Inter.
   ========================================================================== */

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #ffffff;
    color: #1F2333;
    margin: 0;
    padding: 0;
}

h1, h2, .sidebar-brand, .stat-number {
    font-family: 'Poppins', 'Inter', sans-serif;
}

/* ---------- Simple pages (login/register/client dashboard) ---------- */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 32px 40px;
}
.page-hero {
    background: linear-gradient(135deg, #3730A3 0%, #7C3AED 55%, #9333EA 100%);
    margin: 0 0 -30px;
    padding: 46px 32px 60px;
    text-align: center;
    border-radius: 0 0 28px 28px;
    width: 100%;
}
.page-hero h1 {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}
.page-hero .eyebrow {
    display: inline-block;
    background: #F59E0B;
    color: #3B2400;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.page-hero p { color: #E9E4FF; font-size: 14px; margin: 0; }

.card {
    background: #fff;
    border: 1px solid #EFE9DD;
    border-radius: 14px;
    padding: 28px;
    margin: 24px 0 20px 0;
    box-shadow: 0 6px 20px rgba(55, 48, 163, 0.06);
    width: 100%;
    max-width: 100%;
}
.card.wide { width: 100%; max-width: 100%; }

h1 { font-size: 22px; margin-top: 0; letter-spacing: -0.01em; }
h2 { font-size: 16px; margin-top: 0; font-weight: 700; color: #3730A3; }

label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 13px; color: #4B4F63; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid #E3DFF0;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .15s;
}
input:focus, textarea:focus {
    outline: none;
    border-color: #7C3AED;
}
textarea { min-height: 100px; resize: vertical; }

button, .btn {
    display: inline-block;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform .1s, box-shadow .15s;
    font-family: inherit;
}
button:hover, .btn:hover { transform: translateY(-1px); }

.btn-primary { background: linear-gradient(135deg, #7C3AED, #4F46E5); color: #fff; box-shadow: 0 4px 12px rgba(124,58,237,.3); }
.btn-approve { background: linear-gradient(135deg, #10B981, #059669); color: #fff; }
.btn-reject  { background: linear-gradient(135deg, #FB7185, #E11D48); color: #fff; }
.btn-secondary { background: #F1EEFB; color: #3730A3; }
.btn-small { padding: 7px 13px; font-size: 13px; margin-right: 6px; }

.top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }

.request-item { border-bottom: 1px solid #F1EEE4; padding: 16px 0; }
.request-item:last-child { border-bottom: none; }
.request-title { font-weight: 700; margin-bottom: 4px; color: #1F2333; }
.meta { color: #8A8FA3; font-size: 13px; margin-bottom: 8px; }

.status { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.status-pending  { background: #FEF3C7; color: #92400E; }
.status-approved { background: #D1FAE5; color: #065F46; }
.status-rejected { background: #FFE4E6; color: #9F1239; }

.flash { padding: 11px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; font-weight: 500; }
.flash-success { background: #D1FAE5; color: #065F46; }
.flash-error   { background: #FFE4E6; color: #9F1239; }

.actions { margin-top: 10px; }
a.logout { font-size: 13px; color: #8A8FA3; }

/* ---------- Admin sidebar layout ---------- */
.admin-layout { display: flex; min-height: 100vh; }

.sidebar {
    width: 245px;
    background: linear-gradient(180deg, #1a1638 0%, #281452 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 0;
    flex-shrink: 0;
}
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    padding: 22px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 14px;
}
.sidebar-brand .mark {
    width: 34px; height: 34px;
    background: linear-gradient(135deg, #F59E0B, #FB923C);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    color: #3B2400;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}
.sidebar nav { display: flex; flex-direction: column; flex: 1; padding: 0 10px; gap: 7px; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}
.nav-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transition: transform 0.2s ease, background 0.2s ease;
}
.nav-icon svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav-link:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.15);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    color: #ffffff !important;
}
.nav-link:hover .nav-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.35);
}

/* FULL COLOR background for each individual sidebar option */
.nav-dashboard {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.nav-ssp_pass {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%) !important;
}

.nav-ssp_mobile {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
}

.nav-aadhaar_pan {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
}

.nav-pan_pdf {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.nav-voter_pdf {
    background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%) !important;
}

.nav-voter_mobile {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
}

.nav-yuva_nidhi {
    background: linear-gradient(135deg, #f97316 0%, #c2410c 100%) !important;
}

.nav-caste_cert {
    background: linear-gradient(135deg, #d946ef 0%, #a21caf 100%) !important;
}

.nav-bhoomi_rtc {
    background: linear-gradient(135deg, #84cc16 0%, #4d7c0f 100%) !important;
}

.nav-ka_dl {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%) !important;
}

.nav-ka_rc {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
}

.nav-all_india_dl {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
}

.nav-all_india_rc {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
}

.nav-users {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
}

.nav-contact {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%) !important;
}

.nav-settings {
    background: linear-gradient(135deg, #475569 0%, #334155 100%) !important;
}

.nav-profile {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%) !important;
}

.logout-link, .nav-logout {
    margin: 14px 10px 20px;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.35);
}
.logout-link:hover, .nav-logout:hover {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.45);
}

/* Active State: prominent glowing white border & elevation */
.nav-link.active {
    outline: 3px solid #ffffff !important;
    outline-offset: -2px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45) !important;
    transform: scale(1.03);
    z-index: 2;
}
.nav-link.active .nav-icon {
    background: #ffffff !important;
    color: #1e293b !important;
}

/* Sidebar Badges - Pure White Capsule with Vibrant Number */
#sidebarPendingBadge, #sidebarChatBadge {
    background: #ffffff !important;
    font-size: 0.82rem !important;
    font-weight: 900 !important;
    min-width: 24px !important;
    height: 24px !important;
    padding: 0 6px !important;
    border-radius: 12px !important;
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
    border: none !important;
    line-height: 1 !important;
}
#sidebarPendingBadge {
    color: #dc2626 !important; /* Bold Vibrant Red Number */
}
#sidebarChatBadge {
    color: #6366f1 !important; /* Bold Vibrant Indigo Number */
}

.content { flex: 1; padding: 32px 36px; width: 100%; max-width: 100%; }
.card {
    background: #fff;
    border: 1px solid #EFE9DD;
    border-radius: 14px;
    padding: 28px;
    margin: 24px 0 20px 0;
    box-shadow: 0 6px 20px rgba(55, 48, 163, 0.06);
    width: 100%;
    max-width: 100%;
}
.content h1 { margin-top: 0; }

.table-responsive {
    width: calc(100% + 56px);
    margin-left: -28px;
    margin-right: -28px;
    margin-top: 12px;
    margin-bottom: -28px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
}
.data-table { width: 100%; min-width: 100%; border-collapse: separate; border-spacing: 0; background: #ffffff; }
.data-table th, .data-table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid #e2e8f0; font-size: 14px; vertical-align: middle; }
.data-table th { background: #f8fafc; color: #475569; font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 2px solid #cbd5e1; }
.data-table tr:hover td { background: #f8fafc; }

.badge { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.badge-active { background: #D1FAE5; color: #065F46; }
.badge-inactive { background: #F1EEE4; color: #8A8FA3; }

/* ---------- Full Color Admin Stat Cards ---------- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.stat-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    text-decoration: none !important;
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, outline 0.15s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
}
.stat-box .stat-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 4px 0 2px 0;
}
.stat-box .stat-label {
    font-size: 0.86rem;
    color: #64748b;
    font-weight: 600;
}
.stat-revenue-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 8px;
}

.stat-box.stat-all {
    border-top: 4px solid #6366f1;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.stat-box.stat-all .stat-number { color: #4338ca; }
.stat-box.stat-all .stat-revenue-badge { background: #e0e7ff; color: #4338ca; }
.stat-box.stat-all.active {
    outline: 3px solid #6366f1;
    outline-offset: -2px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.stat-box.stat-pending {
    border-top: 4px solid #f59e0b;
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}
.stat-box.stat-pending .stat-number { color: #d97706; }
.stat-box.stat-pending .stat-revenue-badge { background: #fef3c7; color: #b45309; }
.stat-box.stat-pending.active {
    outline: 3px solid #f59e0b;
    outline-offset: -2px;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.stat-box.stat-approved {
    border-top: 4px solid #10b981;
    background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
}
.stat-box.stat-approved .stat-number { color: #059669; }
.stat-box.stat-approved .stat-revenue-badge { background: #d1fae5; color: #047857; }
.stat-box.stat-approved.active {
    outline: 3px solid #10b981;
    outline-offset: -2px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.stat-box.stat-rejected {
    border-top: 4px solid #f43f5e;
    background: linear-gradient(180deg, #fff1f2 0%, #ffffff 100%);
}
.stat-box.stat-rejected .stat-number { color: #dc2626; }
.stat-box.stat-rejected .stat-revenue-badge { background: #ffe4e6; color: #e11d48; }
.stat-box.stat-rejected.active {
    outline: 3px solid #f43f5e;
    outline-offset: -2px;
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.25);
}

/* ---------- Colorful Service Options Grid ---------- */
.service-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}
.service-option-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}
.service-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}
.service-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}
.service-option-card.theme-amber::before  { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.service-option-card.theme-cyan::before   { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.service-option-card.theme-purple::before { background: linear-gradient(90deg, #9333ea, #c084fc); }
.service-option-card.theme-emerald::before{ background: linear-gradient(90deg, #10b981, #34d399); }
.service-option-card.theme-rose::before   { background: linear-gradient(90deg, #f43f5e, #fb7185); }
.service-option-card.theme-indigo::before { background: linear-gradient(90deg, #6366f1, #818cf8); }
.service-option-card.theme-orange::before { background: linear-gradient(90deg, #f97316, #fb923c); }
.service-option-card.theme-fuchsia::before{ background: linear-gradient(90deg, #d946ef, #f0abfc); }
.service-option-card.theme-lime::before   { background: linear-gradient(90deg, #84cc16, #a3e635); }
.service-option-card.theme-violet::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }

.option-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}
.option-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    transition: transform 0.2s ease;
}
.service-option-card:hover .option-icon-box {
    transform: scale(1.1) rotate(2deg);
}
.theme-amber .option-icon-box  { background: #fef3c7; color: #b45309; }
.theme-cyan .option-icon-box   { background: #cffafe; color: #0891b2; }
.theme-purple .option-icon-box { background: #f3e8ff; color: #7e22ce; }
.theme-emerald .option-icon-box{ background: #d1fae5; color: #047857; }
.theme-rose .option-icon-box   { background: #ffe4e6; color: #be123c; }
.theme-indigo .option-icon-box { background: #e0e7ff; color: #4338ca; }
.theme-orange .option-icon-box { background: #ffedd5; color: #c2410c; }
.theme-fuchsia .option-icon-box{ background: #fae8ff; color: #a21caf; }
.theme-lime .option-icon-box   { background: #ecfccb; color: #4d7c0f; }
.theme-violet .option-icon-box { background: #ede9fe; color: #6d28d9; }

.option-price-tag {
    font-size: 0.92rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    background: #ecfdf5;
    color: #059669;
    border: 1.5px solid #a7f3d0;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.option-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    line-height: 1.35;
}
.option-desc {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0 0 18px 0;
    line-height: 1.5;
}
.option-btn {
    width: 100%;
    padding: 10px 16px;
    border-radius: 9px;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.option-btn:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}
.theme-amber .option-btn  { background: linear-gradient(135deg, #f59e0b, #d97706); }
.theme-cyan .option-btn   { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.theme-purple .option-btn { background: linear-gradient(135deg, #9333ea, #7e22ce); }
.theme-emerald .option-btn{ background: linear-gradient(135deg, #10b981, #059669); }
.theme-rose .option-btn   { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.theme-indigo .option-btn { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.theme-orange .option-btn { background: linear-gradient(135deg, #f97316, #ea580c); }
.theme-fuchsia .option-btn{ background: linear-gradient(135deg, #d946ef, #c026d3); }
.theme-lime .option-btn   { background: linear-gradient(135deg, #84cc16, #65a30d); }
.theme-violet .option-btn { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

/* ---------- Status Filters (Soft Lavender Pills with Violet Glow) ---------- */
.filter-btn-group {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.filter-btn-pill {
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none !important;
    background: #f1eeff;
    color: #1e1b4b !important;
    border: 1px solid rgba(139, 92, 246, 0.12);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.filter-btn-pill:hover {
    background: #e9e3ff;
    color: #1e1b4b !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.14);
}
.filter-btn-pill.active {
    background: #ffffff !important;
    color: #1e1b4b !important;
    border: 1.5px solid rgba(139, 92, 246, 0.4) !important;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.25) !important;
    transform: translateY(-1px);
}

/* ---------- Enhanced Colorful Stat Cards ---------- */
.user-stat-card,
.user-stat-card:hover,
.user-stat-card:focus,
.user-stat-card:active,
.user-stat-card:visited,
.user-stat-card * {
    text-decoration: none !important;
}
.user-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, outline 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.user-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.09);
}
.user-stat-card.stat-c-total    { border-top: 4px solid #6366f1; background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); }
.user-stat-card.stat-c-pending  { border-top: 4px solid #f59e0b; background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%); }
.user-stat-card.stat-c-approved { border-top: 4px solid #10b981; background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%); }
.user-stat-card.stat-c-rejected { border-top: 4px solid #f43f5e; background: linear-gradient(180deg, #fff1f2 0%, #ffffff 100%); }

.user-stat-card.stat-c-total.active-stat    { outline: 3px solid #6366f1; outline-offset: -2px; box-shadow: 0 6px 18px rgba(99, 102, 241, 0.2); }
.user-stat-card.stat-c-pending.active-stat  { outline: 3px solid #f59e0b; outline-offset: -2px; box-shadow: 0 6px 18px rgba(245, 158, 11, 0.2); }
.user-stat-card.stat-c-approved.active-stat { outline: 3px solid #10b981; outline-offset: -2px; box-shadow: 0 6px 18px rgba(16, 185, 129, 0.2); }
.user-stat-card.stat-c-rejected.active-stat { outline: 3px solid #f43f5e; outline-offset: -2px; box-shadow: 0 6px 18px rgba(244, 63, 94, 0.2); }

/* ---------- Professional Application Form Styles ---------- */
.pro-form-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
}
.pro-form-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1.5px solid #e2e8f0;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.pro-form-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}
.pro-form-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}
.pro-form-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    font-family: 'Poppins', sans-serif;
}
.pro-form-subtitle {
    margin: 3px 0 0 0;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}
.pro-form-meta-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.pro-badge-fee {
    background: #ecfdf5;
    color: #059669;
    border: 1.5px solid #a7f3d0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.pro-badge-verified {
    background: #e0e7ff;
    color: #4338ca;
    border: 1.5px solid #c7d2fe;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.pro-notice-banner {
    background: #eff6ff;
    border-bottom: 1px solid #dbeafe;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: #1e40af;
    line-height: 1.4;
}
.pro-form-body {
    padding: 28px 28px;
}
.pro-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
}
.pro-field-group {
    display: flex;
    flex-direction: column;
}
.pro-field-group.full-width {
    grid-column: 1 / -1;
}
.pro-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.pro-field-badge {
    background: #e2e8f0;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pro-req-star {
    color: #ef4444;
    font-weight: 700;
}
.pro-input {
    width: 100%;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    transition: all 0.2s ease;
    box-sizing: border-box;
    margin-bottom: 0 !important;
    font-family: inherit;
}
.pro-input:hover {
    background: #ffffff;
    border-color: #94a3b8;
}
.pro-input:focus {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3.5px rgba(79, 70, 229, 0.12);
    outline: none;
}
.pro-hint {
    margin-top: 6px;
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}
.pro-form-footer {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.pro-btn-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.pro-submit-btn {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff !important;
    padding: 13px 32px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.pro-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(79, 70, 229, 0.45);
}
.pro-cancel-btn {
    background: #f1f5f9;
    color: #475569 !important;
    border: 1.5px solid #cbd5e1;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}
.pro-cancel-btn:hover {
    background: #e2e8f0;
    color: #1e293b !important;
}
.pro-security-notice {
    font-size: 0.82rem;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 700px) {
    .pro-form-grid {
        grid-template-columns: 1fr;
    }
    .pro-field-group.full-width {
        grid-column: 1;
    }
    .pro-form-header, .pro-form-body {
        padding: 18px 16px;
    }
    .pro-form-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .pro-btn-group {
        flex-direction: column;
        width: 100%;
    }
    .pro-submit-btn, .pro-cancel-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .pro-security-notice {
        justify-content: center;
    }
}

@media (max-width: 700px) {
    .admin-layout { flex-direction: column; }
    .sidebar { width: 100%; flex-direction: row; align-items: center; padding: 10px 12px; }
    .sidebar-brand { border: none; margin: 0; padding: 0 12px 0 0; }
    .sidebar nav { flex-direction: row; padding: 0; overflow-x: auto; }
    .nav-link span.label { display: none; }
    .logout-link { margin: 0 0 0 8px; }
    .content { padding: 20px; }
}
