/* Overdress premium UI refresh — visual layer only */
html {
    min-height: 100%;
    background: #f4f7fb !important;
}

body {
    min-height: 100%;
    margin: 0 !important;
    background: #f4f7fb !important;
    color: #0f172a;
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body:before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(circle at 12% 8%, rgba(37,99,235,.09), transparent 32%),
        radial-gradient(circle at 88% 2%, rgba(14,165,233,.07), transparent 28%),
        #f4f7fb;
    pointer-events: none;
}

a {
    color: #2563eb;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

a:hover, a:focus { color: #1d4ed8; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
    color: #0f172a;
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 750;
    letter-spacing: -.025em;
}

h1 { font-size: 42px; line-height: 1.12; }
h2 { font-size: 30px; line-height: 1.18; }
h3 { font-size: 22px; line-height: 1.3; }
.lead { font-size: 18px; line-height: 1.7; font-weight: 450; }
.text-muted { color: #64748b !important; }
.text-primary, .section-color-3 { color: #2563eb !important; }
.section-color-1 { color: #f8fafc !important; }

.container { max-width: 1180px; }
section { padding: 72px 0; }

/* Header */
.intro-header {
    position: relative;
    overflow: hidden;
    min-height: 82px;
    text-align: left !important;
    color: #fff;
    background:
        radial-gradient(circle at 78% 0%, rgba(56,189,248,.20), transparent 34%),
        radial-gradient(circle at 16% 20%, rgba(99,102,241,.24), transparent 32%),
        linear-gradient(135deg, #07111f 0%, #0b1730 48%, #101b3f 100%) !important;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.08);
}

.intro-header:before,
.intro-header:after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 50%;
    pointer-events: none;
}
.intro-header:before { width: 520px; height: 520px; right: -220px; top: -300px; }
.intro-header:after { width: 360px; height: 360px; left: -210px; bottom: -230px; }

nav { position: relative !important; z-index: 10; }
.navbar {
    min-height: 82px;
    margin: 0 auto !important;
    padding: 14px 24px;
    border: 0;
    background: transparent;
}
.navbar:before, .navbar:after { display: table; content: " "; }
.navbar:after { clear: both; }
.navbar-header { min-height: 52px; }
.navbar-brand {
    display: block !important;
    height: 52px;
    padding: 12px 0;
    color: #fff !important;
    font-size: 22px;
    line-height: 28px;
    font-weight: 800;
    letter-spacing: -.04em;
}
.navbar-brand:before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 10px 1px 0;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 0 6px rgba(56,189,248,.12);
}
.navbar-nav {
    float: right !important;
    width: auto !important;
    margin: 4px 0 0 !important;
    text-align: right !important;
}
.navbar-nav > li {
    float: left !important;
    display: block !important;
    min-width: 0 !important;
    margin-left: 4px;
}
.navbar-nav > li.home { display: none !important; }
.navbar-nav > li > a {
    margin: 0;
    padding: 13px 14px !important;
    border: 0 !important;
    border-radius: 12px;
    color: #cbd5e1 !important;
    font-size: 12px;
    line-height: 20px;
    font-weight: 750;
    letter-spacing: .045em;
}
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li.active > a {
    color: #fff !important;
    background: rgba(255,255,255,.08) !important;
    border: 0 !important;
}
.navbar-nav > li:last-child > a {
    color: #07111f !important;
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.16);
}
.navbar-nav > li:last-child > a:hover { background: #eaf2ff !important; }
.navbar-toggle {
    margin-top: 7px;
    margin-right: 0;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    color: #fff !important;
    background: rgba(255,255,255,.07);
}

/* Hero */
.intro-message {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    padding: 88px 20px 118px !important;
    text-align: center;
}
.intro-message:before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 500px;
    height: 220px;
    left: 50%;
    top: 90px;
    margin-left: -250px;
    border-radius: 50%;
    background: rgba(37,99,235,.22);
    filter: blur(75px);
}
.intro-message > h1 {
    margin: 0 0 18px !important;
    color: #fff;
    font-size: 64px !important;
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: -.055em;
    text-shadow: none !important;
}
.intro-message > h3 {
    max-width: 680px;
    margin: 0 auto 28px;
    color: #cbd5e1;
    font-size: 21px;
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: -.015em;
    text-shadow: none !important;
}
.intro-divider {
    width: 56px !important;
    margin: 30px auto !important;
    border: 0 !important;
    border-top: 3px solid #38bdf8 !important;
}
.intro-message .btn-default {
    min-width: 250px;
    padding: 15px 24px;
    border: 1px solid #fff;
    border-radius: 14px;
    color: #07111f;
    background: #fff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 16px 35px rgba(0,0,0,.22);
}
.intro-message .btn-default:hover {
    color: #07111f;
    background: #eaf2ff;
    transform: translateY(-2px);
}

/* Main sections */
#disclaimer { background: #f8fafc !important; }
#services {
    position: relative;
    overflow: hidden;
    background: #0b1730 !important;
}
#services:before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -160px;
    top: -180px;
    border-radius: 50%;
    background: rgba(37,99,235,.20);
    filter: blur(30px);
}
#services .section-heading, #services .lead, #services h1, #services h2, #services h3 { color: #f8fafc !important; }
#services .lead { color: #cbd5e1 !important; }
#services a { color: #f8fafc !important; }
#services .fa[style*="font-size: 10em"] { opacity: .16; }

