:root { --max-blue: #1167db; --max-sky: #39b8f7; --max-navy: #12284a; --max-line: #dce8f4; }
.maxvote-theme { color: #17365c; background: #f3f8ff; }
.maxvote-theme .content-wrapper { color: #17365c; background: radial-gradient(circle at 100% 0, #e5f5ff, transparent 34%), #f3f8ff; }
.maxvote-theme .content-wrapper .content,
.maxvote-theme .content-wrapper .card,
.maxvote-theme .content-wrapper .data-grid,
.maxvote-theme .content-wrapper .max-form-card { color: #17365c; }
.maxvote-theme .content-wrapper .glyphicon { color: #315171; }
.maxvote-theme .content-wrapper a:hover .glyphicon { color: #1167db; }
.maxvote-theme .content-wrapper a:not(.btn) { color: #1167db; }
.maxvote-theme .content-wrapper a:not(.btn):hover,
.maxvote-theme .content-wrapper a:not(.btn):focus { color: #075bca; }
.maxvote-theme .main-sidebar { background: linear-gradient(180deg, #102b50 0%, #0c2040 100%); box-shadow: 8px 0 28px rgba(21, 67, 121, .11); }
.maxvote-theme .brand-link { display: flex; align-items: center; min-height: 72px; padding: 10px 17px; border-bottom: 1px solid rgba(255,255,255,.09); }
.maxvote-theme .brand-image-xl { width: 205px; max-height: 54px; object-fit: contain; }
.maxvote-theme .brand-image-xs { width: 42px; max-height: 42px; }
.maxvote-theme .nav-sidebar .nav-link { border-radius: 11px; margin: 3px 9px; color: #c9def5; }
.maxvote-theme .nav-sidebar .nav-link:hover, .maxvote-theme .nav-sidebar .nav-link.active { background: rgba(36, 145, 239, .20); color: #fff; }
.maxvote-theme .main-header { background: #fff; border-bottom: 1px solid var(--max-line); box-shadow: 0 1px 16px rgba(21,67,121,.05); }
.maxvote-theme .main-header .nav-link { color: #315171; }
.maxvote-theme .content-wrapper .nav-tabs .nav-link { color: #315171; }
.maxvote-theme .content-wrapper .nav-tabs .nav-link.active { color: #17365c; background-color: #fff; }
.maxvote-theme .content-wrapper .nav-tabs .nav-link:hover { color: #1167db; }
.maxvote-theme .content-header h1, .maxvote-theme h1 { color: var(--max-navy); font-weight: 750; }
.maxvote-theme .card, .maxvote-theme .data-grid, .maxvote-theme .max-form-card { background: #fff; border: 1px solid var(--max-line); border-radius: 16px; box-shadow: 0 7px 28px rgba(25,82,145,.06); }
.maxvote-theme .data-grid { padding: 14px; }
.maxvote-theme .max-form-card { max-width: 700px; padding: 28px; }
.maxvote-theme .btn-primary { background: linear-gradient(135deg, #0d70e3, #279beb); border: 0; box-shadow: 0 4px 10px rgba(18,103,219,.18); }
.maxvote-theme .btn-primary:hover { background: #075bca; }
.maxvote-theme .btn-outline-primary { color: var(--max-blue); border-color: #8dc7f7; }
.maxvote-theme .content-wrapper .btn-default,
.maxvote-theme .content-wrapper .btn-default > i,
.maxvote-theme .content-wrapper .btn-default > .fa,
.maxvote-theme .content-wrapper .btn-default > .fas,
.maxvote-theme .content-wrapper .btn-default > .far { color: #315171; }
.maxvote-theme .content-wrapper .btn-default { background: #fff; border-color: #b8cde2; }
.maxvote-theme .content-wrapper .btn-default:hover,
.maxvote-theme .content-wrapper .btn-default:focus,
.maxvote-theme .content-wrapper .btn-default:active,
.maxvote-theme .content-wrapper .show > .btn-default.dropdown-toggle { color: #17365c; background: #eaf4ff; border-color: #8dc7f7; }
.maxvote-theme .content-wrapper .btn-default:hover > i,
.maxvote-theme .content-wrapper .btn-default:focus > i,
.maxvote-theme .content-wrapper .btn-default:active > i,
.maxvote-theme .content-wrapper .show > .btn-default.dropdown-toggle > i { color: #17365c; }
.maxvote-theme .form-control:focus { border-color: #56b4fa; box-shadow: 0 0 0 .18rem rgba(49,151,239,.15); }
.maxvote-theme .table thead th { background: #f0f7ff; border-bottom: 1px solid var(--max-line); color: #365a80; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .035em; }
.maxvote-theme .table td { vertical-align: middle; border-top-color: #edf3f8; }
.maxvote-theme a.max-proxy-link { color: var(--max-blue); font-weight: 600; }
.maxvote-theme a.max-proxy-link:hover { color: #075bca; }
.maxvote-theme .table-striped tbody tr:nth-of-type(odd) { background: #f8fbff; }
.max-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 4px 0 22px; }
.max-page-heading h1 { margin: 4px 0 2px; font-size: 29px; }
.max-page-heading p { color: #6d83a0; margin: 0; }
.max-eyebrow { color: #198ee7; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.max-code-form { min-width: 210px; }
.dashboard-stat-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.dashboard-stat-card { display: flex; flex-direction: column; gap: 5px; min-height: 126px; padding: 20px 22px; border: 1px solid var(--max-line); border-radius: 16px; background: #fff; box-shadow: 0 7px 28px rgba(25,82,145,.06); }
.dashboard-stat-card span { color: #627c99; font-size: 13px; font-weight: 650; }
.dashboard-stat-card strong { color: var(--max-navy); font-size: 32px; line-height: 1.2; }
.dashboard-stat-card small { color: #7188a2; font-size: 12px; }
.maxvote-theme .content-wrapper .chart-box { overflow: hidden; border: 1px solid var(--max-line); border-radius: 16px; background: #fff; box-shadow: 0 7px 28px rgba(25,82,145,.06); }
@media (max-width: 900px) { .dashboard-stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .dashboard-stat-cards { grid-template-columns: 1fr; } }
.maxvote-theme.login-page { background: linear-gradient(145deg, #dff2ff, #b6ddff); }
.maxvote-theme .login-card-body { border-radius: 18px; box-shadow: 0 20px 70px rgba(15,80,153,.18); }
@media (max-width: 680px) { .max-page-heading { align-items: flex-start; flex-direction: column; } .maxvote-theme .max-form-card { padding: 18px; } }
