/* Bitsbank - Modern Dashboard CSS */

/* ========================================
   SIDEBAR NAVIGATION
   ======================================== */

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #71717a;
    border-radius: 10px;
    transition: all 0.2s ease;
    position: relative;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.sidebar-link.active {
    background: rgba(240, 185, 11, 0.1);
    color: #f0b90b;
}

.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: #f0b90b;
    border-radius: 0 3px 3px 0;
}

.sidebar-link svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.sidebar-link.active svg {
    opacity: 1;
}

/* Mobile Navigation */
.mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: 10px;
    font-weight: 500;
    color: #71717a;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #f0b90b;
}

/* ========================================
   FORM INPUTS
   ======================================== */

/* Form inputs - Django form widgets need these */
.form-input,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 14px;
    font-family: inherit;
    color: #f5f5f7;
    background: #0b0c0f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.2s ease;
    outline: none;
}

.form-input:hover,
.form-select:hover,
input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="number"]:hover,
input[type="tel"]:hover,
select:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.form-input:focus,
.form-select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
select:focus {
    border-color: #f0b90b;
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.12);
    background: #07080a;
}

.form-input::placeholder,
input::placeholder {
    color: #52525b;
}

/* Checkbox styling */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #f0b90b;
    border-radius: 4px;
    cursor: pointer;
}

/* Currency toggle buttons need special handling for JS */
.cur-btn {
    cursor: pointer;
}

.cur-btn.active {
    background: #f0b90b !important;
    color: #000 !important;
}

/* Toast notifications */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 20px;
    background: #22232b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.3s ease-out;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.toast.hiding {
    animation: fadeInUp 0.3s ease-out reverse forwards;
}

