/* ==========================================================
   EONNET JEWELLERS â€” brand theme override for Light Able kit
   Loaded AFTER style.css / style-preset.css / auth.css
   ========================================================== */

:root {
    --eon-navy: #0b2545;
    --eon-navy-light: #13355e;
    --eon-gold: #c8a13a;
    --eon-gold-light: #e8c874;
}

/* ---- Re-theme the "preset-11" primary color to our exact navy ---- */
[data-pc-preset=preset-11] {
    --pc-sidebar-active-color: var(--eon-navy);
    --bs-blue: var(--eon-navy);
    --bs-primary: var(--eon-navy);
    --bs-primary-rgb: 11, 37, 69;
    --bs-primary-light: #e9edf3;
    --bs-link-color: var(--eon-navy);
    --bs-link-color-rgb: 11, 37, 69;
    --bs-link-hover-color: var(--eon-navy-light);
}
[data-pc-preset=preset-11] .bg-light-primary { background: #e9edf3; color: var(--eon-navy); }
[data-pc-preset=preset-11] .btn-primary {
    --bs-btn-bg: var(--eon-navy);
    --bs-btn-border-color: var(--eon-navy);
    --bs-btn-hover-bg: var(--eon-navy-light);
    --bs-btn-hover-border-color: var(--eon-navy-light);
    --bs-btn-active-bg: var(--eon-navy-light);
}
[data-pc-preset=preset-11] .text-bg-primary { background-color: var(--eon-navy) !important; }

/* ---- Gold accent utilities ---- */
.text-gold { color: var(--eon-gold) !important; }
.bg-gold { background: var(--eon-gold) !important; color: #fff !important; }
.bg-light-gold { background: #faf3e2 !important; color: #92751f !important; }
.badge.bg-gold { background: linear-gradient(135deg, var(--eon-gold-light), var(--eon-gold)) !important; color: var(--eon-navy) !important; font-weight: 700; }

/* ---- Brand logo in sidebar / header ---- */
.eon-brand-logo {height: 130px;width: 130px;border-radius: 8px;object-fit: cover;flex-shrink: 0;}
.eon-brand-logo-lg { height: 46px; width: 46px; border-radius: 10px; object-fit: cover; }
.auth-brand span {
    font-size: 30px;
}

/* ---- Auth pages: re-theme accent color from teal to navy/gold ---- */
.auth-page { --auth-primary: var(--eon-navy); --auth-primary-dark: var(--eon-navy-light); }
.auth-showcase { background: linear-gradient(160deg, var(--eon-navy) 0%, #08192f 60%, #050f1c 100%) !important; }
.auth-showcase::after { background: linear-gradient(90deg, rgba(200,161,58,.16), transparent 60%) !important; }
.auth-benefits i { color: var(--eon-gold-light) !important; }
.auth-eyebrow { color: var(--eon-gold-light); }
.auth-brand-icon { background: var(--eon-navy); }
.auth-check .form-check-input:checked { background-color: var(--eon-navy); border-color: var(--eon-navy); }
.auth-page { align-items: start; }
.auth-showcase {
    min-height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
}

/* ---- Password strength meter (register / change-password forms) ---- */
.strength-meter { height: 4px; border-radius: 3px; background: #e5e8ee; margin-top: 8px; overflow: hidden; }
.strength-meter-bar { height: 100%; width: 0%; border-radius: 3px; transition: width .25s ease, background .25s ease; }
.strength-label { font-size: 11px; margin-top: 4px; color: #6b7280; }

/* ---- File drop upload boxes (Aadhar / photo) ---- */
.file-drop { border: 1.5px dashed #dfe3e8; border-radius: 8px; padding: 16px; text-align: center; cursor: pointer; transition: border-color .2s ease, background .2s ease; background: #fbfcfe; position: relative; }
.file-drop:hover { border-color: var(--eon-gold); background: #fffdf7; }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop .file-drop-text { font-size: 13px; color: #6b7280; }
.file-drop .file-drop-icon { font-size: 22px; display: block; margin-bottom: 6px; color: var(--eon-gold); }
.file-drop.has-file { border-color: #1f9d55; background: #f4fbf6; }
.file-drop .file-name { font-size: 12.5px; color: #1f9d55; font-weight: 600; margin-top: 4px; }

/* ---- Referral status text ---- */
.referral-status { font-size: 12.5px; margin-top: 6px; min-height: 16px; }
.referral-status.found { color: #1f9d55; }
.referral-status.notfound { color: #d64545; }

/* ---- Field error text (auth + profile forms) ---- */
.field-error { color: #d64545; font-size: 12px; margin-top: 6px; min-height: 14px; display: none; }
.field-error.show { display: block; }
.form-control.is-invalid-custom { border-color: #d64545 !important; }
.form-control.is-valid-custom { border-color: #1f9d55 !important; }

/* ---- Alert box ---- */
.alert-box { padding: 12px 14px; border-radius: 8px; font-size: 13.5px; margin-bottom: 18px; display: none; align-items: center; gap: 8px; }
.alert-box.show { display: flex; }
.alert-box.error { background: #fdecec; color: #d64545; border: 1px solid #f7c9c9; }
.alert-box.success { background: #eafaf0; color: #1f9d55; border: 1px solid #bdeccb; }

/* ---- Profile page avatar upload ---- */
.eon-avatar-wrap { position: relative; width: 96px; height: 96px; margin: 0 auto; }
.eon-avatar-wrap img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 16px rgba(11,37,69,.15); }
.eon-avatar-edit { position: absolute; bottom: 0; right: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--eon-navy); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 2px solid #fff; font-size: 14px; }
.eon-avatar-edit input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ---- Member ID badge ---- */
.eon-uid-badge { display: inline-flex; align-items: center; gap: 6px; background: #faf3e2; color: #92751f; border: 1px dashed var(--eon-gold); padding: 4px 12px; border-radius: 20px; font-weight: 700; font-size: 13px; letter-spacing: .5px; }

/* Professional responsive refresh */
body { background: #f5f7fa; }
.auth-body { background: #f7f8fa; }
.auth-page { grid-template-columns: minmax(390px, .92fr) minmax(520px, 1.08fr); }
.auth-showcase { padding: 38px clamp(34px, 5vw, 76px); isolation: isolate; }
.auth-showcase::before { content: ""; position: absolute; inset: 0; opacity: .055; background-image: linear-gradient(rgba(255,255,255,.8) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.8) 1px, transparent 1px); background-size: 52px 52px; }
.auth-orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.auth-orb-one { width: 380px; height: 380px; right: -170px; top: 13%; border: 1px solid rgba(232,200,116,.22); box-shadow: 0 0 0 60px rgba(232,200,116,.025), 0 0 0 120px rgba(232,200,116,.018); }
.auth-orb-two { width: 210px; height: 210px; left: -100px; bottom: 9%; background: rgba(200,161,58,.06); }
.eon-brand-logo { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.auth-brand span { font-size: 20px; letter-spacing: -.35px; }
.auth-showcase-copy { max-width: 620px; padding: 30px 0; }
.auth-showcase h1 { font-size: clamp(38px, 4vw, 60px); letter-spacing: -2px; }
.auth-showcase h1 em { color: var(--eon-gold-light); font-family: Georgia, serif; font-weight: 400; }
.auth-proof { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 540px; margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.13); }
.auth-proof div { display: flex; flex-direction: column; gap: 3px; }
.auth-proof strong { font-size: 15px; color: #fff; }
.auth-proof span { font-size: 11px; color: rgba(255,255,255,.58); }
.auth-panel { padding: 44px clamp(30px, 5vw, 76px); }
.auth-panel-inner { max-width: 500px; }
.auth-register-page .auth-panel-inner, .auth-register-page .auth-content { max-width: 680px !important; }
.auth-heading h2 { font-size: clamp(27px, 3vw, 34px); letter-spacing: -.7px; }
.auth-kicker { letter-spacing: 1.5px; }
.auth-input-wrap .form-control { height: 52px; border-radius: 10px; border-color: #dce1e8; }
.auth-submit { height: 52px; border-radius: 10px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(11,37,69,.22); }
.file-drop { min-height: 105px; border-radius: 12px; display: flex; flex-direction: column; justify-content: center; }
.pc-sidebar { background: linear-gradient(180deg, #0b2545 0%, #071a32 100%); box-shadow: 8px 0 32px rgba(11,37,69,.08); }
.pc-sidebar .m-header { background: transparent; border-bottom: 1px solid rgba(255,255,255,.08); }
.pc-sidebar .b-brand strong { display: flex; flex-direction: column; line-height: 1.15; }
.pc-sidebar .b-brand strong small { margin-top: 5px; color: rgba(255,255,255,.5); font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.2px; }
.pc-sidebar .pc-navbar > .pc-item > .pc-link { margin: 5px 14px; border-radius: 10px; color: rgba(255,255,255,.7); }
.pc-sidebar .pc-navbar > .pc-item > .pc-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.pc-sidebar .pc-navbar > .pc-item.active > .pc-link { background: linear-gradient(135deg, var(--eon-gold-light), var(--eon-gold)); color: #132b49; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.pc-sidebar .pc-navbar .pc-micon { color: inherit; }
.pc-header { background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border-bottom: 1px solid #e9edf2; }
.eon-header-greeting { display: flex; align-items: center; padding-right: 12px; color: #7a8494; font-size: 12px; }
.eon-header-greeting strong { color: var(--eon-navy); }
.dashboard-heading { margin-bottom: 24px; }
.dashboard-heading .breadcrumb { margin-bottom: 14px; }
.dashboard-kicker, .card-eyebrow { display: block; margin-bottom: 5px; color: #9a7a27; font-size: 10px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.dashboard-heading h2 { color: #132238; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.7px; }
.dashboard-subtitle { margin: 0; color: #7a8494; font-size: 13px; }
.card { border: 1px solid #e8ecf1; border-radius: 14px; box-shadow: 0 5px 18px rgba(25,39,62,.045); }
.eon-stat-card { position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.eon-stat-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.eon-stat-navy::before { background: #193e68; }.eon-stat-gold::before { background: var(--eon-gold); }.eon-stat-green::before { background: #2da978; }.eon-stat-amber::before { background: #e6a43b; }
.eon-stat-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(25,39,62,.09); }
.eon-stat-card .card-body { padding: 22px; }
.eon-stat-card .avtar { border-radius: 12px; }
.dashboard-card .card-header { min-height: 74px; display: flex; align-items: center; justify-content: space-between; border-bottom-color: #edf0f4; }
.dashboard-card .card-header h5 { margin: 0; color: #17263b; }
.network-count { padding: 6px 10px; border-radius: 20px; background: #eef2f6; color: #6b7686; font-size: 11px; font-weight: 600; }
.referral-card { background: linear-gradient(145deg, #fff 0%, #fcfaf4 100%); }
.referral-card-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #faf1d9; color: #98761d; font-size: 20px; }
.table > :not(caption) > * > * { padding: 15px 18px; }
.table thead th { background: #f8fafc; color: #8993a1; font-size: 10px; letter-spacing: .7px; text-transform: uppercase; }
@media (max-width: 1199.98px) { .auth-page { grid-template-columns: minmax(360px, .8fr) minmax(500px, 1.2fr); } .auth-showcase h1 { font-size: 42px; } }
@media (max-width: 991.98px) {
  .auth-panel { background: linear-gradient(180deg, #f3f6fa 0, #fff 190px); }
  .auth-panel-inner { padding: 28px; max-width: 680px; border: 1px solid #e7ebf0; border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 18px 55px rgba(11,37,69,.09); }
  .auth-brand-mobile { margin-bottom: 34px; }
}
@media (max-width: 575.98px) {
  .auth-panel { padding: 16px; }
  .auth-panel-inner { padding: 22px 18px; border-radius: 15px; }
  .auth-brand-mobile { margin-bottom: 28px; }
  .auth-register-page .row.g-3 { --bs-gutter-y: 17px; }
  .auth-register-page .auth-form-content { gap: 17px; }
  .auth-heading p { font-size: 13px; line-height: 1.55; }
  .eon-header-greeting { display: none; }
  .pc-content { padding-left: 14px; padding-right: 14px; }
  .dashboard-heading { margin-bottom: 18px; }
  .eon-stat-card { margin-bottom: 12px; }
  .dashboard-card .card-header { padding: 16px; }
  .table-card .table-responsive { overflow: visible; }
  .table-card table, .table-card tbody, .table-card tr, .table-card td { display: block; width: 100%; }
  .table-card thead { display: none; }
  .table-card tbody tr { padding: 13px 16px; border-bottom: 1px solid #edf0f4; }
  .table-card tbody td { padding: 5px 0; border: 0; }
  .table-card tbody td:not(:first-child) { padding-left: 48px; font-size: 12px; }
  .table-card tbody td:only-child { padding: 20px 8px; }
  .referral-card .input-group { flex-wrap: nowrap; }
  .referral-card .form-control { min-width: 0; font-size: 11px; }
}

/* ---- Profile page tabs (User Profile / Banking Profile) ---- */
.eon-profile-tabs { border-bottom: none; gap: 8px; }
.eon-profile-tabs .nav-link {
    border: none;
    color: #7a8494;
    font-weight: 600;
    padding: 10px 4px;
    margin-right: 24px;
    border-radius: 0;
    border-bottom: 2px solid transparent;
}
.eon-profile-tabs .nav-link:hover { color: var(--eon-navy); border-color: transparent; }
.eon-profile-tabs .nav-link.active {
    color: var(--eon-navy);
    background: none;
    border-bottom: 2px solid var(--eon-gold);
}

/* ---- Last-request status meta line (User Profile + Banking cards) ---- */
.eon-request-meta { font-size: 13px; color: #7a8494; }
.eon-request-meta b { color: var(--eon-navy); }
.eon-request-meta a { color: var(--eon-navy); font-weight: 600; text-decoration: underline; }

/* ---- Banking profile cards ---- */
.eon-bank-card { border-left: 4px solid var(--eon-gold); }
.eon-bank-card .card-body { padding: 20px 22px; }
.eon-bank-card .text-muted.f-13 { display: block; margin-bottom: 2px; }

/* ---- "View previous file" link under profile-update file inputs ---- */
.eon-prev-file { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--eon-navy); margin-top: 4px; text-decoration: underline; }
.eon-prev-file:hover { color: var(--eon-gold); }


/* ---- Activities page: date-range tabs + Counts/PV cards ---- */
.eon-range-btn {
    border: 1px solid #dde2ea; background: #fff; color: #445; font-weight: 600; font-size: 13px;
    padding: 8px 16px; border-radius: 20px;
}
.eon-range-btn.active { background: var(--eon-navy); border-color: var(--eon-navy); color: #fff; }

.eon-activity-card { overflow: hidden; }
.eon-activity-header, .eon-activity-row, .eon-activity-total {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: center;
}
.eon-activity-header {
    background: linear-gradient(135deg, var(--eon-gold-light), var(--eon-gold));
    color: #fff; font-weight: 700; padding: 12px 18px;
}
.eon-activity-header span:not(:first-child), .eon-activity-row span:not(:first-child), .eon-activity-total span:not(:first-child) {
    text-align: center;
}
.eon-activity-row { padding: 12px 18px; border-bottom: 1px solid #f0f2f6; font-size: 14px; }
.eon-activity-row:nth-child(even) { background: #fafbfd; }
.eon-activity-total {
    background: var(--eon-navy); color: #fff; font-weight: 700; padding: 12px 18px;
}

/* ---- Snapshot page ---- */
.eon-snap-card { overflow: hidden; }
.eon-snap-card-header {
    background: var(--eon-navy); color: #fff; font-weight: 700; font-size: 13px;
    letter-spacing: .4px; text-transform: uppercase; padding: 12px 18px;
}
.eon-snap-meta { color: #7a8494; font-size: 13px; display: flex; align-items: center; gap: 6px; }

.eon-netizen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.eon-netizen-badge {
    padding: 12px 10px; border-radius: 8px; text-align: center; font-weight: 700; font-size: 14px; color: #fff;
}

/* Package colors - reused for badges, legend pills, and (later) any package-tagged UI */
.eon-netizen-novice    { background: #8a94a3; }              /* grey */
.eon-netizen-nobal     { background: #d8c48a; color: #4a3c10; } /* cream */
.eon-netizen-exclusive { background: #1a9c5e; }              /* green */
.eon-netizen-imperial  { background: #d63b3b; }              /* red */

/* ---- Scholarship / Golden Ovation: colourful "Upcoming" badge ---- */
.eon-badge-upcoming { background: #dce7fb; color: #2b5fd9; font-weight: 700; padding: 5px 14px; }

.eon-slab-gif { width: 240px; height: auto; margin-bottom: 14px; }

.eon-donut-wrap { display: flex; justify-content: center; padding: 10px 0; }
.eon-donut-placeholder {
    width: 150px; height: 150px; border-radius: 50%;
    background: conic-gradient(#e3e7ee 0deg 360deg);
    position: relative;
}
.eon-donut-placeholder::after {
    content: ''; position: absolute; inset: 22px; border-radius: 50%; background: #fff;
}

/* Pill-shaped legend, colored per package (same palette as the Netizenship badges) */
.eon-donut-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.eon-legend-pill {
    display: inline-block; padding: 5px 14px; border-radius: 20px; font-size: 12.5px; font-weight: 700; color: #fff;
}

/* ---- Shared gold-header table style: PPV Slab + PPV Status/Pioneers ---- */
.eon-gold-table { border-radius: 8px; overflow: hidden; border: 1px solid #eef0f4; }
.eon-gold-table thead th {
    background: var(--eon-gold); color: #fff; font-weight: 700; text-align: center;
    border-bottom: none; padding: 13px 12px !important;
}
.eon-gold-table tbody td {
    text-align: center; font-size: 13.5px; border-bottom: 1px solid #eef0f4; padding: 10px 12px !important;
}
.eon-gold-table tbody td:first-child { text-align: left; color: #7a8494; }











