:root {
    --hv-bg: #f4f7fa;
    --hv-surface: #ffffff;
    --hv-surface-soft: #f7fafc;
    --hv-surface-blue: #edf7fb;
    --hv-text: #102239;
    --hv-text-soft: #5d6d7e;
    --hv-text-faint: #627487;
    --hv-border: #dbe4eb;
    --hv-border-strong: #c9d5df;
    --hv-navy: #0c2945;
    --hv-navy-light: #173d5f;
    --hv-primary: #087da3;
    --hv-primary-dark: #056482;
    --hv-cyan: #21c0dc;
    --hv-success: #178255;
    --hv-success-soft: #e9f7f0;
    --hv-warning: #a45817;
    --hv-warning-soft: #fff5e7;
    --hv-danger: #b53c36;
    --hv-danger-soft: #fff0ef;
    --hv-shadow: 0 10px 32px rgba(17, 44, 67, .07);
    --hv-shadow-lg: 0 24px 64px rgba(13, 38, 60, .18);
}

* {
    box-sizing: border-box;
}

a,
button,
input {
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--hv-primary);
    outline-offset: 2px;
}

/* Shared authentication layout */

body.hv-auth-page {
    display: grid !important;
    min-width: 320px;
    min-height: 100vh;
    grid-template-columns: minmax(390px, .88fr) minmax(540px, 1.12fr);
    margin: 0;
    padding: 0 !important;
    color: var(--hv-text);
    background: var(--hv-bg) !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: left !important;
}

.hv-auth-story {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    padding: 38px clamp(36px, 5vw, 76px) 30px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 15% 90%, rgba(33, 192, 220, .15), transparent 35%),
        linear-gradient(150deg, #0b2946, #0b3654 58%, #075170);
}

.hv-auth-story::before,
.hv-auth-story::after {
    position: absolute;
    border: 1px solid rgba(93, 210, 228, .1);
    border-radius: 50%;
    content: "";
}

.hv-auth-story::before {
    right: -180px;
    bottom: -210px;
    width: 570px;
    height: 570px;
}

.hv-auth-story::after {
    right: -70px;
    bottom: -100px;
    width: 350px;
    height: 350px;
}

.hv-auth-brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
}

.hv-auth-brand:hover {
    color: #fff;
    text-decoration: none;
}

.hv-brand-mark {
    display: inline-grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, #13a7cc, #087397);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .17);
    font-size: 13px;
    font-weight: 800;
}

.hv-auth-brand strong,
.hv-auth-brand small {
    display: block;
}

.hv-auth-brand strong {
    font-size: 17px;
    line-height: 1.15;
}

.hv-auth-brand small {
    margin-top: 3px;
    color: #9fb9ca;
    font-size: 11px;
}

.hv-story-content {
    position: relative;
    z-index: 2;
    width: min(480px, 100%);
    margin: auto 0;
    padding: 55px 0;
}

.hv-story-pill {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid rgba(90, 219, 238, .18);
    border-radius: 999px;
    color: #83d9e6;
    background: rgba(33, 192, 220, .08);
    font-size: 10px;
    font-weight: 750;
}

.hv-story-content h1 {
    margin: 20px 0 16px;
    color: #fff;
    font-size: clamp(34px, 4.3vw, 56px);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -.055em;
}

.hv-story-content > p {
    max-width: 440px;
    margin-bottom: 30px;
    color: #b2c7d5;
    font-size: 14px;
    line-height: 1.65;
}

.hv-story-content ul {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    color: #c5d7e2;
    list-style: none;
    font-size: 12px;
}

.hv-story-content li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hv-story-content li i {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    color: #67d6e6;
    background: rgba(33, 192, 220, .12);
    font-size: 9px;
}

.hv-story-footer {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #7693a7;
    font-size: 10px;
}