.toast-success { border-left: 3px solid #00c076; }
.toast-error { border-left: 3px solid #f6465d; }
.toast-info { border-left: 3px solid #f0b90b; }

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

/* Copy button success state */
.copy-btn.copied {
    background: #00c076 !important;
}

/* Utility classes that might be used in templates */
.text-green { color: #00c076; }
.text-red { color: #f6465d; }
.text-muted { color: #71717a; }

/* Responsive mobile toast */
@media (max-width: 768px) {
    .toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}

/* Card styles for dashboard pages */
.card {
    background: linear-gradient(to bottom, #141519, #101114);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
}

.card-head {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.card-body {
    padding: 24px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
}

/* Page header */
.page-head {
    margin-bottom: 24px;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

/* Form elements */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #a1a1aa;
    margin-bottom: 8px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 14px;
    padding: 12px 24px;
}

.btn-primary {
    background: linear-gradient(to right, #f0b90b, #d97706);
    color: #000;
    box-shadow: 0 4px 12px rgba(240, 185, 11, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(240, 185, 11, 0.4);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    height: 48px;
    font-size: 16px;
}

.btn-sm {
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
}

/* Wallet icon */
.wallet-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    background: #18191e;
    flex-shrink: 0;
}

.wallet-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Deposit page */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #71717a;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #fff;
}

/* Professional Deposit Layout */
.dep-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    max-width: 1000px;
}

@media (max-width: 900px) {
    .dep-container {
        grid-template-columns: 1fr;
    }
}

.dep-main-card {
    background: #1a1b1f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
}

.dep-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 500px) {
    .dep-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .dep-balance-display {
        text-align: left;
    }
}

.dep-crypto-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dep-crypto-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    background: #18191e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dep-crypto-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dep-crypto-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dep-crypto-name {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.dep-crypto-symbol {
    font-size: 13px;
    color: #71717a;
    font-weight: 500;
}

.dep-balance-display {
    text-align: right;
}

.dep-balance-label {
    display: block;
    font-size: 12px;
    color: #71717a;
    margin-bottom: 4px;
}

.dep-balance-amount {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.dep-balance-amount small {
    font-size: 13px;
    color: #71717a;
    font-weight: 400;
}

.dep-card-body {
    padding: 24px;
}

.dep-section {
    margin-bottom: 28px;
}

.dep-section:last-child {
    margin-bottom: 0;
}

.dep-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.dep-section-number {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #f0b90b 0%, #d97706 100%);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.dep-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

/* Network Grid */
.dep-network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.dep-network-option {
    position: relative;
    cursor: pointer;
}

.dep-network-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dep-network-content {
    padding: 14px 16px;
    background: #18191e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dep-network-option:hover .dep-network-content {
    border-color: rgba(255, 255, 255, 0.15);
    background: #1e1f24;
}

.dep-network-option.selected .dep-network-content {
    border-color: #f0b90b;
    background: rgba(240, 185, 11, 0.08);
}

.dep-network-name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.dep-network-tag {
    font-size: 11px;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dep-network-tag.fast {
    color: #00c076;
}

.dep-network-tag.popular {
    color: #f0b90b;
}

/* Address Container */
.dep-address-container {
    display: flex;
    gap: 24px;
    background: #141519;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
}

@media (max-width: 600px) {
    .dep-address-container {
        flex-direction: column;
        align-items: center;
    }
}

.dep-qr-section {
    flex-shrink: 0;
    text-align: center;
}

.dep-qr-box {
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dep-qr-placeholder {
    width: 100%;
    height: 100%;
}

.dep-qr-placeholder svg {
    width: 100%;
    height: 100%;
}

.dep-qr-hint {
    display: block;
    font-size: 12px;
    color: #71717a;
    margin-top: 10px;
}

.dep-address-section {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dep-address-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #71717a;
    margin-bottom: 12px;
}

.dep-address-label svg {
    width: 16px;
    height: 16px;
}

.dep-address-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.dep-address-text {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
    font-size: 13px;
    color: #fff;
    word-break: break-all;
    line-height: 1.5;
    user-select: all;
}

.dep-address-actions {
    display: flex;
    gap: 12px;
}

.dep-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #f0b90b 0%, #d97706 100%);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dep-copy-btn svg {
    width: 18px;
    height: 18px;
    color: #000;
}

.dep-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(240, 185, 11, 0.3);
}

.dep-copy-btn:active {
    transform: translateY(0);
}

.dep-copy-btn.copied {
    background: linear-gradient(135deg, #00c076 0%, #059669 100%);
    color: #000;
}

.dep-copy-btn.copied svg {
    color: #000;
}

/* Warning Box */
.dep-warning {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(240, 185, 11, 0.06);
    border: 1px solid rgba(240, 185, 11, 0.15);
    border-radius: 12px;
}

.dep-warning-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(240, 185, 11, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dep-warning-icon svg {
    width: 22px;
    height: 22px;
    color: #f0b90b;
}

.dep-warning-content {
    flex: 1;
}

.dep-warning-content strong {
    display: block;
    color: #f0b90b;
    font-size: 14px;
    margin-bottom: 8px;
}

.dep-warning-content ul {
    margin: 0;
    padding-left: 18px;
    color: #a1a1aa;
    font-size: 13px;
    line-height: 1.6;
}

.dep-warning-content ul li {
    margin-bottom: 4px;
}

.dep-warning-content ul li:last-child {
    margin-bottom: 0;
}

/* Sidebar */
.dep-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dep-info-card {
    background: #1a1b1f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 20px;
}

.dep-info-card.security {
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.04) 0%, rgba(240, 185, 11, 0.01) 100%);
    border-color: rgba(240, 185, 11, 0.12);
}

.dep-info-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 16px 0;
}

.dep-info-title svg {
    width: 18px;
    height: 18px;
    color: #71717a;
}

.dep-info-card.security .dep-info-title svg {
    color: #f0b90b;
}

.dep-info-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dep-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dep-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dep-info-item:first-child {
    padding-top: 0;
}

.dep-info-item.highlight {
    background: rgba(240, 185, 11, 0.06);
    margin: 0 -20px;
    padding: 12px 20px;
    border-radius: 8px;
    border-bottom: none;
    margin-top: 8px;
}

.dep-info-label {
    font-size: 13px;
    color: #71717a;
}

.dep-info-value {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
}

.dep-info-value.free {
    color: #00c076;
    font-weight: 600;
}

/* Steps List */
.dep-steps-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    counter-reset: steps;
}

.dep-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.4;
    counter-increment: steps;
}

.dep-steps-list li::before {
    content: counter(steps);
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.06);
    color: #71717a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

/* Security List */
.dep-security-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dep-security-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.4;
}

.dep-security-list li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #f0b90b;
    margin-top: 2px;
}

/* ========================================
   WITHDRAW PAGE - Professional Layout
   ======================================== */

.withdraw-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    max-width: 1000px;
}

@media (max-width: 900px) {
    .withdraw-container {
        grid-template-columns: 1fr;
    }
}

.withdraw-main-card {
    background: #1a1b1f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
}

.withdraw-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(246, 70, 93, 0.06) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 500px) {
    .withdraw-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .withdraw-balance-display {
        text-align: left;
    }
}