#disclaimer > .container > .row:first-child .heading-xlarge {
    margin-bottom: 2px;
    color: #0f172a !important;
    font-size: 64px !important;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.055em;
}
#disclaimer > .container > .row:first-child .lead { color: #64748b; }

.section-heading {
    margin-bottom: 18px !important;
    font-size: 31px;
    font-weight: 800;
    letter-spacing: -.035em;
}

/* Feature blocks included on auth pages */
.services {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 12%, rgba(56,189,248,.12), transparent 24%),
        linear-gradient(135deg, #07111f, #0c1a37) !important;
}
.services .panel {
    min-height: 190px;
    margin: 10px 0;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 22px;
    background: rgba(255,255,255,.055) !important;
    box-shadow: none;
    backdrop-filter: blur(8px);
}
.services .panel-body { padding: 30px 18px; }
.services .fa { color: #7dd3fc; font-size: 44px !important; }
.services h4 { color: #fff; font-size: 16px; }
.services .btn-default {
    margin-top: 20px;
    border-color: #fff;
    color: #07111f;
    background: #fff;
}

/* Cards / forms */
.panel {
    overflow: hidden;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.08);
}
.panel-default > .panel-heading {
    border-color: #e2e8f0;
    color: #0f172a;
    background: #f8fafc;
}
.panel-body { padding: 28px; }

.form-group { margin-bottom: 18px; }
.form-control {
    height: 48px;
    padding: 11px 14px;
    border: 1px solid #d7e0eb;
    border-radius: 12px;
    color: #0f172a;
    background: #fff;
    box-shadow: none !important;
    font-size: 15px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form-control.input-lg, .input-lg {
    height: 54px;
    padding: 13px 15px;
    border-radius: 13px;
    font-size: 16px;
}
textarea.form-control { min-height: 120px; height: auto; resize: vertical; }
.form-control:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(37,99,235,.10) !important;
}
.form-control::-webkit-input-placeholder { color: #94a3b8; }
.form-control::-moz-placeholder { color: #94a3b8; opacity: 1; }
.form-control:-ms-input-placeholder { color: #94a3b8; }
label { color: #334155; font-weight: 700; }
.checkbox label, .form-check-label { color: #64748b; font-size: 13px; font-weight: 500; line-height: 1.55; }

.btn {
    border-radius: 12px;
    font-weight: 750;
    transition: all .18s ease;
}
.btn-lg { padding: 13px 20px; font-size: 15px; }
.btn-primary, .btn-info {
    border-color: #2563eb !important;
    color: #fff !important;
    background: #2563eb !important;
    box-shadow: 0 10px 24px rgba(37,99,235,.22);
}
.btn-primary:hover, .btn-primary:focus, .btn-info:hover, .btn-info:focus {
    border-color: #1d4ed8 !important;
    background: #1d4ed8 !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37,99,235,.28);
}
.btn-default {
    border-color: #d7e0eb;
    color: #0f172a;
    background: #fff;
}
.btn-default:hover, .btn-default:focus { border-color: #bfdbfe; color: #1d4ed8; background: #eff6ff; }
.btn-danger { border-color: #ef4444; background: #ef4444; }

/* Auth screens */
.signForm { text-align: left; }
#disclaimer .signForm + * { text-align: center; }
#disclaimer .panel .btn-group-justified .btn {
    border: 0;
    color: #1d4ed8;
    background: #eff6ff;
    box-shadow: inset 0 0 0 1px #dbeafe;
}
#disclaimer .panel .btn-group-justified .btn.active { box-shadow: inset 0 0 0 1px #bfdbfe; }
.alert { border: 0; border-radius: 14px; }
.alert-success { color: #166534; background: #ecfdf3; }
.alert-danger { color: #991b1b; background: #fef2f2; }

/* Account navigation */
#accountTabs2 {
    display: -webkit-flex;
    display: flex;
    gap: 7px;
    padding: 7px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 12px 34px rgba(15,23,42,.07);
}
#accountTabs2 > li {
    float: none !important;
    -webkit-flex: 1 1 0;
    flex: 1 1 0;
    width: auto !important;
    margin: 0 !important;
    border: 0 !important;
}
#accountTabs2 > li > a {
    min-height: 70px;
    padding: 12px 8px;
    border: 0 !important;
    border-radius: 13px;
    color: #64748b !important;
    background: transparent !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
}
#accountTabs2 > li > a .glyphicon { margin-bottom: 6px; color: #94a3b8; font-size: 17px; }
#accountTabs2 > li.active > a,
#accountTabs2 > li > a:hover,
#accountTabs2 > li > a:focus {
    color: #1d4ed8 !important;
    background: #eff6ff !important;
}
#accountTabs2 > li.active > a .glyphicon,
#accountTabs2 > li > a:hover .glyphicon { color: #2563eb; }
#tabContent { min-height: 280px; }
#tabContent > .tab-pane > p.text-muted,
#tabContent > p.text-muted {
    margin: 16px 0 22px;
    color: #64748b !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Wallet cards */
[id^="wallet-layer-"] {
    margin: 12px 0 !important;
    padding: 18px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15,23,42,.045);
}
[id^="wallet-layer-"] .row:first-child { display: -webkit-flex; display: flex; align-items: center; }
[id^="wallet-layer-"] h1,
[id^="wallet-layer-"] h2,
[id^="wallet-layer-"] h4 { margin-top: 4px; margin-bottom: 4px; }
[id^="wallet-layer-"] h2 { font-size: 20px; }
[id^="wallet-layer-"] h1 { font-size: 28px; font-weight: 800; letter-spacing: -.035em; }
[id^="wallet-layer-"] h2 > a { color: #0f172a; }
[id^="wallet-layer-"] .btn-xs { border-radius: 8px; }
[id^="wallet-layer-"] .dropdown-menu {
    padding: 7px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(15,23,42,.12);
}
[id^="wallet-layer-"] .dropdown-menu > li > a { padding: 9px 10px; border-radius: 8px; color: #334155; }
[id^="wallet-layer-"] .dropdown-menu > li > a:hover { background: #eff6ff; color: #1d4ed8; }
[id^="wallet-layer-"] .collapse { margin-top: 12px; padding-top: 14px; border-top: 1px solid #edf2f7; }
[id^="wallet-hr-"] { display: none; }

/* Tables & reviews */
.table { background: transparent; }
.table > thead > tr > th {
    border-bottom: 1px solid #dbe4ef;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.table > tbody > tr > td { padding: 15px 12px; border-top-color: #edf2f7; vertical-align: middle; }
#reviewList > tr > td {
    margin: 8px 0;
    padding: 17px 18px;
    border: 0 !important;
    border-radius: 14px;
    color: #334155;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e2e8f0;
}
#reviewList > tr { display: block; margin-bottom: 9px; }
#reviewList > tr > td { display: block; }
.showMoreReviews { padding-left: 22px; padding-right: 22px; }

/* Modal */
.modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(2,6,23,.28);
}
.modal-header, .modal-footer { padding: 18px 22px; border-color: #e2e8f0; background: #fff; }
.modal-body { padding: 22px; background: #fff; }
.modal-title { font-weight: 800; }
.modal-backdrop.in { opacity: .58; }

/* Footer */
.container-fluid.bg-inverse {
    padding-top: 26px !important;
    padding-bottom: 14px !important;
    color: #94a3b8 !important;
    background: #07111f !important;
    box-shadow: 0 500px 0 500px #07111f !important;
}
.container-fluid.bg-inverse a { color: #cbd5e1 !important; }
.container-fluid.bg-inverse a:hover { color: #fff !important; }
.container-fluid.bg-inverse .text-muted { color: #94a3b8 !important; }

/* Misc */
.pagination > li > a, .pagination > li > span { border-color: #e2e8f0; color: #334155; }
.pagination > .active > a, .pagination > .active > span { border-color: #2563eb; background: #2563eb; }
.badge, .label { border-radius: 7px; }
.supporttab { border-radius: 14px 0 0 14px !important; background: #2563eb !important; box-shadow: 0 10px 30px rgba(37,99,235,.3); }

/* Mobile */
@media (max-width: 991px) {
    section { padding: 58px 0; }
    .intro-message > h1 { font-size: 50px !important; }
    #accountTabs2 { overflow-x: auto; -webkit-overflow-scrolling: touch; justify-content: flex-start; }
    #accountTabs2 > li { -webkit-flex: 0 0 110px; flex: 0 0 110px; }
}

@media (max-width: 767px) {
    body { font-size: 14px; }
    h1 { font-size: 32px; }
    h2 { font-size: 25px; }
    section { padding: 46px 0; }
    .container { padding-left: 18px; padding-right: 18px; }

    .navbar { min-height: 70px; padding: 9px 18px; }
    .navbar-header { min-height: 50px; }
    .navbar-brand { padding: 11px 0; font-size: 20px; }
    .navbar-collapse {
        position: absolute;
        z-index: 30;
        left: 14px;
        right: 14px;
        top: 66px;
        max-height: none !important;
        padding: 8px !important;
        border: 1px solid rgba(255,255,255,.10) !important;
        border-radius: 16px;
        background: #0b1730;
        box-shadow: 0 22px 55px rgba(0,0,0,.38);
    }
    .navbar-nav { float: none !important; width: 100% !important; margin: 0 !important; text-align: left !important; }
    .navbar-nav > li { float: none !important; width: 100% !important; margin: 2px 0; }
    .navbar-nav > li > a { padding: 12px !important; }
    .navbar-nav > li:last-child > a { margin-top: 5px; text-align: center; }

    .intro-message { padding: 68px 8px 78px !important; }
    .intro-message > h1 { font-size: 39px !important; line-height: 1.08; }
    .intro-message > h3 { font-size: 17px; line-height: 1.55; }
    .intro-message .btn-default { width: 100%; min-width: 0; max-width: 320px; }

    #disclaimer > .container > .row:first-child .heading-xlarge { font-size: 48px !important; }
    .section-heading { font-size: 26px; }
    .panel-body { padding: 22px 18px; }

    #accountTabs2 { margin-left: -4px; margin-right: -4px; border-radius: 15px; }
    #accountTabs2 > li > a { min-height: 64px; }

    [id^="wallet-layer-"] { padding: 15px 14px; border-radius: 15px; }
    [id^="wallet-layer-"] .row:first-child { display: block; }
    [id^="wallet-layer-"] h2 { font-size: 18px; }
    [id^="wallet-layer-"] h1 { font-size: 23px; }
    [id^="wallet-layer-"] .col-xs-6 { width: 50%; }

    .modal-dialog { margin: 12px; }
    .modal-content { border-radius: 16px; }
    .modal-body { padding: 18px; }
    .modal-footer .btn { margin-bottom: 6px; }

    .container-fluid.bg-inverse { text-align: center; }
    .container-fluid.bg-inverse .col-md-6 { margin-top: 8px; }
}

@media (max-width: 420px) {
    .intro-message > h1 { font-size: 34px !important; }
    .intro-message > h3 { font-size: 16px; }
    .form-control.input-lg, .input-lg { height: 50px; font-size: 16px; }
    #accountTabs2 > li { -webkit-flex-basis: 102px; flex-basis: 102px; }
    [id^="wallet-layer-"] h1 { font-size: 20px; }
}