.hv-auth-workspace {
    display: flex;
    min-width: 0;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 32px;
    background:
        linear-gradient(rgba(246, 249, 251, .92), rgba(246, 249, 251, .92)),
        radial-gradient(circle at 60% 0, #dceef3, transparent 45%);
}

.hv-auth-card {
    width: min(470px, 100%) !important;
    max-width: 470px !important;
    margin: 0 !important;
    padding: 24px 36px 30px !important;
    border: 1px solid var(--hv-border) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 20px 55px rgba(17, 44, 67, .1) !important;
}

.hv-auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin-bottom: 26px;
    padding: 4px;
    border-radius: 10px;
    background: #edf2f5;
}

.hv-auth-tabs a {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--hv-text-soft);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.hv-auth-tabs a.is-active {
    color: var(--hv-navy);
    background: #fff;
    box-shadow: 0 2px 9px rgba(16, 43, 63, .08);
}

.hv-auth-heading {
    margin-bottom: 24px;
    text-align: center;
}

.hv-auth-heading .avatar {
    position: static !important;
    width: 66px !important;
    height: 66px !important;
    margin: 0 auto 14px !important;
    padding: 4px;
    border-radius: 18px;
    background: #dff0f5;
}

.hv-auth-heading .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
}

.hv-auth-heading h1 {
    margin: 0 0 6px;
    color: var(--hv-text);
    font-size: 24px;
    font-weight: 750;
    letter-spacing: -.035em;
}

.hv-auth-heading p {
    margin: 0;
    color: var(--hv-text-soft);
    font-size: 12px;
}

.hv-auth-field {
    margin-bottom: 17px;
}

.hv-auth-field > label {
    display: block;
    margin-bottom: 7px;
    color: var(--hv-text);
    font-size: 12px;
    font-weight: 700;
}

.hv-auth-page .form-control,
.hv-auth-page .input-group-text {
    height: 47px;
    border-color: var(--hv-border-strong);
    background: #fff;
}

.hv-auth-page .input-group-text {
    min-width: 44px;
    justify-content: center;
    color: #6b7e8e;
    border-radius: 9px 0 0 9px;
}

.hv-auth-page .form-control {
    color: var(--hv-text);
    border-radius: 9px;
    font-size: 13px;
}

.hv-auth-page .input-group .form-control {
    border-left: 0;
    border-radius: 0 9px 9px 0;
}

.hv-auth-page .form-control:focus {
    border-color: var(--hv-primary);
    box-shadow: 0 0 0 3px rgba(8, 125, 163, .09);
}

.hv-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 2px 0 15px;
    color: var(--hv-text-soft);
    font-size: 11px;
}

.hv-auth-options label {
    margin: 0;
    cursor: pointer;
}

.hv-auth-options input {
    margin-right: 5px;
    accent-color: var(--hv-primary);
}

.hv-auth-options a,
.hv-auth-switch a {
    color: var(--hv-primary);
    font-weight: 700;
}

.hv-auth-message {
    min-height: 20px;
    margin-bottom: 10px;
    font-size: 11px;
    text-align: left;
}

.hv-primary-button,
.hv-auth-page .btn-register {
    min-height: 47px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #fff !important;
    background: var(--hv-primary) !important;
    box-shadow: 0 7px 18px rgba(8, 125, 163, .18);
    font-size: 12px;
    font-weight: 750;
}

.hv-primary-button:hover,
.hv-auth-page .btn-register:hover {
    background: var(--hv-primary-dark) !important;
}

.hv-auth-switch {
    margin: 18px 0 0;
    color: var(--hv-text-soft);
    font-size: 11px;
    text-align: center;
}

.hv-auth-trust {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 16px 0 0;
    color: var(--hv-text-soft);
    font-size: 12px;
}

.hv-auth-trust i {
    color: var(--hv-primary);
}

.hv-support-notice {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #d5e8ef;
    border-radius: 11px;
    color: #426274;
    background: #f2f9fb;
}

.hv-support-notice > i {
    margin-top: 3px;
    color: var(--hv-primary);
    font-size: 18px;
}

.hv-support-notice strong {
    display: block;
    color: #254f65;
    font-size: 12px;
}

.hv-support-notice p {
    margin: 4px 0 0;
    font-size: 11px;
    line-height: 1.6;
}

