/* ==========================================================================
   EVERTAS OFFICIAL DEDICATED FULL-PAGE VAULT STYLES
   ========================================================================== */

body {
    font-family: 'Work Sans', 'Inter', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #241f21;
    background-color: #241f21;
    overflow-x: hidden;
}

body.vault-app-active {
    overflow: hidden !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Work Sans', Helvetica, Arial, sans-serif;
    font-weight: 600;
    line-height: 1.1;
    color: #333;
}

p.lead, .lead {
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    font-size: 24px;
    line-height: 1.4em;
    font-weight: 300;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
}

.navbar-affixed-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #241f21;
    box-shadow: none;
    border-bottom: none;
}

.navbar-default {
    background-color: #241f21;
    border: none;
    margin-bottom: 0;
    min-height: 106px;
}

.navbar-brand {
    float: left;
    height: 106px;
    padding: 25px 0;
    margin-left: 0 !important;
}

.navbar-brand img {
    max-height: 56px;
    width: auto;
}

.custom-nav {
    margin-top: 28px;
    display: flex;
    align-items: center;
}

.custom-nav > li > a {
    color: #ffffff !important;
    font-family: 'Work Sans', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 14px;
    border-bottom: 5px solid transparent;
    transition: all 0.2s ease-out;
}

.custom-nav > li > a:hover,
.custom-nav > li > a:focus {
    background-color: transparent !important;
    border-bottom: 5px solid #32ea95 !important;
    color: #ffffff !important;
}