.withdraw-crypto-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.withdraw-crypto-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    background: #18191e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.withdraw-crypto-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.withdraw-crypto-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.withdraw-crypto-name {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.withdraw-crypto-symbol {
    font-size: 13px;
    color: #71717a;
    font-weight: 500;
}

.withdraw-balance-display {
    text-align: right;
}

.withdraw-balance-label {
    display: block;
    font-size: 12px;
    color: #71717a;
    margin-bottom: 4px;
}

.withdraw-balance-amount {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.withdraw-balance-amount small {
    font-size: 13px;
    color: #71717a;
    font-weight: 400;
}

.withdraw-card-body {
    padding: 24px;
}

.withdraw-section {
    margin-bottom: 28px;
}

.withdraw-section:last-child {
    margin-bottom: 0;
}

.withdraw-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.withdraw-section-number {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #f0b90b 0%, #d97706 100%);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.withdraw-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

/* Withdraw Network Grid */
.withdraw-network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.withdraw-network-option {
    position: relative;
    cursor: pointer;
}

.withdraw-network-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.withdraw-network-content {
    padding: 14px 16px;
    background: #18191e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.withdraw-network-option:hover .withdraw-network-content {
    border-color: rgba(255, 255, 255, 0.15);
    background: #1e1f24;
}

.withdraw-network-option.selected .withdraw-network-content {
    border-color: #f0b90b;
    background: rgba(240, 185, 11, 0.08);
}

.withdraw-network-name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.withdraw-network-tag {
    font-size: 11px;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.withdraw-network-tag.fast {
    color: #00c076;
}

.withdraw-network-tag.popular {
    color: #f0b90b;
}

/* Withdraw Input Group */
.withdraw-input-group {
    background: #141519;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
}

.withdraw-input-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #71717a;
    margin-bottom: 12px;
}

.withdraw-input-label svg {
    width: 16px;
    height: 16px;
}

.withdraw-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 16px;
    color: #fff;
    font-size: 14px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    transition: all 0.2s ease;
}

.withdraw-input:focus {
    outline: none;
    border-color: #f0b90b;
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.1);
}

.withdraw-input::placeholder {
    color: #52525b;
}

.withdraw-input-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #71717a;
    margin-top: 12px;
}

.withdraw-input-hint svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Withdraw Amount Container */
.withdraw-amount-container {
    background: #141519;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
}

.withdraw-amount-input-wrap {
    position: relative;
    margin-bottom: 16px;
}

.withdraw-amount-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px 80px 16px 16px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    transition: all 0.2s ease;
}

.withdraw-amount-input:focus {
    outline: none;
    border-color: #f0b90b;
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.1);
}

.withdraw-amount-input::placeholder {
    color: #52525b;
    font-weight: 400;
}

.withdraw-amount-symbol {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #71717a;
    font-size: 14px;
    font-weight: 500;
}

.withdraw-amount-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.withdraw-amount-available {
    font-size: 13px;
    color: #71717a;
}

.withdraw-amount-available strong {
    color: #fff;
    font-weight: 600;
}

.withdraw-amount-buttons {
    display: flex;
    gap: 8px;
}