.hv-recovery-icon {
    display: grid;
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    place-items: center;
    border-radius: 17px;
    color: var(--hv-primary);
    background: var(--hv-surface-blue);
    font-size: 22px;
}

/* Registration */

.hv-register-page .hv-auth-workspace {
    justify-content: flex-start;
    overflow-y: auto;
}

.hv-register-page .registration-shell {
    width: min(640px, 100%) !important;
    margin: auto !important;
}

.hv-register-page .registration-card {
    overflow: hidden;
    border: 1px solid var(--hv-border) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 20px 55px rgba(17, 44, 67, .1) !important;
}

.hv-register-page .registration-header {
    padding: 24px 30px 10px !important;
    color: var(--hv-text) !important;
    background: transparent !important;
}

.hv-register-page .registration-header::after {
    display: none;
}

.hv-register-page .brand-row {
    align-items: center;
}

.hv-register-page .brand-logo {
    width: 58px;
    height: 58px;
    border: 4px solid #e1f1f5;
    border-radius: 16px;
}

.hv-register-page .registration-header h1 {
    color: var(--hv-text);
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -.03em;
}

.hv-register-page .registration-header p {
    color: var(--hv-text-soft);
    font-size: 11px;
}

.hv-register-page .registration-badge {
    margin-top: 8px;
    padding: 4px 8px;
    color: #1b714f;
    border-color: #cfeadf;
    background: var(--hv-success-soft);
    font-size: 11px;
    letter-spacing: 0;
    text-transform: none;
}

.hv-register-page .registration-body {
    padding: 16px 30px 28px !important;
}

.registration-stepper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.registration-stepper::before {
    position: absolute;
    top: 14px;
    left: 16%;
    right: 16%;
    height: 1px;
    background: var(--hv-border);
    content: "";
}

.registration-stepper li {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 6px;
    color: var(--hv-text-faint);
}

.registration-stepper li span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid var(--hv-border);
    border-radius: 50%;
    color: var(--hv-text-faint);
    background: #fff;
    font-size: 10px;
    font-weight: 800;
}

.registration-stepper li small {
    font-size: 11px;
    font-weight: 700;
}

.registration-stepper li.is-active,
.registration-stepper li.is-done {
    color: var(--hv-primary);
}

.registration-stepper li.is-active span,
.registration-stepper li.is-done span {
    color: #fff;
    border-color: var(--hv-primary);
    background: var(--hv-primary);
    box-shadow: 0 0 0 4px #e7f4f8;
}

.registration-step[hidden] {
    display: none !important;
}

.hv-register-page .required-note {
    margin-bottom: 20px;
    padding: 12px 13px;
    color: #42697c;
    border-color: #d6eaf1;
    border-radius: 10px;
    background: #f0f8fb;
    font-size: 12px;
}

.hv-register-page .section-title {
    margin-bottom: 15px;
    color: var(--hv-text);
    font-size: 15px;
}

.hv-register-page .section-title i {
    color: var(--hv-primary) !important;
}

.hv-register-page .form-group {
    margin-bottom: 16px;
}

.hv-register-page .form-group label {
    color: var(--hv-text);
    font-size: 13px;
}

.hv-register-page .form-control {
    height: 46px;
    border-color: var(--hv-border-strong);
    border-radius: 9px;
    font-size: 14px;
}

.hv-register-page .field-hint {
    color: var(--hv-text-faint);
    font-size: 12px;
}

.hv-register-page .consent-box {
    margin: 3px 0 18px;
    padding: 12px 13px;
    border-color: var(--hv-border);
    border-radius: 10px;
    background: var(--hv-surface-soft);
}

.hv-register-page .consent-box label {
    font-size: 12px;
}

.hv-register-page .form-message {
    margin-bottom: 12px;
    font-size: 12px;
}

.registration-actions {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 10px;
}

