* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: #eef3f8;
    color: #1e293b;
}

/* Top Bar */
.topbar {
    background: linear-gradient(135deg, #0b3d91, #0b5ed7);
    color: #fff;
    padding: 14px 0;
    box-shadow: 0 12px 30px rgba(15, 61, 145, .25);
    max-width: 1200px;
    margin: 18px auto 0;
    border-radius: 16px;
    position: relative;
    z-index: 50;
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.topnav a, .topnav-dropdown-trigger {
    color: #fff;
    margin-left: 0;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    opacity: .92;
    position: relative;
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.topnav-item-dropdown {
    position: relative;
}

.topnav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    margin-top: 8px;
    border: 1px solid #e2e8f0;
}

.topnav-item-dropdown:hover .topnav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.topnav-dropdown-menu a {
    display: block;
    color: #1e293b;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 600;
    opacity: 1;
    white-space: nowrap;
}

.topnav-dropdown-menu a:hover {
    background: #f1f5f9;
    color: #0b5ed7;
}

.topnav-dropdown-menu a.active {
    background: #eff6ff;
    color: #0b5ed7;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
}

.topnav a.active {
    background: rgba(255,255,255,.14);
    opacity: 1;
}

.topnav a.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255,255,255,.85);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-balance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.nav-balance.low {
    background: rgba(245, 158, 11, .22);
    border-color: rgba(245, 158, 11, .3);
}

.nav-balance .amount {
    font-variant-numeric: tabular-nums;
}

.nav-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.nav-burger {
    display: none;
}

.nav-icon.nav-notifications {
    position: relative;
}

.nav-profile-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 10px 3px 3px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease;
    height: 32px;
    vertical-align: middle;
}

.nav-profile-pill:hover {
    background: rgba(255,255,255,.18);
}