.withdraw-pct-btn {
    padding: 8px 14px;
    background: #18191e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #71717a;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.withdraw-pct-btn:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.withdraw-pct-btn.active {
    background: rgba(240, 185, 11, 0.15);
    border-color: #f0b90b;
    color: #f0b90b;
}

/* Withdraw AML Box */
.withdraw-aml-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(240, 185, 11, 0.06);
    border: 1px solid rgba(240, 185, 11, 0.15);
    border-radius: 12px;
    margin-bottom: 24px;
}

.withdraw-aml-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(240, 185, 11, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.withdraw-aml-icon svg {
    width: 22px;
    height: 22px;
    color: #f0b90b;
}

.withdraw-aml-content {
    flex: 1;
}

.withdraw-aml-content strong {
    display: block;
    color: #f0b90b;
    font-size: 14px;
    margin-bottom: 8px;
}

.withdraw-aml-content p {
    margin: 0 0 10px 0;
    color: #a1a1aa;
    font-size: 13px;
    line-height: 1.6;
}

.withdraw-aml-link {
    color: #f0b90b;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.withdraw-aml-link:hover {
    color: #fcd34d;
}

/* Withdraw Submit Button */
.withdraw-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #f0b90b 0%, #d97706 100%);
    color: #000;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.withdraw-submit-btn svg {
    width: 20px;
    height: 20px;
}

.withdraw-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(240, 185, 11, 0.3);
}

.withdraw-submit-btn:active {
    transform: translateY(0);
}

/* Withdraw Sidebar */
.withdraw-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.withdraw-info-card {
    background: #1a1b1f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 20px;
}

.withdraw-info-card.security {
    background: linear-gradient(135deg, rgba(246, 70, 93, 0.04) 0%, rgba(246, 70, 93, 0.01) 100%);
    border-color: rgba(246, 70, 93, 0.12);
}

.withdraw-info-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 16px 0;
}

.withdraw-info-title svg {
    width: 18px;
    height: 18px;
    color: #71717a;
}

.withdraw-info-card.security .withdraw-info-title svg {
    color: #f6465d;
}

.withdraw-info-list {
    display: flex;
    flex-direction: column;
}

.withdraw-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.withdraw-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.withdraw-info-item:first-child {
    padding-top: 0;
}

.withdraw-info-label {
    font-size: 13px;
    color: #71717a;
}

.withdraw-info-value {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
}

/* Withdraw Steps List */
.withdraw-steps-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    counter-reset: steps;
}

.withdraw-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.4;
    counter-increment: steps;
}

.withdraw-steps-list li::before {
    content: counter(steps);
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.06);
    color: #71717a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

/* Withdraw Security List */
.withdraw-security-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.withdraw-security-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.4;
}

.withdraw-security-list li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #f6465d;
    margin-top: 2px;
}

/* Legacy styles for compatibility */
.wallet-icon-lg {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    background: #18191e;
    flex-shrink: 0;
}

.wallet-icon-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Network selector */
.form-select {
    width: 100%;
    background: #18191e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 16px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2371717a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    transition: all 0.2s ease;
}