.registration-actions .btn {
    min-height: 47px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.hv-register-page .registration-footer {
    padding: 15px;
    color: var(--hv-text-soft);
    font-size: 12px;
}

.hv-register-page .registration-footer a {
    color: var(--hv-primary);
    font-weight: 700;
}

.hv-register-page .otp-backdrop {
    background: rgba(6, 26, 43, .58);
}

.hv-register-page .otp-modal {
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 17px;
    box-shadow: var(--hv-shadow-lg);
}

.hv-register-page .otp-modal-header .phone-icon {
    color: var(--hv-primary);
    background: var(--hv-surface-blue);
}

.hv-register-page .otp-modal-header h2 {
    color: var(--hv-text);
}

.hv-register-page .channel-pill {
    color: var(--hv-primary-dark);
    background: var(--hv-surface-blue);
}

.hv-register-page .otp-digit:focus {
    border-color: var(--hv-primary);
    box-shadow: 0 0 0 3px rgba(8, 125, 163, .1);
}

.otp-demo-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #f1d38a;
    border-radius: 11px;
    color: #6f4b05;
    background: #fff7dc;
}

.otp-demo-note[hidden] {
    display: none !important;
}

.otp-demo-note span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.otp-demo-note strong {
    white-space: nowrap;
    font-size: 13px;
}

.otp-demo-note code {
    padding: 2px 6px;
    border-radius: 6px;
    color: #075d78;
    background: #e5f7fb;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .12em;
}

/* Authenticated account shell */

body.hv-account-body {
    min-width: 320px;
    min-height: 100vh;
    padding: 96px 0 0 !important;
    color: var(--hv-text);
    background: var(--hv-bg);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.hv-account-body:has(.hv-account-sidebar) {
    padding-left: 252px !important;
}

.hv-account-body > .container {
    width: min(1180px, calc(100% - 48px));
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

.hv-account-body .hv-topbar {
    left: 0;
    min-height: 68px;
    padding: 0 28px;
    border: 0;
    border-bottom: 1px solid rgba(210, 222, 231, .9);
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.hv-account-body:has(.hv-account-sidebar) .hv-topbar {
    left: 252px;
}

.hv-account-body .hv-topbar .container {
    width: 100%;
    max-width: 1180px;
    padding: 0;
}

.hv-account-body .navbar-brand-centered img {
    width: 48px !important;
    height: 48px;
    border: 3px solid #e1f1f5;
    border-radius: 13px;
    object-fit: cover;
}

.hv-account-body .navbar-icon-top .navbar-nav .nav-link {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    color: var(--hv-text-soft);
    font-size: 12px;
    font-weight: 650;
}

.hv-account-body .navbar-icon-top .navbar-nav .nav-link > .fa {
    position: relative;
    display: inline-block;
    width: auto;
    margin: 0;
    font-size: 15px;
    line-height: 1;
    top: 0;
}

.hv-account-body .dropdown-menu {
    padding: 7px;
    border: 1px solid var(--hv-border);
    border-radius: 11px;
    box-shadow: var(--hv-shadow);
}

.hv-account-body .dropdown-item {
    padding: 9px 11px;
    border-radius: 8px;
    color: var(--hv-text-soft);
    font-size: 12px;
}

.hv-account-body .dropdown-item:hover {
    color: var(--hv-primary-dark);
    background: var(--hv-surface-blue);
}

.hv-account-sidebar {
    position: fixed;
    z-index: 1040;
    inset: 0 auto 0 0;
    display: flex;
    width: 252px;
    flex-direction: column;
    padding: 27px 20px 21px;
    color: #d8e6f1;
    background:
        radial-gradient(circle at 0 100%, rgba(33, 192, 220, .13), transparent 34%),
        var(--hv-navy);
}

.hv-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 9px 34px;
    color: #fff;
    text-decoration: none;
}

.hv-sidebar-brand:hover {
    color: #fff;
    text-decoration: none;
}

.hv-sidebar-brand strong,
.hv-sidebar-brand small {
    display: block;
}

.hv-sidebar-brand strong {
    font-size: 16px;
}

.hv-sidebar-brand small {
    color: #92a9bb;
    font-size: 10px;
}

.hv-sidebar-profile {
    margin-bottom: 22px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .045);
}

.hv-sidebar-profile > span {
    display: block;
    color: #7892a7;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hv-sidebar-profile strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 12px;
}

.hv-sidebar-balance {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 7px;
    color: #84ddeb;
    font-size: 10px;
}

.hv-sidebar-balance #ggcoin {
    font-size: 14px;
    font-weight: 800;
}