.nav-profile-img-container {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-profile-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-profile-name {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.nav-profile-arrow {
    display: flex;
    align-items: center;
    opacity: 0.8;
}

@media (max-width: 600px) {
    .nav-profile-name, .nav-profile-arrow {
        display: none;
    }
    .nav-profile-pill {
        padding: 0;
        width: 32px;
        justify-content: center;
    }
}

.vh-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    border: 2px solid rgba(15, 23, 42, .95);
    line-height: 1;
}

.vh-notif {
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid #e8eef7;
    background: #fff;
}

.vh-notif + .vh-notif {
    margin-top: 10px;
}

.vh-notif.vh-unread {
    border-color: #c7dbff;
    background: #f3f7ff;
}

.vh-notif-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.vh-notif-title {
    font-weight: 900;
    color: #0f172a;
}

.vh-notif-time {
    font-size: 12px;
    color: #64748b;
    font-weight: 800;
    white-space: nowrap;
}

.vh-notif-msg {
    margin-top: 6px;
    color: #0f172a;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.35;
}

.vh-notif-read {
    margin-top: 10px;
    border: 1px solid #dbe7f6;
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 900;
    cursor: pointer;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 18px auto;
    padding: 0 20px;
}

.site-footer {
    max-width: 1200px;
    margin: 0 auto 18px;
    padding: 16px 0;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8eef7;
    box-shadow: 0 10px 25px rgba(2, 6, 23, .06);
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.site-footer-left {
    display: grid;
    gap: 4px;
}

.site-footer-brand {
    font-weight: 900;
    color: #0f172a;
}

.site-footer-meta {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.site-footer-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-footer-right a {
    color: #0b5ed7;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
}

.site-footer-right a:hover {
    text-decoration: underline;
}

/* Wallet */
.wallet-card {
    background: #16a34a;
    color: #fff;
    padding: 25px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.balance {
    font-size: 28px;
    font-weight: bold;
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.services-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.strip-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e8eef7;
    box-shadow: 0 10px 25px rgba(2, 6, 23, .06);
    text-decoration: none;
    color: inherit;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.strip-tile:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(2, 6, 23, .08);
    border-color: #dbe7f6;
}

.strip-title {
    font-weight: 900;
    color: #0f172a;
}

.strip-sub {
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
}

.strip-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.strip-tile.phone { border-left: 5px solid #16a34a; }
.strip-tile.email { border-left: 5px solid #2563eb; }
.strip-tile.ip { border-left: 5px solid #7c3aed; }

.hero-actions {
    display: none;
    gap: 12px;
    margin-top: 14px;
}

.dash-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 14px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #cfdced;
}

.dash-quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.dash-quick-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 12px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e8eef7;
    color: #0f172a;
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
    box-shadow: 0 10px 25px rgba(2, 6, 23, .06);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    -webkit-tap-highlight-color: transparent;
}

.dash-quick-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(2, 6, 23, .08);
    border-color: #dbe7f6;
}

.dash-quick-btn .ico {
    width: 34px;
    height: 34px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    flex: 0 0 auto;
}

.dash-service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(2, 6, 23, .18);
    border: 1px solid rgba(255,255,255,.16);
    position: relative;
    overflow: hidden;
    transition: transform .12s ease, box-shadow .12s ease;
}

.dash-service:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(2, 6, 23, .22);
}

.dash-service::after {
    content: "";
    position: absolute;
    inset: -60px -40px auto auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
}

.dash-service-text {
    position: relative;
    z-index: 1;
}

.dash-service-title {
    font-weight: 900;
    font-size: 14px;
    letter-spacing: .2px;
}

.dash-service-sub {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    opacity: .92;
}

.dash-service-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 10px 20px rgba(2, 6, 23, .16);
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

.dash-service.phone {
    background: linear-gradient(135deg, #0b3d91, #0b5ed7);
}

.dash-service.email {
    background: linear-gradient(135deg, #0b5ed7, #38bdf8);
}

.dash-service.ip {
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
}

.dash-service.risk {
    background: linear-gradient(135deg, #0f172a, #334155);
}

.dash-service.social {
    background: linear-gradient(135deg, #0ea5e9, #22d3ee);
}

.dash-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.service-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.service-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-title h4 {
    margin: 0;
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef3f8;
    border: 1px solid #e5edf7;
    font-size: 18px;
}

.service-card button {
    margin-top: 15px;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 8px;
    background: #0b5ed7;
    color: #fff;
    cursor: pointer;
}

.service-card.phone { border-top: 5px solid #16a34a; }
.service-card.email { border-top: 5px solid #2563eb; }
.service-card.ip { border-top: 5px solid #7c3aed; }

/* Cards */
.card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

/* Activity */
.activity li {
    margin-bottom: 10px;
    list-style: none;
}

/* Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Stats */
.stats {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}

.stat {
    flex: 1;
    padding: 15px;
    border-radius: 10px;
    color: #fff;
    text-align: center;
}

.green { background: #16a34a; }
.blue  { background: #2563eb; }
.red   { background: #dc2626; }

/* Buttons */
.btn {
    background: linear-gradient(135deg, #0b3d91, #0b5ed7);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 22px rgba(11, 94, 215, .18);
}

.btn.navy {
    background: linear-gradient(135deg, #0b3d91, #0b5ed7);
}

.btn.dark {
    background: #1e293b;
}

/* Responsive */
@media (max-width: 768px) {
    .topbar {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .topbar-inner {
        padding: 12px 14px;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .logo {
        justify-content: center;
        flex: 1;
    }

    .topnav {
        display: none;
    }

    .nav-right {
        display: flex;
    }

    .nav-burger {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .nav-search,
    .nav-settings,
    .nav-profile {
        display: none;
    }

    .nav-right {
        gap: 8px;
        flex: 0 0 auto;
    }

    .nav-balance {
        padding: 7px 9px;
        font-size: 12px;
    }

    .container {
        padding: 0 14px;
        margin: 14px auto;
    }

    .wallet-card {
        flex-direction: column;
        gap: 15px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .welcome {
        flex-direction: column;
        align-items: stretch;
    }

    .wallet-summary {
        min-width: 0;
    }

    .wallet-summary .actions-row {
        display: none;
    }

    .services-strip {
        grid-template-columns: 1fr;
    }

    .validation-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
    }

    .dash-services {
        grid-template-columns: 1fr;
    }

    .dash-quick {
        grid-template-columns: repeat(2, 1fr);
    }

    .api-doc-actions {
        grid-template-columns: 1fr;
    }

    .site-footer {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .site-footer-inner {
        padding: 0 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer-right {
        width: 100%;
        justify-content: flex-start;
        gap: 10px 12px;
    }
}

@media (max-width: 480px) {
    .logo img[alt="VerifyHub"] {
        display: none;
    }
    
    .logo {
        justify-content: flex-start;
        flex: 0 0 auto;
    }
    
    .topbar-inner {
        padding: 12px 10px;
        gap: 8px;
        justify-content: space-between;
    }
    
    .nav-right {
        flex: 1;
        justify-content: flex-end;
    }
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 20px;
    align-items: start;
}

.dashboard-grid > div:first-child .panel {
    background: linear-gradient(135deg, #f7fbff, #eaf2ff);
    border: 1px solid #dbe7f6;
}

.dashboard-grid > div:first-child .panel-body {
    padding: 18px 18px 16px;
}

.panel {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    overflow: hidden;
}

.panel-header {
    background: linear-gradient(135deg, #0b3d91, #0b5ed7);
    color: #fff;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.panel-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    font-size: 14px;
}

.panel-sub {
    font-size: 12px;
    opacity: .92;
    font-weight: 600;
}

.panel-body {
    padding: 18px;
}

.validation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
}

.field-label {
    font-size: 13px;
    color: #475569;
    font-weight: 700;
    margin-bottom: 8px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.chip input {
    display: none;
}

.chip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-weight: 800;
    font-size: 12px;
}

.chip input:checked + span {
    background: linear-gradient(135deg, #0b3d91, #0b5ed7);
    border-color: rgba(255, 255, 255, .0);
    color: #ffffff;
}

.result-box {
    margin-top: 14px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    overflow: hidden;
}

.result-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #eef2f7;
    font-size: 13px;
}

.result-row:last-child {
    border-bottom: none;
}

.result-row span {
    color: #64748b;
}

.result-row strong {
    color: #0f172a;
    font-weight: 800;
    text-align: right;
}

.text-ok {
    color: #16a34a !important;
}

.text-bad {
    color: #dc2626 !important;
}

.welcome {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    margin-bottom: 18px;
}

.welcome h2 {
    font-size: 28px;
}

.muted {
    color: #64748b;
    margin-top: 6px;
}

.wallet-summary {
    background: transparent;
    padding: 0;
    min-width: 280px;
    box-shadow: none;
    border: none;
    display: flex;
    flex-direction: column;
}

.wallet-part-top {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    border-radius: 6px 6px 0 0;
    padding: 12px 18px;
    box-shadow: 0 16px 38px rgba(22, 163, 74, .26);
    border: 1px solid rgba(255,255,255,.16);
    border-bottom: 1px solid rgba(255,255,255,.2);
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 15px;
}

.wallet-part-top .w-label {
    opacity: 0.85;
    font-weight: 700;
}

.wallet-part-top .w-value {
    font-weight: 900;
    opacity: 1;
}

.wallet-part-bottom {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #0f172a;
    padding: 10px 18px;
    border-radius: 0 0 6px 6px;
    border: 1px solid rgba(255,255,255,.18);
    border-top: none;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.wallet-part-bottom .w-label {
    color: #556070;
    font-weight: 700;
    font-size: 13px;
}

.wallet-part-bottom .w-value {
    color: #0f172a;
    font-weight: 900;
    font-size: 16px;
}

.vh-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, .55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}

.vh-modal-overlay[hidden] {
    display: none;
}

.vh-modal-overlay.vh-open {
    opacity: 1;
    pointer-events: auto;
}

.vh-modal {
    width: min(720px, 100%);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 26px 70px rgba(2, 6, 23, .35);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.20);
    transform: translateY(60px) scale(.93);
    opacity: 0;
    transition: transform .65s cubic-bezier(0.19, 1, 0.22, 1), opacity .5s ease;
}

.vh-modal.vh-modal-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.vh-modal-overlay.vh-open .vh-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.vh-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #eef2f7;
}

.vh-modal-head {
    display: grid;
    gap: 4px;
}

.vh-modal-title {
    font-weight: 900;
    color: #0f172a;
    font-size: 16px;
}

.vh-modal-sub {
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
}

.vh-modal-close {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background: #4646c6;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #ffffff;
}

.vh-modal-body {
    padding: 16px;
    overflow-y: auto;
    max-height: calc(100vh - 140px);
}

/* Mobile Drawer */
.vh-drawer-overlay {
    align-items: flex-start;
    padding: 0;
}

.vh-drawer {
    width: min(85vw, 320px);
    height: 100%;
    max-height: 100%;
    border-radius: 0 20px 20px 0;
    transform: translateX(-100%);
    margin: 0;
    display: flex;
    flex-direction: column;
}

.vh-drawer-overlay.vh-open .vh-drawer {
    transform: translateX(0);
}

.vh-drawer .vh-modal-header {
    border-bottom: none;
    padding-bottom: 0;
    flex: 0 0 auto;
}

.vh-drawer .vh-modal-body {
    padding: 0;
    flex: 1;
    overflow-y: auto;
}

.vh-drawer-balance {
    margin: 10px 16px 24px;
    background: linear-gradient(135deg, #0b3d91, #0b5ed7);
    color: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(11, 61, 145, .25);
    position: relative;
    overflow: hidden;
}

.vh-drawer-balance::after {
    content: "";
    position: absolute;
    right: -20px;
    top: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.vh-drawer-balance-title {
    font-size: 11px;
    opacity: 0.9;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.vh-drawer-balance-amt {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
    position: relative;
    z-index: 1;
}

.vh-drawer-balance .actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.vh-drawer-balance .btn {
    width: 100%;
    padding: 8px;
    font-size: 13px;
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
}

.vh-drawer-balance .btn:hover {
    background: rgba(255,255,255,0.2);
}

.vh-drawer-balance .btn.navy {
    background: #fff;
    color: #0b3d91;
    border: none;
}

.vh-drawer-section {
    padding: 0 16px 28px;
}

.vh-drawer-section-title {
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    margin-bottom: 8px;
    padding-left: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vh-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vh-drawer-link {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    transition: all .15s ease;
}

.vh-drawer-link:hover,
.vh-drawer-link:active {
    background: #f1f5f9;
    color: #0f172a;
    transform: translateX(4px);
}

.vh-drawer-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.vh-drawer-service {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 16px;
    border-radius: 14px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    transition: all .15s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.vh-drawer-service:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}

.vh-drawer-service .ico {
    font-size: 24px;
    display: block;
    line-height: 1;
}

.vh-drawer-service span:last-child {
    font-weight: 700;
    color: #0f172a;
    font-size: 13px;
}



.vh-list {
    display: grid;
}

.vh-list-row {
    appearance: none;
    width: 100%;
    text-align: left;
    padding: 14px 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #eef2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 10px;
}

.vh-list-row:hover {
    border-color: #dbe7f6;
    box-shadow: 0 10px 24px rgba(2, 6, 23, .06);
}

.vh-list-title {
    font-weight: 900;
    color: #0f172a;
    font-size: 13px;
}

.vh-list-chevron {
    color: #94a3b8;
    font-weight: 900;
    font-size: 18px;
}

.vh-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.vh-step-title {
    font-weight: 900;
    color: #0f172a;
}

.vh-search-row {
    margin-bottom: 12px;
}

.vh-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.vh-service-card {
    background: #ffffff;
    border: 1px solid #e8eef7;
    border-radius: 14px;
    padding: 14px 14px;
    box-shadow: 0 10px 25px rgba(2, 6, 23, .06);
    display: grid;
    gap: 10px;
    position: relative;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
    will-change: transform, box-shadow;
}

.vh-service-card:hover,
.vh-service-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(2, 6, 23, .14);
    border-color: #dbe7f6;
}

.vh-service-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.vh-service-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #eef2ff;
    color: #3730a3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 13px;
    flex: 0 0 auto;
}

.vh-service-icon.vh-has-img {
    background: #ffffff;
    border: 1px solid #e8eef7;
}

.vh-service-icon img {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
}

.vh-service-fav {
    appearance: none;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid #e8eef7;
    background: #f8fafc;
    color: #64748b;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.vh-service-fav.vh-active {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #e11d48;
}

.vh-service-name {
    font-weight: 900;
    color: #0f172a;
}

.vh-service-price {
    font-weight: 900;
    color: #0b5ed7;
}

.vh-empty {
    padding: 14px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed #dbe7f6;
    color: #64748b;
    font-weight: 800;
}

.vh-skeleton {
    background: linear-gradient(90deg, #f1f5f9, #ffffff, #f1f5f9);
    background-size: 200% 100%;
    animation: vhShimmer 1.2s infinite;
    border-color: #eef2f7 !important;
    color: transparent !important;
    user-select: none;
}

@keyframes vhShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.vh-purchase {
    margin-top: 14px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    padding: 14px 14px;
    display: grid;
    gap: 10px;
}

.vh-purchase-title {
    font-weight: 900;
    color: #0f172a;
}

.vh-purchase-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #eef2f7;
}

.vh-purchase-row:last-child {
    border-bottom: none;
}

.vh-purchase-row span {
    color: #64748b;
    font-weight: 700;
}

.vh-purchase-row strong {
    color: #0f172a;
    font-weight: 900;
    text-align: right;
}

.vh-purchase-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vh-confirm {
    display: grid;
    gap: 14px;
    padding: 6px 0 2px;
}

.vh-confirm-service {
    padding: 1px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0b3d91, #7c3aed, #16a34a);
}

.vh-confirm-service-inner {
    background: #ffffff;
    border-radius: 15px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.vh-confirm-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.vh-confirm-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
}

.vh-confirm-text {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.vh-confirm-name {
    font-weight: 900;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vh-confirm-price {
    font-weight: 900;
    color: #0b5ed7;
    font-size: 13px;
}

.vh-confirm-right {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 10px 12px;
    flex: 0 0 auto;
}

.vh-confirm-flag {
    font-size: 16px;
    line-height: 1;
}

.vh-confirm-code {
    font-weight: 900;
    color: #0f172a;
    font-size: 13px;
}

.vh-confirm-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(245, 158, 11, .10);
    border: 1px solid rgba(245, 158, 11, .30);
    color: #92400e;
    font-weight: 800;
    font-size: 13px;
}

.vh-confirm-alert-ico {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f59e0b;
    color: #ffffff;
    font-weight: 900;
    flex: 0 0 auto;
    font-size: 13px;
}

.vh-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 4px;
}

.vh-otp-thread {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #eef2f7;
    padding: 16px 14px;
}

.vh-otp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vh-otp-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.vh-otp-number {
    font-weight: 900;
    color: #0f172a;
    font-size: 22px;
    letter-spacing: .2px;
}

.vh-otp-number strong {
    font-weight: 900;
}

.vh-otp-count-pill {
    width: fit-content;
    background: rgba(245, 158, 11, .18);
    border: 1px solid rgba(245, 158, 11, .35);
    color: #b45309;
    font-weight: 900;
    padding: 10px 12px;
    border-radius: 14px;
    margin: 10px 0 8px;
}

.vh-otp-note {
    color: #64748b;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.35;
}

.vh-otp-sep {
    height: 1px;
    background: #e2e8f0;
    margin: 14px 0 8px;
}

.vh-otp-time {
    color: #94a3b8;
    font-weight: 800;
    font-size: 14px;
    margin: 10px 0 10px;
}

.vh-otp-sender {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 10px;
}

.vh-otp-sender span {
    color: #64748b;
    font-weight: 900;
}

.vh-otp-sender strong {
    font-weight: 900;
}

.vh-otp-pill,
.vh-otp-bubble {
    background: #eaf2ff;
    border-radius: 12px;
    padding: 14px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vh-otp-pill {
    width: fit-content;
    min-width: 160px;
    padding: 16px 16px;
}

.vh-otp-pill-text {
    font-weight: 500;
    color: #0f172a;
    font-size: 26px;
    letter-spacing: .6px;
}

.vh-otp-message-text {
    font-weight: 500;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.25;
}

.vh-otp-copy {
    border: none;
    background: transparent;
    padding: 6px;
    border-radius: 10px;
    cursor: pointer;
    color: #64748b;
    flex: 0 0 auto;
}

.vh-otp-copy:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.vh-otp-copy:hover:not(:disabled) {
    background: rgba(100, 116, 139, .12);
}

.vh-otp-copy svg {
    width: 18px;
    height: 18px;
    display: block;
}

.vh-otp-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
}

.vh-otp-countdown {
    font-weight: 900;
    color: #0f172a;
    font-size: 14px;
}

.vh-otp-countdown strong {
    font-weight: 900;
    color: #0b5ed7;
}

.btn.vh-outline {
    background: #ffffff;
    color: #0b5ed7;
    border: 1px solid #cbd5e1;
    box-shadow: none;
}

.btn.vh-outline:hover {
    background: #f8fafc;
}

@media (max-width: 900px) {
    .vh-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .vh-service-grid {
        grid-template-columns: 1fr;
    }
}

.wallet-summary .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.22);
}

.wallet-summary .row:last-child {
    border-bottom: none;
}

.wallet-summary .value {
    font-weight: 900;
    letter-spacing: .2px;
}

.service-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.pill {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef3f8;
    color: #0f172a;
    font-weight: 600;
}

.actions-row {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.btn.secondary {
    background: #f59e0b;
}

.btn.block {
    width: 100%;
}

.panel-head-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.panel-head-mark {
    width: 26px;
    height: 26px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    font-size: 14px;
}

.panel-head-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.panel-head-ico {
    width: 26px;
    height: 26px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
    font-size: 13px;
    opacity: .95;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.api-key-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #dbe7f6;
    border-radius: 8px;
}

.api-key-label {
    color: #1e3a8a;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.api-key-value {
    flex: 1;
    font-size: 12px;
    color: #0f172a;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.api-doc {
    margin-top: 12px;
    background: #f6f9ff;
    border: 1px solid #dbe7f6;
    border-radius: 10px;
    padding: 12px;
}

.api-doc-title {
    font-weight: 900;
    color: #1e3a8a;
    font-size: 13px;
    margin-bottom: 10px;
}

.api-doc-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.activity {
    margin-top: 12px;
    display: grid;
    gap: 0;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #e7eef8;
    background: transparent;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-dot {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.activity-dot.ok {
    background: rgba(22, 163, 74, .10);
    border-color: rgba(22, 163, 74, .25);
}

.activity-dot.bad {
    background: rgba(220, 38, 38, .10);
    border-color: rgba(220, 38, 38, .22);
}

.activity-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.activity-time {
    margin-left: auto;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    flex: 0 0 auto;
}

.activity-name {
    font-weight: 900;
    color: #0f172a;
    font-size: 13px;
}

.activity-meta {
    color: #64748b;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-grid .card {
    padding: 0;
    overflow: hidden;
}

.dashboard-grid .card .dash-card-head {
    padding: 12px 14px;
    background: #f1f6ff;
    border-bottom: 1px solid #e3ebf7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dashboard-grid .card .dash-card-head h3 {
    padding: 0;
    background: transparent;
    border: none;
    font-size: 13px;
    font-weight: 900;
    color: #1e3a8a;
    margin: 0;
}

.dashboard-grid .card .activity {
    padding: 10px 0;
}

.form-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    padding: 18px;
}

.input {
    width: 100%;
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    padding: 12px 14px;
    outline: none;
    font-size: 14px;
    background: #fff;
}

.input:focus {
    border-color: #0b5ed7;
    box-shadow: 0 0 0 3px rgba(11,94,215,.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
}

.notice {
    padding: 12px 14px;
    border-radius: 12px;
    margin-top: 12px;
    font-size: 14px;
}

.notice.ok {
    background: #dcfce7;
    color: #166534;
}

.notice.bad {
    background: #fee2e2;
    color: #991b1b;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.table th,
.table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eef2f7;
    text-align: left;
    font-size: 14px;
}

.table th {
    color: #475569;
    font-weight: 700;
    background: #f8fafc;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.history-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.kpi {
    border-radius: 12px;
    padding: 12px;
    color: #fff;
    text-align: center;
    font-size: 13px;
    box-shadow: 0 12px 26px rgba(2, 6, 23, .10);
}

.kpi strong {
    display: block;
    margin-top: 6px;
    font-size: 18px;
}

.kpi.green { background: linear-gradient(135deg, #16a34a, #22c55e); }
.kpi.blue { background: linear-gradient(135deg, #2563eb, #38bdf8); }
.kpi.red { background: linear-gradient(135deg, #dc2626, #f97316); }

.dashboard-grid .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.dashboard-grid .kpi {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    box-shadow: 0 10px 22px rgba(2, 6, 23, .10);
}

.dashboard-grid .kpi span {
    opacity: .92;
}

.dashboard-grid .kpi strong {
    display: block;
    margin-top: 0;
    font-size: 18px;
    line-height: 1;
}

.dashboard-grid .kpi.red {
    grid-column: 1 / span 2;
}

.chart-wrap {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #eef2f7;
}

.chart-title {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.bar-chart {
    height: 140px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    align-items: end;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 12px;
}

.bar {
    background: linear-gradient(180deg, #16a34a, #0ea5e9);
    border-radius: 10px 10px 6px 6px;
    position: relative;
    min-height: 6px;
}

.bar span {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
    white-space: nowrap;
}

.chart-labels {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    margin-top: 8px;
    font-size: 11px;
    color: #64748b;
    text-align: center;
}

@media (max-width: 1000px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .validation-grid {
        grid-template-columns: 1fr;
    }
    .wallet-summary {
        min-width: auto;
        width: 100%;
    }
    .welcome {
        flex-direction: column;
        align-items: stretch;
    }

    .history-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .history-actions .btn {
        width: 100%;
    }

    .history-card {
        padding: 18px;
    }

    .history-card .table {
        min-width: 720px;
        margin-top: 0;
    }
}