.form-select:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.form-select:focus {
    outline: none;
    border-color: #00b894;
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

.form-select option {
    background: #18191e;
    color: #fff;
    padding: 10px;
}

/* QR Code placeholder */
.qr-box {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 16px;
}

.qr-box img {
    width: 160px;
    height: 160px;
    display: block;
}

/* AML box */
.aml-box {
    background: rgba(240, 185, 11, 0.08);
    border: 1px solid rgba(240, 185, 11, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
}

.aml-box h4 {
    font-size: 14px;
    font-weight: 600;
    color: #f0b90b;
    margin: 0 0 8px 0;
}

.aml-box p {
    font-size: 13px;
    color: #a1a1aa;
    margin: 0;
    line-height: 1.6;
}

/* Info box */
.info-box {
    background: #141519;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin: 16px 0;
}

.info-box h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.info-box ul {
    margin: 0;
    padding-left: 20px;
    color: #a1a1aa;
    font-size: 13px;
}

.info-box li {
    padding: 4px 0;
}

/* Error page */
.err-wrap {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}

.err-icon {
    width: 64px;
    height: 64px;
    background: rgba(246, 70, 93, 0.12);
    color: #f6465d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.err-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.err-msg {
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

/* Utility spacing */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 12px; }

/* CSS Variables for legacy templates */
:root {
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --text-secondary: #71717a;
    --accent-green: #00c076;
    --accent-yellow: #f0b90b;
    --accent-red: #f6465d;
    --border-color: rgba(255, 255, 255, 0.05);
    --radius-md: 10px;
    --radius-lg: 16px;
}

/* Dashboard header */
.dashboard-header {
    margin-bottom: 24px;
}

.dashboard-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

/* Card header (alternate naming) */
.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

/* Text utilities */
.text-secondary {
    color: #71717a;
}

/* Button secondary */
.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Flex utilities */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

/* Transaction status badges */
.transaction-status {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
}

.status-pending {
    background: rgba(240, 185, 11, 0.12);
    color: #f0b90b;
}

.status-completed, .status-approved {
    background: rgba(0, 192, 118, 0.12);
    color: #00c076;
}

.status-rejected, .status-failed {
    background: rgba(246, 70, 93, 0.12);
    color: #f6465d;
}

/* ========================================
   PAGE HEADER STYLES
   ======================================== */

.page-sub {
    color: #71717a;
    font-size: 14px;
    margin-top: 4px;
}

/* ========================================
   TABLE STYLES
   ======================================== */

.tbl {
    width: 100%;
    border-collapse: collapse;
}

.tbl thead {
    background: rgba(255, 255, 255, 0.02);
}

.tbl th {
    padding: 16px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tbl td {
    padding: 16px 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.tbl tbody tr {
    transition: background 0.2s ease;
}

.tbl tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.tbl tbody tr:last-child td {
    border-bottom: none;
}

/* ========================================
   TRANSACTION ICONS
   ======================================== */

.tx-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.tx-icon.in {
    background: rgba(0, 192, 118, 0.12);
    color: #00c076;
}

.tx-icon.out {
    background: rgba(246, 70, 93, 0.12);
    color: #f6465d;
}

/* ========================================
   TRANSACTION STATUS BADGES
   ======================================== */

.tx-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
}

.tx-status.done {
    background: rgba(0, 192, 118, 0.12);
    color: #00c076;
}

.tx-status.wait {
    background: rgba(240, 185, 11, 0.12);
    color: #f0b90b;
}

.tx-status.fail {
    background: rgba(246, 70, 93, 0.12);
    color: #f6465d;
}

/* ========================================
   SETTINGS LIST ITEM
   ======================================== */

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.settings-item-info h4 {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 4px 0;
}

.settings-item-info p {
    font-size: 13px;
    color: #71717a;
    margin: 0;
}

/* ========================================
   CHECK LIST STYLES
   ======================================== */

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: #a1a1aa;
}

.check-list li svg,
.check-list li .check-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #00c076;
    margin-top: 2px;
}

/* ========================================
   VERIFICATION STEPS
   ======================================== */

.verify-step {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.verify-step:last-child {
    border-bottom: none;
}

.verify-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(240, 185, 11, 0.12);
    color: #f0b90b;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50%;
    margin-right: 12px;
}

.verify-step h4 {
    display: inline;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.verify-step p {
    font-size: 13px;
    color: #71717a;
    margin: 8px 0 0 40px;
}

/* ========================================
   ALERT / NOTICE BOXES
   ======================================== */

.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 24px;
}

.alert-warning {
    background: rgba(240, 185, 11, 0.1);
    border: 1px solid rgba(240, 185, 11, 0.2);
    color: #f0b90b;
}

.alert-success {
    background: rgba(0, 192, 118, 0.1);
    border: 1px solid rgba(0, 192, 118, 0.2);
    color: #00c076;
}

.alert-danger {
    background: rgba(246, 70, 93, 0.1);
    border: 1px solid rgba(246, 70, 93, 0.2);
    color: #f6465d;
}

.alert svg,
.alert-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

/* ========================================
   VERIFIED BADGE
   ======================================== */

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 192, 118, 0.12);
    color: #00c076;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}