.hv-sidebar-caption {
    margin: 0 12px 8px;
    color: #7892a7;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.hv-sidebar-nav {
    display: grid;
    gap: 5px;
}

.hv-sidebar-link {
    position: relative;
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 11px;
    padding: 8px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #b9cad7;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}

.hv-sidebar-link:hover,
.hv-sidebar-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, .06);
    text-decoration: none;
}

.hv-sidebar-link.is-active {
    border-color: rgba(82, 213, 235, .1);
    background: rgba(33, 192, 220, .13);
}

.hv-sidebar-link.is-active::before {
    position: absolute;
    left: -20px;
    width: 3px;
    height: 22px;
    border-radius: 0 4px 4px 0;
    background: var(--hv-cyan);
    content: "";
}

.hv-sidebar-link i {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 8px;
    color: #a9bdcc;
    background: rgba(255, 255, 255, .06);
    font-size: 12px;
}

.hv-sidebar-link.is-active i {
    color: var(--hv-cyan);
}

.hv-sidebar-logout {
    margin-top: auto;
}

.hv-sidebar-logout button {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.hv-account-body .col-xl-3:has(> .hv-account-sidebar),
.hv-account-body .order-lg-first:has(> .hv-account-sidebar),
.hv-account-body .col-lg-3:has(> .hv-account-sidebar) {
    display: contents;
}

.hv-account-body .content > .row > .col,
.hv-account-body .content > .row:has(.hv-account-sidebar) > .col-lg-9,
.hv-account-body .content > .row:has(.hv-account-sidebar) > .col-xl-9 {
    width: 100%;
    flex-basis: 100%;
    max-width: 100%;
}

.hv-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 3px 0 25px;
}

.hv-page-heading h1 {
    margin: 3px 0 7px;
    color: var(--hv-text);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 790;
    letter-spacing: -.035em;
}

.hv-page-heading p {
    margin: 0;
    color: var(--hv-text-soft);
    font-size: 12px;
}

.hv-page-heading .hv-eyebrow {
    color: var(--hv-primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.hv-verification-pill,
.hv-security-pill {
    display: inline-flex;
    min-height: 35px;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid #efd6b8;
    border-radius: 999px;
    color: var(--hv-warning);
    background: var(--hv-warning-soft);
    font-size: 10px;
    font-weight: 750;
}

.hv-verification-pill.is-verified,
.hv-security-pill {
    color: var(--hv-success);
    border-color: #caeadb;
    background: var(--hv-success-soft);
}

.hv-account-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 19px;
}

.hv-stat-card {
    display: flex;
    min-height: 96px;
    align-items: center;
    gap: 14px;
    padding: 17px;
    border: 1px solid var(--hv-border);
    border-radius: 14px;
    background: var(--hv-surface);
    box-shadow: var(--hv-shadow);
}

.hv-stat-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 11px;
    color: var(--hv-primary);
    background: var(--hv-surface-blue);
    font-size: 15px;
}

.hv-stat-card small,
.hv-stat-card strong {
    display: block;
}