.btn-template-purple {
    font-family: 'Work Sans', Helvetica, Arial, sans-serif;
    height: auto;
    padding: 10px 18px !important;
    letter-spacing: 1px;
    font-size: 16px;
    border-radius: 6px;
    border: none !important;
    background-color: #9b59f2 !important;
    color: #ffffff !important;
    font-weight: 700;
    text-transform: none;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.btn-template-purple:hover {
    color: #ffffff !important;
    background-color: #6a13dd !important;
}

.btn-template-green {
    font-family: 'Work Sans', Helvetica, Arial, sans-serif;
    height: auto;
    padding: 10px 18px !important;
    letter-spacing: 1px;
    font-size: 16px;
    border-radius: 6px;
    border: none !important;
    background-color: #32ea95 !important;
    color: #241f21 !important;
    font-weight: 700;
    text-transform: none;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.btn-template-green:hover {
    color: #ffffff !important;
    background-color: #00bb64 !important;
}

.search-li {
    padding-left: 10px;
    padding-top: 0px;
    display: flex;
    align-items: center;
}

.search-button-container {
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
}

.search-button-container i {
    color: #ffffff;
    font-size: 1.4em;
    transition: color 0.2s ease;
}

.search-button-container i:hover {
    color: #32ea95;
}

section {
    margin-bottom: 0;
}

.bar {
    position: relative;
    padding: 60px 0;
}

.bar.background-gray-dark {
    background: #241f21;
    color: #ffffff;
}

.bar.background-gray-dark h1,
.bar.background-gray-dark h2,
.bar.background-gray-dark h3,
.bar.background-gray-dark p {
    color: #ffffff;
}

.bar.background-white {
    background: #ffffff;
    color: #241f21;
}

.highlight {
    color: #32ea95 !important;
}

.home-hero {
    padding-top: 140px;
    padding-bottom: 40px;
    background: #241f21;
}

.hero-content {
    padding-right: 35px;
}

.home-hero h1 {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.home-hero .lead {
    font-size: 22px;
    color: #ffffff;
    line-height: 1.4em;
    font-weight: 300;
}

.hero-wallet-actions {
    display: flex;
    gap: 14px;
    margin: 30px 0 10px;
    flex-wrap: wrap;
}

/* ==========================================================================
   VAULT APP PAGE NAVBAR & FULL PAGE SCROLLING FIX
   ========================================================================== */

.vault-app-page-container {
    width: 100vw;
    height: 100vh;
    background: #0c0a0b;
    color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch;
}

.vault-page-navbar {
    background: #141113;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 28px;
    position: sticky;
    top: 0;
    z-index: 10010;
}

.vault-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100% !important;
    padding: 0;
}

.v-brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 0;
}

.vault-app-logo {
    height: 34px;
    width: auto;
}

.v-app-badge {
    color: #32ea95;
    font-size: 12px;
    font-weight: 600;
    background: rgba(50, 234, 149, 0.12);
    border: 1px solid rgba(50, 234, 149, 0.3);
    padding: 3px 10px;
    border-radius: 16px;
}

.v-nav-actions {
    margin-left: auto;
}

.btn-back-landing {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.btn-back-landing:hover {
    background: #32ea95;
    color: #151214;
    border-color: #32ea95;
}

.vault-app-body-content {
    padding: 24px 0 60px 0;
}

.max-app-width-wide {
    max-width: 1180px !important;
    margin: 0 auto;
}

.vault-step-panel {
    display: none;
}

.vault-step-panel.active {
    display: block;
    animation: fadeInApp 0.22s ease-out;
}

@keyframes fadeInApp {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.centered-panel-card {
    max-width: 600px;
    margin: 20px auto;
}

.compact-app-card {
    background: #151214;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border-radius: 16px;
    padding: 24px 22px;
}

.card-head-title h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-head-title h3 i {
    color: #32ea95;
}

.card-head-title p {
    color: #888888;
    font-size: 13px;
    margin-bottom: 16px;
}

/* TOP ROW DASHBOARD CARDS */
.vault-top-row {
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
}

.vault-top-row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.vault-balance-hero-card {
    background: linear-gradient(135deg, #181416 0%, #0e0c0d 100%);
    border: 1px solid rgba(50, 234, 149, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.hero-balance-label {
    font-size: 11.5px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.hero-balance-amount {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin: 2px 0 4px 0;
    font-family: 'Work Sans', sans-serif;
}

.hero-currency {
    font-size: 16px;
    color: #32ea95;
}

.hero-sync-badge {
    font-size: 11.5px;
    color: #32ea95;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-hero-send-locked {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cccccc;
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.18s ease;
}

.btn-hero-send-locked:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.btn-hero-receive-popup {
    background: #32ea95;
    color: #151214;
    border: none;
    padding: 9px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.18s ease;
}

.btn-hero-receive-popup:hover {
    background: #00bb64;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(50, 234, 149, 0.4);
}

.vault-policy-summary-card {
    background: #151214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.policy-card-tag {
    color: #32ea95;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 4px;
}

.vault-policy-summary-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #ffffff;
}

.vault-policy-summary-card p {
    color: #888888;
    font-size: 11.5px;
    margin: 0;
}

.vault-section-card {
    background: #151214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
}

.section-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.click-filter-hint {
    font-size: 10.5px;
    color: #777777;
    font-weight: 500;
}

.asset-row-card.active-coin-filter {
    border-color: rgba(50, 234, 149, 0.4);
    background: rgba(50, 234, 149, 0.04);
}

.btn-reset-filter {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #32ea95;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10.5px;
    cursor: pointer;
}

/* POPUP OVERLAY & MODAL STYLES */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    z-index: 10020;
    align-items: center;
    justify-content: center;
    padding: 16px;
    cursor: default;
    user-select: none;
    overflow-y: auto;
    opacity: 0;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
    animation: fadeInModal 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-overlay.closing {
    animation: fadeOutModal 0.2s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}

.wallet-modal {
    background: #151214;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
    border-radius: 14px;
    width: 100%;
    max-width: 460px;
    padding: 24px;
    position: relative;
    color: #ffffff;
    cursor: default;
    user-select: text;
    margin: auto;
    transition: transform 0.2s ease-out;
}

.send-modal-popup, .receive-modal-popup {
    max-width: 620px !important;
    padding: 32px 36px !important;
    border-radius: 16px !important;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #aaaaaa;
    font-size: 16px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
    z-index: 10030;
}

.modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
    border-color: #32ea95;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOutModal {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.95); }
}

/* STEP & ASSET ROW STYLES */
.seed-length-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    background: #0e0c0d;
    padding: 3px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-length-tab, .btn-restore-tab {
    flex: 1;
    background: none;
    border: none;
    color: #777777;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.btn-length-tab.active, .btn-restore-tab.active {
    background: #241f21;
    color: #32ea95;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.seed-generate-box {
    background: #0e0c0d;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    padding: 22px 16px;
    text-align: center;
    margin-bottom: 16px;
}

.generate-lock-icon {
    font-size: 26px;
    color: #32ea95;
    margin-bottom: 8px;
}

.seed-phrase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
    background: #0e0c0d;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.seed-word-item {
    background: #1b1619;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.seed-word-item .word-index {
    color: #666666;
    font-size: 10px;
    font-weight: 600;
}

.seed-word-item .word-val {
    color: #32ea95;
    font-weight: 700;
    font-family: monospace;
}

.passphrase-checkbox-option {
    margin-bottom: 16px;
}

.custom-checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-text {
    color: #cccccc;
    font-size: 12.5px;
}

.passphrase-collapsible {
    margin-top: 8px;
}

.passphrase-collapsible input {
    width: 100%;
    background: #0e0c0d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12.5px;
    outline: none;
}

.modal-footer-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

/* FIXED COPY BUTTON STYLES */
.btn-copy-address {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    color: #777777 !important;
    cursor: pointer !important;
    font-size: 12px !important;
    padding: 2px 5px !important;
    transition: color 0.18s ease !important;
    box-shadow: none !important;
    outline: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-copy-address:hover, .btn-copy-address:focus {
    background: transparent !important;
    background-color: transparent !important;
    color: #32ea95 !important;
    box-shadow: none !important;
    outline: none !important;
}

.btn-modal-copy, #btn-copy-receive-address {
    background: rgba(255, 255, 255, 0.08) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
}

.btn-modal-copy:hover, #btn-copy-receive-address:hover {
    background: rgba(50, 234, 149, 0.15) !important;
    background-color: rgba(50, 234, 149, 0.15) !important;
    border-color: #32ea95 !important;
    color: #32ea95 !important;
}

.restore-mnemonic-input-box textarea {
    width: 100%;
    background: #0e0c0d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Work Sans', sans-serif;
    outline: none;
    resize: vertical;
}

.error-feedback {
    min-height: 20px;
    color: #ff5555;
    font-weight: 600;
    font-size: 12.5px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.pulse-dot-green {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #32ea95;
    box-shadow: 0 0 6px #32ea95;
}

.btn-refresh-sync {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #32ea95;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    margin-left: 6px;
    transition: all 0.18s ease;
}

.btn-refresh-sync:hover {
    background: #32ea95;
    color: #151214;
}

/* Compact Asset Rows */
.asset-rows-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.asset-row-card {
    background: #0e0c0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.18s ease;
    min-height: 56px;
}

.asset-row-card:hover {
    border-color: rgba(50, 234, 149, 0.4);
    transform: translateX(2px);
}

.asset-info-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.asset-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.asset-name-symbol {
    font-weight: 700;
    font-size: 13.5px;
    color: #ffffff;
}

.asset-name-symbol .symbol {
    color: #777777;
    font-size: 11.5px;
    margin-left: 3px;
}

.asset-sub-address code {
    background: rgba(255, 255, 255, 0.05);
    color: #888888;
    font-size: 10.5px;
    padding: 1px 5px;
    border-radius: 4px;
    border: none;
}

.asset-info-right {
    text-align: right;
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.asset-crypto-bal {
    font-weight: 700;
    font-size: 13.5px;
    color: #ffffff;
    line-height: 1.2;
}

.asset-usd-val {
    color: #777777;
    font-size: 11.5px;
    line-height: 1.2;
    margin-top: 2px;
}

.asset-row-actions {
    display: flex;
    gap: 6px;
}

.btn-mini-send-locked {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #aaaaaa;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.btn-mini-send-locked:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.btn-mini-receive {
    background: rgba(50, 234, 149, 0.1);
    border: 1px solid rgba(50, 234, 149, 0.3);
    color: #32ea95;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}

.btn-mini-receive:hover {
    background: #32ea95;
    color: #151214;
}

/* Custom Coin Picker Pills (Receive & Send Modals) */
.custom-coin-picker-container {
    margin-bottom: 14px;
}

.coin-picker-pills {
    display: flex;
    gap: 6px;
    background: #0e0c0d;
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.coin-picker-pill, .send-coin-pill {
    flex: 1;
    background: none;
    border: 1px solid transparent;
    color: #888888;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.18s ease;
}

.coin-picker-pill .picker-icon, .send-coin-pill .picker-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.coin-picker-pill .picker-symbol, .send-coin-pill .picker-symbol {
    font-weight: 700;
    font-size: 12.5px;
    color: #ffffff;
}

.coin-picker-pill.active, .send-coin-pill.active {
    background: #241f21;
    border-color: rgba(50, 234, 149, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.coin-picker-pill.active .picker-symbol, .send-coin-pill.active .picker-symbol {
    color: #32ea95;
}

/* Receive View & QR Code */
.gui-form-box {
    background: #151214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
}

.qr-code-wrapper {
    background: #ffffff;
    padding: 10px;
    border-radius: 14px;
    display: inline-block;
    margin: 8px 0 14px 0;
}

.qr-code-img {
    width: 140px;
    height: 140px;
    display: block;
}

.receive-address-card {
    background: #1a1618;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px;
    max-width: 440px;
    margin: 0 auto 12px auto;
}

.receive-address-card .card-label {
    display: block;
    color: #777777;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 600;
}

.full-address-text {
    display: block;
    word-break: break-all;
    font-size: 12.5px;
    color: #32ea95;
    background: none;
    border: none;
    padding: 0;
    font-family: monospace;
    font-weight: 700;
}

.receive-status-live-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #32ea95;
    font-size: 11.5px;
    font-weight: 600;
}

/* Activity Card & History Pagination */
.activity-history-card {
    background: #151214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
}

.activity-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
}

.activity-card-header .card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-card-header .card-title i {
    color: #32ea95;
}

.history-pagination-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 12px;
}

.btn-page-nav {
    background: #1a1618;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-page-nav:hover:not(:disabled) {
    background: #32ea95;
    color: #151214;
    border-color: #32ea95;
}

.btn-page-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-counter-info {
    font-size: 12px;
    color: #888888;
    font-weight: 600;
}

.gui-activity-table {
    color: #ffffff;
    margin-bottom: 0;
}

.gui-activity-table th {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #777777;
    font-size: 11px;
    text-transform: uppercase;
}

.gui-activity-table td {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    font-size: 12.5px;
}

.tx-type-badge.in {
    background: rgba(50, 234, 149, 0.15);
    color: #32ea95;
    padding: 3px 8px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
}

.status-insured {
    color: #32ea95;
    font-size: 11.5px;
    font-weight: 600;
}

.security-card-header {
    background: #1a1618;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 16px;
}

.sec-badge {
    color: #32ea95;
    font-size: 11px;
    font-weight: 700;
}

.sec-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.sec-metric {
    background: #151214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.sec-metric .m-title {
    display: block;
    color: #777777;
    font-size: 11px;
    margin-bottom: 2px;
}

.sec-metric .m-val {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.sec-metric .m-val.green { color: #32ea95; }
.sec-metric .m-val.purple { color: #9b59f2; }

/* Coinbase / Partner Section */
.coinbase-section {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.coinbase-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(50, 234, 149, 0.12);
    border: 1px solid rgba(50, 234, 149, 0.35);
    padding: 5px 14px;
    border-radius: 20px;
    color: #32ea95;
    font-size: 12.5px;
    font-weight: 700;
}

.coinbase-quote-card {
    background: #181416;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #32ea95;
    border-radius: 10px;
    padding: 18px 22px;
    margin-top: 20px;
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #32ea95;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.quote-text {
    font-style: italic;
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.quote-author { color: #777777; font-size: 12px; }

.partnership-feature-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.p-feature-item {
    display: flex;
    gap: 14px;
    background: #181416;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 18px;
    border-radius: 10px;
}

.p-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(50, 234, 149, 0.12);
    border: 1px solid rgba(50, 234, 149, 0.25);
    color: #32ea95;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.p-text-wrap h4 { color: #ffffff; font-size: 15px; font-weight: 700; margin: 0 0 4px 0; }
.p-text-wrap p { color: #888888; font-size: 12.5px; margin: 0; line-height: 1.4; }

/* Marquee & Footer */
.full-width-marquee-section {
    width: 100vw;
    position: relative;
    left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
    margin-top: 50px;
    padding: 22px 0;
    background: #171415;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.logo-marquee-container {
    overflow: hidden; width: 100%; position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-marquee-track {
    display: flex; gap: 30px; width: max-content;
    will-change: transform;
    animation: logoMarquee 30s linear infinite;
}

.logo-item {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.logo-item img { height: 28px; width: 28px; object-fit: contain; }
.logo-item span { color: #ffffff; font-weight: 600; font-size: 14px; }

@keyframes logoMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-33.333333%, 0, 0); }
}

.hero-carousel { position: relative; margin-top: 10px; }
.carousel-wrapper { position: relative; overflow: hidden; border-radius: 12px; width: 100%; }
.carousel-track { display: flex; width: 300%; transition: transform 1.2s cubic-bezier(0.25, 1, 0.35, 1); will-change: transform; }
.carousel-slide { width: 33.333333%; flex: 0 0 33.333333%; box-sizing: border-box; }
.carousel-slide .slide-link { text-decoration: none; display: block; }

.box-image-text { position: relative; overflow: hidden; border-radius: 12px; }
.box-image-text .top { position: relative; width: 100%; height: 100%; }
.box-image-text .top .image img { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 1200 / 627; border-radius: 12px; }
.box-image-text .top .text { position: absolute; width: 100%; bottom: 0; left: 0; padding: 18px 20px; background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 75%, rgba(0,0,0,0) 100%); box-sizing: border-box; border-radius: 0 0 12px 12px; }
.box-image-text .top .title { color: #ffffff; text-decoration: none; line-height: 22px; font-size: 16px; font-weight: 600; margin: 4px 0; display: block; }

.tns-nav { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 16px; }
.tns-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; background: #dddddd; border: none; cursor: pointer; transition: all 0.25s ease; }
.tns-dot.active, .tns-dot:hover { background: #00bb64; transform: scale(1.2); }

.heading h1, .heading h2 {
    display: inline-block;
    border-bottom: 5px solid #32ea95;
    padding-bottom: 10px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 36px;
    font-weight: 700;
}

.policies .box-simple {
    position: relative;
    padding: 30px 40px 50px;
    box-shadow: 2px 2px 18px #cecece;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    background: #ffffff;
    margin-bottom: 30px;
    border-radius: 0;
    min-height: 380px;
    text-align: center;
}

.policies a:hover .box-simple, .policies .box-simple:hover {
    transform: translateX(5px) translateY(-5px);
    box-shadow: 6px 6px 25px rgba(0, 0, 0, 0.15);
}

.policies a { text-decoration: none !important; display: block; }
.policies .icon { display: flex; align-items: center; justify-content: center; width: 105px; height: 105px; border-radius: 50%; border: 5px solid #9b59f2; margin: 0 auto 20px auto; box-sizing: border-box; padding: 10px; }
.policies .icon img.icon-svg { width: 100%; height: 100%; max-width: 70px; max-height: 70px; object-fit: contain; display: block; margin: 0 auto; }
.policies .lead { font-family: 'Work Sans', sans-serif; font-size: 20px; font-weight: 800; text-transform: uppercase; color: #555555; letter-spacing: .08em; line-height: 1.4; margin-top: 20px; margin-bottom: 12px; }
.policies .text-large { font-family: 'Lato', sans-serif; font-size: 18px; font-weight: 300; line-height: 1.4em; color: #595959; height: auto; padding-bottom: 20px; }
.policies .learn-more { position: absolute; bottom: 30px; left: 0; right: 0; margin-left: auto; margin-right: auto; text-transform: uppercase; font-weight: 600; font-family: 'Work Sans', sans-serif; color: #241f21; font-size: 14px; letter-spacing: 0.5px; }

.why { margin-top: 30px; }
.why .item { margin-bottom: 40px; }
.why .reason .top { color: #ffffff; font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.why .reason .text-large p { color: rgba(255,255,255,0.85); font-size: 17px; font-weight: 300; line-height: 1.5em; }

.partners { list-style: none; padding: 0; margin-top: 30px; }
.partners .item { text-align: center; margin-bottom: 30px; }
.partners .item img { max-width: 100%; height: auto; border-radius: 8px; }
.parnter-info .lead { font-size: 20px; font-weight: 700; margin-top: 15px; color: #241f21; }

#footer { background: #000000; padding: 40px 0; color: #999999; }
#footer a { color: #32ea95; }
#footer a:hover { color: #ffffff; }

#cookie-notice {
    font-size: 14px;
    display: none;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 12px 20px;
    width: 100%;
    background: #241f21;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.85);
    z-index: 9999;
}

#cookie-notice span a { color: #3da1e8; text-decoration: underline; }
#cookie-notice .btn-template-blue { font-weight: 600; font-size: 13px; margin-left: 12px; padding: 5px 18px; background-color: #3da1e8; color: #ffffff !important; border-radius: 6px; cursor: pointer; display: inline-block; border: none; }

@media (max-width: 1200px) {
    .home-hero h1 { font-size: 38px; }
    .home-hero .lead { font-size: 19px; }
}

@media (max-width: 991px) {
    .navbar-brand { height: 70px; padding: 15px 0; }
    .custom-nav { margin-top: 10px; }
    .home-hero { padding-top: 110px; }
    .hero-content { padding-right: 15px; margin-bottom: 30px; }
    .sec-metrics-grid { grid-template-columns: 1fr; }
    .multi-coin-grid { grid-template-columns: 1fr; }
}

/* Custom Input Controls & Send Modal UI */
.send-modal-popup .form-title, .receive-modal-popup .form-title {
    font-size: 19px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: #ffffff;
}

.send-modal-popup .custom-coin-picker-container {
    margin-bottom: 18px !important;
}

.send-modal-popup .coin-picker-pill, .send-modal-popup .send-coin-pill {
    padding: 9px 12px !important;
}

.send-modal-popup .coin-picker-pill .picker-icon, .send-modal-popup .send-coin-pill .picker-icon {
    width: 22px !important;
    height: 22px !important;
}

.send-modal-popup .coin-picker-pill .picker-symbol, .send-modal-popup .send-coin-pill .picker-symbol {
    font-size: 13.5px !important;
}

.send-modal-popup .send-available-bal-bar {
    padding: 12px 16px !important;
    font-size: 13px !important;
    margin-bottom: 18px !important;
}

.form-group-custom {
    margin-bottom: 16px;
    text-align: left;
}

.form-group-custom label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 7px;
}

.gui-input-control {
    width: 100%;
    background: #0d0f12;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Work Sans', 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
    box-shadow: none;
}

.gui-input-control:focus {
    border-color: rgba(255, 255, 255, 0.35);
    background: #13161c;
    box-shadow: none;
}

.gui-input-control::placeholder {
    color: #666666;
    font-size: 13.5px;
}

.input-with-btn {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-btn .gui-input-control {
    padding-right: 75px;
}

.btn-max-amount {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(50, 234, 149, 0.15);
    border: 1px solid rgba(50, 234, 149, 0.35);
    color: #32ea95;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.btn-max-amount:hover {
    background: #32ea95;
    color: #0b0c0e;
    box-shadow: none;
}

.sub-usd-preview {
    font-size: 12.5px;
    color: #888888;
    margin-top: 6px;
    display: block;
    text-align: left;
    font-weight: 500;
}

.insurance-transfer-guard {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(155, 89, 242, 0.08);
    border: 1px solid rgba(155, 89, 242, 0.25);
    padding: 14px 18px;
    border-radius: 10px;
    margin: 18px 0;
    text-align: left;
}

.insurance-transfer-guard .shield-icon {
    color: #9b59f2;
    font-size: 22px;
    flex-shrink: 0;
}

.insurance-transfer-guard div {
    flex: 1;
}

.insurance-transfer-guard strong {
    color: #ffffff;
    font-size: 13px;
    display: block;
    margin-bottom: 2px;
}

.insurance-transfer-guard p {
    color: #888888;
    font-size: 11.5px;
    margin: 0;
    line-height: 1.4;
}

.send-modal-popup #btn-submit-send-action {
    padding: 14px 18px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
}

/* COINBASE PARTNER STATEMENT & SPINNY LOGOS SECTION */
.cb-partner-section {
    padding: 60px 0;
    background: #0b0c0e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cb-partner-card {
    padding: 30px;
    background: #14171d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
}

.cb-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(50, 234, 149, 0.12);
    border: 1px solid rgba(50, 234, 149, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    color: #32ea95;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cb-partner-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 14px;
}

.cb-quote {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    border-left: 3px solid #32ea95;
    padding-left: 16px;
    margin: 16px 0;
    line-height: 1.6;
}

.cb-metrics-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cb-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #bbbbbb;
}

/* SPINNY ANIMATED LOGOS */
.spinny-logos-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.spinny-logos-ring {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 2px dashed rgba(50, 234, 149, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: ringOrbit 25s linear infinite;
}

.spinny-center-logo {
    position: absolute;
    width: 90px;
    height: 90px;
    background: #000000;
    border: 2px solid #32ea95;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-shadow: 0 0 25px rgba(50, 234, 149, 0.3);
    z-index: 10;
    animation: ringOrbitReverse 25s linear infinite;
}

.spinny-center-logo img {
    width: 100%;
    height: auto;
}

.spinny-item {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #191c24;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    animation: ringOrbitReverse 25s linear infinite;
}

.spinny-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 50%;
}

.spin-item-1 { top: -25px; left: 115px; }
.spin-item-2 { top: 40px; right: -20px; }
.spin-item-3 { bottom: 40px; right: -20px; }
.spin-item-4 { bottom: -25px; left: 115px; }
.spin-item-5 { bottom: 40px; left: -20px; }
.spin-item-6 { top: 40px; left: -20px; }

@keyframes ringOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ringOrbitReverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* BLOG & NEWSLETTER SECTION */
.blog-newsletter-section {
    padding: 60px 0;
}

.mini-blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mini-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-tag {
    display: inline-block;
    background: rgba(155, 89, 242, 0.1);
    color: #9b59f2;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-card-excerpt {
    font-size: 13.5px;
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 18px;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    border-top: 1px solid #edf2f7;
    padding-top: 12px;
}

.blog-date {
    color: #a0aec0;
}

.blog-read-more {
    color: #00bb64;
    font-weight: 700;
    text-decoration: none;
}

.newsletter-card-box {
    background: #14171d;
    border-radius: 14px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.newsletter-info h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.newsletter-info p {
    color: #a0aec0;
    font-size: 13.5px;
    margin: 0;
}

.newsletter-form-inline {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    width: 420px;
}

.newsletter-input {
    flex: 1;
    background: #0b0c0e;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 13.5px;
    outline: none;
}

.newsletter-input:focus {
    border-color: #32ea95;
}

.newsletter-toast {
    margin-top: 12px;
    background: rgba(50, 234, 149, 0.15);
    border: 1px solid #32ea95;
    color: #32ea95;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}