.verified-badge svg {
    width: 14px;
    height: 14px;
}

/* ========================================
   SECURITY TIP CARD
   ======================================== */

.security-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
}

.security-tip svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #00c076;
    margin-top: 2px;
}

.security-tip span {
    font-size: 14px;
    color: #a1a1aa;
    line-height: 1.5;
}

/* ========================================
   SUCCESS STATE STYLES
   ======================================== */

.success-icon-lg {
    width: 80px;
    height: 80px;
    background: rgba(0, 192, 118, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon-lg svg {
    width: 40px;
    height: 40px;
    color: #00c076;
}

/* ========================================
   LEGAL PAGES
   ======================================== */

.legal-page {
    min-height: calc(100vh - 72px);
    padding: 60px 20px 80px;
    background: linear-gradient(180deg, #0a0b0d 0%, #07080a 100%);
}

.legal-page .container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content {
    background: linear-gradient(to bottom, #141519, #101114);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 40px 16px 60px;
    }

    .legal-content {
        padding: 32px 24px;
        border-radius: 16px;
    }
}

.legal-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-date {
    font-size: 14px;
    color: #71717a;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: #f5f5f7;
    margin: 40px 0 16px 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 32px;
}

.legal-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #e4e4e7;
    margin: 24px 0 12px 0;
}

.legal-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #a1a1aa;
    margin: 0 0 16px 0;
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 20px 0;
    padding-left: 24px;
}

.legal-content li {
    font-size: 15px;
    line-height: 1.7;
    color: #a1a1aa;
    margin-bottom: 8px;
    position: relative;
}

.legal-content ul li::marker {
    color: #f0b90b;
}

.legal-content ol li::marker {
    color: #f0b90b;
    font-weight: 600;
}

.legal-content strong {
    color: #f5f5f7;
    font-weight: 600;
}

/* Legal page callout boxes */
.legal-content > div[style*="background"] {
    border-radius: 12px !important;
    padding: 24px !important;
    margin: 24px 0 !important;
}

.legal-content > div[style*="background"] h3 {
    margin: 0 0 12px 0 !important;
    font-size: 16px !important;
}

.legal-content > div[style*="background"] p {
    margin: 0 !important;
}

/* Warning box for risk page */
.legal-warning {
    background: rgba(246, 70, 93, 0.1);
    border: 1px solid rgba(246, 70, 93, 0.3);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.legal-warning h3 {
    color: #f6465d;
    margin: 0 0 12px 0;
}

.legal-warning p {
    margin: 0;
}

/* Important notice box */
.legal-notice {
    background: rgba(240, 185, 11, 0.1);
    border: 1px solid rgba(240, 185, 11, 0.3);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.legal-notice h3 {
    color: #f0b90b;
    margin: 0 0 12px 0;
}

.legal-notice p {
    margin: 0;
}

/* Links in legal content */
.legal-content a {
    color: #f0b90b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: #fcd34d;
    text-decoration: underline;
}

/* Contact section styling */
.legal-content p:last-of-type {
    margin-bottom: 0;
}

/* ========================================
   MARKETS PAGE
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Currency Toggle Buttons */
.cur-toggle {
    display: flex;
    background: #0b0c0f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}

.cur-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #71717a;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cur-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.cur-btn.active {
    background: #f0b90b !important;
    color: #000 !important;
}

/* Card Header with Currency Toggle */
.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

/* Coin Display */
.coin {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coin-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: #18191e;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coin-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coin-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.coin-name {
    font-size: 14px;
    font-weight: 600;
    color: #f5f5f7;
}

.coin-sym {
    font-size: 12px;
    color: #71717a;
    text-transform: uppercase;
}

/* Price Display */
.price {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 14px;
    font-weight: 500;
    color: #f5f5f7;
}

/* Price Change Percentage */
.pct {
    display: inline-flex;
    align-items: center;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.pct.up {
    background: rgba(0, 192, 118, 0.12);
    color: #00c076;
}

.pct.down {
    background: rgba(246, 70, 93, 0.12);
    color: #f6465d;
}

/* Markets Page Header */
.page-head.text-center {
    text-align: center;
}

.page-head.text-center .page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-head.text-center .page-sub {
    font-size: 16px;
    color: #71717a;
}

/* Mobile Responsive Markets */
@media (max-width: 768px) {
    .tbl {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .cur-toggle {
        width: 100%;
        justify-content: center;
    }

    .card-head {
        flex-direction: column;
        align-items: stretch;
    }

    .page-head.text-center .page-title {
        font-size: 28px;
    }
}

/* ========================================
   SETTINGS PAGES (Profile, Security, Verification)
   Two-Column Professional Layout
   ======================================== */

.settings-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    max-width: 1200px;
}

@media (max-width: 1024px) {
    .settings-container {
        grid-template-columns: 1fr;
    }
}

.settings-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.settings-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Settings Card */
.settings-card {
    background: linear-gradient(to bottom, #141519, #101114);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
}

.settings-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.settings-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(240, 185, 11, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.settings-card-icon svg {
    width: 24px;
    height: 24px;
    color: #f0b90b;
}

.settings-card-icon.success {
    background: rgba(0, 192, 118, 0.1);
}

.settings-card-icon.success svg {
    color: #00c076;
}

.settings-card-icon.danger {
    background: rgba(246, 70, 93, 0.1);
}

.settings-card-icon.danger svg {
    color: #f6465d;
}

.settings-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #f5f5f7;
}

.settings-card-subtitle {
    font-size: 13px;
    color: #71717a;
    margin: 4px 0 0 0;
}

.settings-card-body {
    padding: 24px;
}

/* Settings Form Grid */
.settings-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 640px) {
    .settings-form-grid {
        grid-template-columns: 1fr;
    }
}

.settings-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-form-group.full {
    grid-column: 1 / -1;
}

.settings-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #a1a1aa;
}

.settings-label svg {
    width: 16px;
    height: 16px;
    color: #71717a;
}

.settings-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 14px;
    font-family: inherit;
    color: #f5f5f7;
    background: #0b0c0f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.2s ease;
    outline: none;
}

.settings-input:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.settings-input:focus {
    border-color: #f0b90b;
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.1);
}

.settings-input.disabled,
.settings-input:disabled {
    background: rgba(11, 12, 15, 0.5);
    color: #71717a;
    cursor: not-allowed;
}

.settings-hint {
    font-size: 12px;
    color: #71717a;
    margin-top: 4px;
}

.settings-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 32px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    background: linear-gradient(135deg, #f0b90b 0%, #d97706 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 24px;
}

.settings-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(240, 185, 11, 0.3);
}