.hv-stat-card small {
    margin-bottom: 4px;
    color: var(--hv-text-faint);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hv-stat-card strong {
    color: var(--hv-text);
    font-size: 17px;
    letter-spacing: -.02em;
}

.hv-section-anchor {
    scroll-margin-top: 90px;
}

.hv-account-body .card {
    border: 1px solid var(--hv-border) !important;
    border-radius: 14px;
    background: var(--hv-surface);
    box-shadow: var(--hv-shadow) !important;
}

.hv-account-body .card-header {
    padding: 18px 21px;
    color: var(--hv-text);
    border-bottom: 1px solid var(--hv-border);
    border-radius: 14px 14px 0 0 !important;
    background: #fff !important;
    font-size: 14px;
}

.hv-account-body .card-body {
    padding: 22px;
}

.hv-account-body .testimonial-card {
    min-height: 176px;
    overflow: hidden;
    color: #fff;
    border: 0 !important;
    background:
        radial-gradient(circle at 92% 10%, rgba(33, 192, 220, .24), transparent 36%),
        linear-gradient(140deg, #0d2e4c, #0a4567) !important;
}

.hv-account-body .testimonial-card .card-up {
    display: none;
}

.hv-account-body .testimonial-card .avatar {
    width: 78px;
    height: 78px;
    margin: 20px auto 4px !important;
    border: 4px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: transparent;
}

.hv-account-body .testimonial-card .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.hv-account-body .testimonial-card .card-body {
    padding: 5px 20px 20px;
}

.hv-account-body .testimonial-card .fullname_txt,
.hv-account-body .testimonial-card h4 {
    color: #fff !important;
    font-size: 19px;
}

.hv-account-body .form-control {
    min-height: 45px;
    border-color: var(--hv-border-strong);
    border-radius: 9px;
    color: var(--hv-text);
    font-size: 12px;
}

.hv-account-body .form-control:focus {
    border-color: var(--hv-primary);
    box-shadow: 0 0 0 3px rgba(8, 125, 163, .09);
}

.hv-account-body .form-control[readonly],
.hv-account-body .form-control:disabled {
    color: #536679;
    border-color: #e2e8ed;
    background: #f3f6f8;
}

.hv-account-body label {
    color: var(--hv-text);
    font-size: 11px;
    font-weight: 650;
}

.hv-account-body .btn-primary,
.hv-account-body .btn-info {
    border-color: var(--hv-primary);
    border-radius: 9px;
    background: var(--hv-primary);
    box-shadow: 0 7px 18px rgba(8, 125, 163, .13);
    font-size: 11px;
    font-weight: 700;
}

.hv-account-body .btn-primary:hover,
.hv-account-body .btn-info:hover {
    border-color: var(--hv-primary-dark);
    background: var(--hv-primary-dark);
}

.hv-account-body .alert-info {
    color: #42697c;
    border-color: #d6eaf1;
    border-radius: 10px;
    background: #f0f8fb;
}

.hv-account-body .badge-success {
    color: #1b714f;
    background: var(--hv-success-soft);
}

.hv-account-body .table {
    color: var(--hv-text-soft);
    font-size: 11px;
}

.hv-account-body .table thead th {
    color: var(--hv-text-faint);
    border-top: 0;
    border-bottom: 1px solid var(--hv-border);
    background: var(--hv-surface-soft);
    font-size: 9px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hv-account-body .table td {
    vertical-align: middle;
    border-color: #e8eef2;
}

.hv-account-body .modal-content {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .5) !important;
    border-radius: 17px;
    box-shadow: var(--hv-shadow-lg) !important;
}

.hv-account-body .modal-header {
    padding: 19px 21px;
    border-bottom: 1px solid var(--hv-border);
}

.hv-account-body .modal-footer {
    border-top: 1px solid var(--hv-border);
}

.hv-account-body .phone-otp-digit,
.hv-account-body .password-otp-digit {
    border-color: var(--hv-border-strong) !important;
    border-radius: 10px !important;
}

.hv-account-body .phone-otp-digit:focus,
.hv-account-body .password-otp-digit:focus {
    border-color: var(--hv-primary) !important;
    box-shadow: 0 0 0 3px rgba(8, 125, 163, .1) !important;
}

.hv-account-body .footer-basic {
    margin-top: 34px;
    padding: 24px 0 28px;
    color: var(--hv-text-faint);
}

.hv-mobile-account-nav {
    display: none;
}

.modal-open .hv-mobile-account-nav {
    display: none !important;
}

@media (max-width: 1040px) {
    body.hv-auth-page {
        display: block !important;
    }

    .hv-auth-story {
        display: none;
    }

    .hv-auth-workspace {
        min-height: 100vh;
        justify-content: flex-start;
        padding: 28px 20px 42px;
    }

    .hv-auth-workspace::before {
        display: block;
        width: min(640px, 100%);
        margin: 0 auto 22px;
        color: var(--hv-navy);
        content: "HV ID";
        font-size: 17px;
        font-weight: 800;
    }

    .hv-register-page .registration-shell {
        margin: 0 auto !important;
    }
}

@media (max-width: 900px) {
    body.hv-account-body {
        padding: 84px 0 74px !important;
    }

    body.hv-account-body:has(.hv-account-sidebar) {
        padding-left: 0 !important;
    }

    .hv-account-sidebar {
        display: none;
    }

    .hv-account-body .hv-topbar {
        left: 0;
        min-height: 64px;
        padding: 0 15px;
    }

    .hv-account-body:has(.hv-account-sidebar) .hv-topbar {
        left: 0;
    }

    .hv-account-body > .container {
        width: calc(100% - 28px);
    }

    .hv-mobile-account-nav {
        position: fixed;
        z-index: 1050;
        inset: auto 0 0;
        display: grid;
        min-height: 66px;
        grid-template-columns: repeat(4, 1fr);
        padding: 7px 8px max(7px, env(safe-area-inset-bottom));
        border-top: 1px solid var(--hv-border);
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 -8px 25px rgba(16, 39, 57, .07);
    }

    .hv-mobile-account-nav a {
        display: grid;
        justify-items: center;
        align-content: center;
        gap: 2px;
        color: #768796;
        font-size: 8px;
        font-weight: 650;
        text-decoration: none;
    }

    .hv-mobile-account-nav i {
        display: grid;
        width: 27px;
        height: 27px;
        place-items: center;
        border-radius: 8px;
        color: var(--hv-primary-dark);
        background: var(--hv-surface-blue);
        font-size: 12px;
    }

    .hv-mobile-account-nav a.is-active {
        color: var(--hv-primary-dark);
    }
}

@media (max-width: 767px) {
    .hv-auth-workspace {
        padding: 20px 10px 32px;
    }

    .hv-auth-card {
        padding: 20px 18px 25px !important;
        border-radius: 15px !important;
    }

    .hv-register-page .registration-shell {
        width: 100% !important;
    }

    .hv-register-page .registration-header {
        padding: 20px 18px 8px !important;
    }

    .hv-register-page .registration-body {
        padding: 14px 18px 22px !important;
    }

    .hv-register-page .registration-card {
        border-radius: 15px !important;
    }

    .registration-actions {
        grid-template-columns: 1fr;
    }

    .hv-register-page .otp-modal {
        border-radius: 16px;
    }

    .hv-account-body .navbar-brand-centered img {
        width: 42px !important;
        height: 42px;
    }

    .hv-account-body .navbar-collapse {
        margin: 8px -15px -8px;
        padding: 10px 15px;
        border-top: 1px solid var(--hv-border);
        background: #fff;
    }

    .hv-account-body .card-body {
        padding: 17px;
    }

    .hv-account-body .testimonial-card {
        min-height: 158px;
    }

    .hv-account-body .table-responsive {
        font-size: 10px;
    }

    .hv-page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .hv-account-stats {
        grid-template-columns: 1fr;
    }

    .hv-stat-card {
        min-height: 80px;
    }
}

@media (max-width: 430px) {
    .otp-demo-note {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .hv-auth-workspace::before {
        padding-left: 6px;
    }

    .hv-auth-heading h1 {
        font-size: 21px;
    }

    .hv-register-page .brand-logo {
        width: 52px;
        height: 52px;
    }

    .hv-register-page .registration-header h1 {
        font-size: 19px;
    }

    .hv-register-page .otp-inputs {
        gap: 5px;
    }

    .hv-register-page .otp-digit {
        width: 40px;
        height: 48px;
    }
}

@media (max-width: 340px) {
    .hv-register-page .otp-backdrop {
        padding-right: 8px;
        padding-left: 8px;
    }

    .hv-register-page .otp-content {
        padding-right: 10px;
        padding-left: 10px;
    }

    .hv-register-page .otp-inputs {
        gap: 3px;
    }

    .hv-register-page .otp-digit {
        width: 36px;
        height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