.settings-submit-btn svg {
    width: 18px;
    height: 18px;
}

/* Settings Info Card (Sidebar) */
.settings-info-card {
    background: linear-gradient(to bottom, #141519, #101114);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
}

.settings-info-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #f5f5f7;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.settings-info-title svg {
    width: 18px;
    height: 18px;
    color: #f0b90b;
}

/* Settings Status List */
.settings-status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.settings-status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.settings-status-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.settings-status-label {
    font-size: 12px;
    color: #71717a;
}

.settings-status-value {
    font-size: 13px;
    color: #f5f5f7;
    font-weight: 500;
}

/* Settings Badge */
.settings-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.settings-badge svg {
    width: 12px;
    height: 12px;
}

.settings-badge.success {
    background: rgba(0, 192, 118, 0.12);
    color: #00c076;
}

.settings-badge.pending {
    background: rgba(240, 185, 11, 0.12);
    color: #f0b90b;
}

.settings-badge.pending:hover {
    background: rgba(240, 185, 11, 0.2);
}

.settings-badge.warning {
    background: rgba(246, 70, 93, 0.12);
    color: #f6465d;
}

.settings-badge.warning:hover {
    background: rgba(246, 70, 93, 0.2);
}

/* Settings Info List */
.settings-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.settings-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.settings-info-item:last-child {
    border-bottom: none;
}

.settings-info-label {
    font-size: 13px;
    color: #71717a;
}

.settings-info-value {
    font-size: 13px;
    color: #f5f5f7;
    font-weight: 500;
}

/* Settings Quick Links */
.settings-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #a1a1aa;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.settings-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #f5f5f7;
}

.settings-link svg {
    width: 18px;
    height: 18px;
    color: #71717a;
    transition: color 0.2s ease;
}

.settings-link:hover svg {
    color: #f0b90b;
}

/* Security Settings Items */
.settings-security-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.settings-security-item:last-child {
    border-bottom: none;
}

.settings-security-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.settings-security-info h4 {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 4px 0;
    color: #f5f5f7;
}

.settings-security-info p {
    font-size: 13px;
    color: #71717a;
    margin: 0;
}

/* Security Button */
.settings-security-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    color: #f5f5f7;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-security-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.settings-security-btn svg {
    width: 14px;
    height: 14px;
}

/* Verification Steps (Settings Style) */
.settings-verify-step {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.settings-verify-step:last-child {
    border-bottom: none;
}

.settings-verify-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(240, 185, 11, 0.12);
    color: #f0b90b;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50%;
    flex-shrink: 0;
}

.settings-verify-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #f5f5f7;
    margin: 0 0 6px 0;
}

.settings-verify-content p {
    font-size: 13px;
    color: #71717a;
    margin: 0;
    line-height: 1.5;
}

/* Settings Success State */
.settings-success-card {
    text-align: center;
    padding: 48px 24px;
}

.settings-success-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 192, 118, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.settings-success-icon svg {
    width: 40px;
    height: 40px;
    color: #00c076;
}

.settings-success-title {
    font-size: 20px;
    font-weight: 600;
    color: #00c076;
    margin: 0 0 8px 0;
}

.settings-success-text {
    font-size: 14px;
    color: #71717a;
    margin: 0;
}

/* Settings Alert Box */
.settings-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.settings-alert svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.settings-alert.warning {
    background: rgba(240, 185, 11, 0.1);
    border: 1px solid rgba(240, 185, 11, 0.2);
}

.settings-alert.warning svg {
    color: #f0b90b;
}

.settings-alert span {
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.5;
}

.settings-alert strong {
    color: #f5f5f7;
}

/* Settings Check List */
.settings-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.settings-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: #a1a1aa;
}

.settings-check-list li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #00c076;
    margin-top: 2px;
}

/* Settings Primary Button (Full Width) */
.settings-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    background: linear-gradient(135deg, #f0b90b 0%, #d97706 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-top: 8px;
}

.settings-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(240, 185, 11, 0.3);
}

.settings-btn-primary svg {
    width: 20px;
    height: 20px;
}

/* Settings Outline Button */
.settings-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    color: #f5f5f7;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.settings-btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.settings-btn-outline svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   SIDEBAR STATUS CARD
   ======================================== */

.sidebar-status-card {
    background: linear-gradient(to bottom, rgba(20, 21, 25, 0.8), rgba(16, 17, 20, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    overflow: hidden;
}

.sidebar-status-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-status-icon {
    width: 18px;
    height: 18px;
    color: #f0b90b;
}

.sidebar-status-title {
    font-size: 12px;
    font-weight: 600;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-status-content {
    padding: 16px;
}

.sidebar-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 8px;
}

.sidebar-status-badge svg {
    width: 14px;
    height: 14px;
}

.sidebar-status-badge.success {
    background: rgba(0, 192, 118, 0.12);
    color: #00c076;
}

.sidebar-status-badge.warning {
    background: rgba(240, 185, 11, 0.12);
    color: #f0b90b;
}

.sidebar-status-text {
    font-size: 12px;
    color: #71717a;
    margin: 0;
    line-height: 1.5;
}

.sidebar-status-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 36px;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #000;
    background: linear-gradient(135deg, #f0b90b 0%, #d97706 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-status-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(240, 185, 11, 0.3);
}

.sidebar-status-btn svg {
    width: 14px;
    height: 14px;
}
