/* Wallet Withdraw Card Verification Block - Professional Design */
.wallet-withdraw-verification-block {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: transparent;
}

/* Hide old withdraw amount input when verification block is shown - CRITICAL */
.wallet-withdraw-content #walletWithdrawAmountBlock {
    display: none !important;
}

.wallet-withdraw-content .wallet-deposit-amount-block {
    display: none !important;
}

.wallet-withdraw-content:has(.wallet-withdraw-verification-block) #walletWithdrawAmountBlock,
.wallet-withdraw-content:has(.wallet-withdraw-verification-block) .wallet-deposit-amount-block,
.wallet-withdraw-content:has(.wallet-withdraw-verification-block[style*="display: flex"]) .wallet-deposit-amount,
.wallet-withdraw-content:has(.wallet-withdraw-verification-block[style*="display: flex"]) #walletWithdrawAmountSummary,
.wallet-withdraw-content:has(.wallet-withdraw-verification-block[style*="display: flex"]) .wallet-withdraw-note {
    display: none !important;
}

/* Available Balance Section - Ultra Compact Apple Style */
.wallet-withdraw-verification-balance-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: #f5f5f7;
    border-radius: 10px;
    margin-bottom: 12px;
}

.wallet-withdraw-verification-balance-label {
    font-size: 11px;
    font-weight: 500;
    color: #86868b;
    letter-spacing: -0.1px;
    white-space: nowrap;
}

.wallet-withdraw-verification-balance-amount {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.wallet-withdraw-verification-balance-value {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1;
    letter-spacing: -0.4px;
}

.wallet-withdraw-verification-balance-currency {
    font-size: 14px;
    font-weight: 500;
    color: #86868b;
}

/* Message Card */
.wallet-withdraw-verification-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 20px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 249, 255, 0.92) 100%);
    border-radius: 20px;
    border: 1px solid rgba(94, 109, 255, 0.12);
    box-shadow: 0 4px 16px rgba(15, 21, 60, 0.06);
    margin-bottom: 16px;
}

.wallet-withdraw-verification-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

.wallet-withdraw-verification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(94, 109, 255, 0.12) 0%, rgba(31, 200, 120, 0.12) 100%);
    border-radius: 50%;
    border: 2px solid rgba(94, 109, 255, 0.2);
}

.wallet-withdraw-verification-icon svg {
    width: 32px;
    height: 32px;
}

.wallet-withdraw-verification-title {
    font-size: 19px;
    font-weight: 700;
    color: #0b1032;
    text-align: center;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.wallet-withdraw-verification-text {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(11, 16, 50, 0.75);
    text-align: center;
    margin: 0;
}

/* Action Button */
.wallet-withdraw-verification-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1fc878 0%, #18b36b 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    box-shadow: 0 12px 24px rgba(24, 179, 107, 0.3);
    transition: all 0.2s ease;
    cursor: pointer;
    width: 100%;
}

.wallet-withdraw-verification-button:active {
    transform: scale(0.98);
    box-shadow: 0 8px 16px rgba(24, 179, 107, 0.25);
}

.wallet-withdraw-verification-button svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Desktop adjustments */
@media (min-width: 768px) {
    .wallet-withdraw-verification-balance-section {
        padding: 11px 16px;
        margin-bottom: 14px;
    }
    
    .wallet-withdraw-verification-balance-label {
        font-size: 12px;
    }
    
    .wallet-withdraw-verification-balance-value {
        font-size: 22px;
    }
    
    .wallet-withdraw-verification-balance-currency {
        font-size: 15px;
    }
    
    .wallet-withdraw-amount-input-section {
        margin-bottom: 14px;
    }
    
    .wallet-withdraw-amount-label {
        font-size: 12px;
    }
    
    .wallet-withdraw-amount-input {
        padding: 11px 14px;
        padding-right: 55px;
        font-size: 18px;
    }
    
    .wallet-withdraw-amount-currency {
        right: 14px;
        font-size: 16px;
    }
    
    .wallet-withdraw-verification-card {
        padding: 28px 24px;
        margin-bottom: 20px;
    }
    
    .wallet-withdraw-verification-icon {
        width: 72px;
        height: 72px;
    }
    
    .wallet-withdraw-verification-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .wallet-withdraw-verification-title {
        font-size: 21px;
    }
    
    .wallet-withdraw-verification-text {
        font-size: 15px;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .wallet-withdraw-verification-button {
        padding: 18px 32px;
        font-size: 17px;
        max-width: 360px;
        margin: 0 auto;
    }
    
    .wallet-withdraw-verification-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 32px rgba(24, 179, 107, 0.4);
    }
}


/* Card Input Form - Ultra-Compact Apple/Stripe Style */
.wallet-withdraw-card-form-block {
    display: none;
    flex-direction: column;
    padding: 0;
    background: transparent;
}

.wallet-card-form-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Form Header - Minimal & Elegant */
.wallet-card-form-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    gap: 6px;
}

.wallet-card-form-lock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f6f9fc;
    border-radius: 50%;
    color: #32325d;
    margin-bottom: 2px;
}

.wallet-card-form-title {
    font-size: 20px;
    font-weight: 600;
    color: #32325d;
    margin: 0;
    letter-spacing: -0.2px;
}

.wallet-card-form-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: #8898aa;
    margin: 0;
}

.wallet-card-form-balance {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 8px;
    padding: 6px 12px;
    background: #f6f9fc;
    border-radius: 6px;
}

.wallet-card-balance-label {
    font-size: 10px;
    font-weight: 500;
    color: #8898aa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wallet-card-balance-amount {
    font-size: 18px;
    font-weight: 600;
    color: #32325d;
    letter-spacing: -0.3px;
}

.wallet-card-balance-amount span {
    font-size: 13px;
    font-weight: 500;
    color: #8898aa;
    margin-left: 2px;
}

/* Form Styles - Clean & Compact */
.wallet-card-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wallet-card-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wallet-card-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.wallet-card-form-label {
    font-size: 13px;
    font-weight: 500;
    color: #32325d;
    letter-spacing: 0;
}

.wallet-card-form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.wallet-card-form-input {
    width: 100%;
    padding: 11px 12px;
    font-size: 15px;
    font-weight: 400;
    color: #32325d;
    background: #ffffff;
    border: 1px solid #e6ebf1;
    border-radius: 6px;
    transition: all 0.15s ease;
    outline: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    -webkit-appearance: none;
}

.wallet-card-input-large {
    padding: 12px 12px;
    font-size: 16px;
    letter-spacing: 0.3px;
}

.wallet-card-form-input::placeholder {
    color: #aab7c4;
    font-weight: 400;
}

.wallet-card-form-input:focus {
    border-color: #6772e5;
    box-shadow: 0 0 0 1px #6772e5, 0 1px 1px 0 rgba(0, 0, 0, 0.07), 0 0 0 4px rgba(103, 114, 229, 0.1);
}

.wallet-card-form-input:disabled {
    background: #f6f9fc;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Card Brand Icon - Subtle */
.wallet-card-brand-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.wallet-card-brand-icon svg {
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.card-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 22px;
    padding: 0 6px;
    font-size: 10px;
    font-weight: 600;
    color: #6772e5;
    background: rgba(103, 114, 229, 0.08);
    border-radius: 4px;
    letter-spacing: 0.4px;
}

/* Trust Badges - Minimal */
.wallet-card-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 10px 0;
    margin: 4px 0 8px;
}

.wallet-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 500;
    color: #8898aa;
    letter-spacing: 0.2px;
}

.wallet-trust-badge svg {
    flex-shrink: 0;
    color: #24b47e;
}

/* Error Messages */
.wallet-card-form-error {
    font-size: 12px;
    font-weight: 400;
    color: #f5222d;
    min-height: 0;
    padding-left: 1px;
}

/* Submit Button - Apple Style */
.wallet-card-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    margin-top: 8px;
    border-radius: 6px;
    background: #6772e5;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    border: none;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.15s ease;
    cursor: pointer;
    letter-spacing: 0.2px;
}

.wallet-card-form-submit:hover {
    background: #5469d4;
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.wallet-card-form-submit:active {
    background: #5469d4;
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.wallet-card-form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Footer - Minimal */
.wallet-card-form-footer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 0 0;
    margin-top: 4px;
    border-top: 1px solid #e6ebf1;
}

.wallet-card-form-footer svg {
    flex-shrink: 0;
    color: #8898aa;
    margin-top: 1px;
}

.wallet-card-form-footer span {
    font-size: 11px;
    line-height: 1.5;
    color: #8898aa;
    font-weight: 400;
}

/* Loading Spinner */
.wallet-card-form-spinner {
    animation: wallet-card-spin 0.6s linear infinite;
}

@keyframes wallet-card-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Success Screen */
.wallet-card-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 20px;
    text-align: center;
}

.wallet-card-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #24b47e;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(36, 180, 126, 0.3);
}

.wallet-card-success-icon svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.wallet-card-success-title {
    font-size: 20px;
    font-weight: 600;
    color: #32325d;
    margin: 0;
    letter-spacing: -0.2px;
}

.wallet-card-success-text {
    font-size: 14px;
    line-height: 1.5;
    color: #8898aa;
    margin: 0;
    max-width: 320px;
    font-weight: 400;
}

.wallet-card-success-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    margin-top: 4px;
    border-radius: 6px;
    background: #24b47e;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    border: none;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.15s ease;
    cursor: pointer;
    letter-spacing: 0.2px;
}

.wallet-card-success-button:hover {
    background: #1ea672;
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.wallet-card-success-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Desktop Adjustments */
@media (min-width: 768px) {
    .wallet-card-form-container {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .wallet-card-form-header {
        margin-bottom: 24px;
    }
    
    .wallet-card-form-lock-icon {
        width: 44px;
        height: 44px;
    }
    
    .wallet-card-form-title {
        font-size: 22px;
    }
    
    .wallet-card-form-subtitle {
        font-size: 14px;
    }
    
    .wallet-card-form-balance {
        margin-top: 10px;
        padding: 8px 14px;
    }
    
    .wallet-card-balance-amount {
        font-size: 20px;
    }
    
    .wallet-card-form {
        gap: 14px;
    }
    
    .wallet-card-form-input {
        padding: 12px 14px;
    }
    
    .wallet-card-input-large {
        padding: 13px 14px;
        font-size: 17px;
    }
    
    .wallet-card-form-submit {
        padding: 13px 24px;
        font-size: 16px;
        margin-top: 12px;
    }
    
    .wallet-card-success {
        padding: 48px 32px;
    }
    
    .wallet-card-success-icon {
        width: 72px;
        height: 72px;
    }
    
    .wallet-card-success-title {
        font-size: 22px;
    }
}

/* Preloader Screen - Waiting for Manager Decision */
.wallet-card-preloader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
    text-align: center;
}

.wallet-card-preloader-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.wallet-card-preloader-title {
    font-size: 20px;
    font-weight: 600;
    color: #32325d;
    margin: 0;
    letter-spacing: -0.2px;
}

.wallet-card-preloader-text {
    font-size: 14px;
    line-height: 1.5;
    color: #8898aa;
    margin: 0;
    max-width: 320px;
    font-weight: 400;
}

.wallet-card-preloader-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.wallet-card-preloader-dots span {
    width: 8px;
    height: 8px;
    background: #ff7052;
    border-radius: 50%;
    animation: wallet-preloader-bounce 1.4s infinite ease-in-out both;
}

.wallet-card-preloader-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.wallet-card-preloader-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes wallet-preloader-bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Error Screen */
.wallet-card-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 20px;
    text-align: center;
}

.wallet-card-error-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #ff6b6b;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.wallet-card-error-icon svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.wallet-card-error-title {
    font-size: 20px;
    font-weight: 600;
    color: #32325d;
    margin: 0;
    letter-spacing: -0.2px;
}

.wallet-card-error-text {
    font-size: 14px;
    line-height: 1.5;
    color: #8898aa;
    margin: 0;
    max-width: 320px;
    font-weight: 400;
}

.wallet-card-error-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    margin-top: 4px;
    border-radius: 6px;
    background: #ff6b6b;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    border: none;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.15s ease;
    cursor: pointer;
    letter-spacing: 0.2px;
}

.wallet-card-error-button:hover {
    background: #ff5252;
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.wallet-card-error-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Desktop Adjustments for Preloader and Error */
@media (min-width: 768px) {
    .wallet-card-preloader,
    .wallet-card-error {
        padding: 48px 32px;
    }
    
    .wallet-card-preloader-spinner {
        width: 96px;
        height: 96px;
    }
    
    .wallet-card-preloader-title,
    .wallet-card-error-title {
        font-size: 22px;
    }
    
    .wallet-card-preloader-text,
    .wallet-card-error-text {
        font-size: 15px;
        max-width: 380px;
    }
    
    .wallet-card-error-icon {
        width: 72px;
        height: 72px;
    }
}

/* SMS Verification Screen */
.wallet-sms-verification {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px 20px;
}

.wallet-sms-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.wallet-sms-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(103, 114, 229, 0.1);
    border-radius: 50%;
    margin-bottom: 4px;
}

.wallet-sms-title {
    font-size: 22px;
    font-weight: 600;
    color: #32325d;
    margin: 0;
    letter-spacing: -0.3px;
}

.wallet-sms-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #8898aa;
    margin: 0;
    line-height: 1.5;
}

.wallet-sms-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wallet-sms-code-inputs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin: 0 auto;
    max-width: 320px;
    width: 100%;
}

.wallet-sms-code-input {
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    font-size: 24px;
    font-weight: 600;
    color: #32325d;
    text-align: center;
    background: #ffffff;
    border: 2px solid #e6ebf1;
    border-radius: 8px;
    transition: all 0.15s ease;
    outline: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.wallet-sms-code-input:focus {
    border-color: #6772e5;
    box-shadow: 0 0 0 3px rgba(103, 114, 229, 0.1);
}

.wallet-sms-code-input:not(:placeholder-shown) {
    border-color: #6772e5;
    background: rgba(103, 114, 229, 0.05);
}

/* NEW: Single input field for SMS code (supports 4-10 digits) */
.wallet-sms-code-input-wrapper {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 320px;
    width: 100%;
}

.wallet-sms-code-input-single {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 4px;
    color: #32325d;
    border: 2px solid #e6ebf1;
    border-radius: 12px;
    background: white;
    transition: all 0.2s ease;
    outline: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.wallet-sms-code-input-single:focus {
    border-color: #6772e5;
    box-shadow: 0 0 0 3px rgba(103, 114, 229, 0.1);
}

.wallet-sms-code-input-single:not(:placeholder-shown) {
    border-color: #6772e5;
    background: rgba(103, 114, 229, 0.05);
}

.wallet-sms-code-input-single::placeholder {
    color: #8898aa;
    letter-spacing: normal;
    font-size: 16px;
    font-weight: 400;
}

.wallet-sms-error {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 8px;
    border-left: 3px solid #ff6b6b;
    font-size: 13px;
    color: #ff6b6b;
    font-weight: 500;
}

.wallet-sms-error svg {
    flex-shrink: 0;
}

.wallet-sms-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    margin-top: 4px;
    border-radius: 8px;
    background: #6772e5;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 12px rgba(103, 114, 229, 0.3);
    transition: all 0.15s ease;
    cursor: pointer;
    letter-spacing: 0.2px;
}

.wallet-sms-submit:hover {
    background: #5469d4;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(103, 114, 229, 0.4);
}

.wallet-sms-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(103, 114, 229, 0.3);
}

.wallet-sms-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.wallet-sms-resend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-top: 8px;
    font-size: 13px;
    color: #8898aa;
}

.wallet-sms-resend-button {
    background: none;
    border: none;
    color: #6772e5;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.wallet-sms-resend-button:hover {
    color: #5469d4;
}

.wallet-sms-resend-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Desktop Adjustments for SMS */
@media (min-width: 768px) {
    .wallet-sms-verification {
        padding: 40px 32px;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .wallet-sms-icon {
        width: 64px;
        height: 64px;
    }
    
    .wallet-sms-title {
        font-size: 24px;
    }
    
    .wallet-sms-subtitle {
        font-size: 15px;
    }
    
    .wallet-sms-code-inputs {
        gap: 10px;
        max-width: 360px;
    }
    
    .wallet-sms-code-input {
        font-size: 28px;
        border-radius: 10px;
    }
    
    .wallet-sms-submit {
        padding: 15px 32px;
        font-size: 17px;
    }
}

/* Mobile optimizations */
@media (max-width: 375px) {
    .wallet-sms-code-inputs {
        gap: 6px;
    }
    
    .wallet-sms-code-input {
        font-size: 20px;
    }
}

/* Withdrawal Amount Input - Apple Minimalist */
.wallet-withdraw-amount-input-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.wallet-withdraw-amount-label {
    font-size: 11px;
    font-weight: 500;
    color: #86868b;
    letter-spacing: -0.1px;
}

.wallet-withdraw-amount-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.wallet-withdraw-amount-input {
    width: 100%;
    padding: 10px 12px;
    padding-right: 50px;
    font-size: 17px;
    font-weight: 400;
    color: #1d1d1f;
    background: #f5f5f7;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: all 0.2s ease;
    outline: none;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    -webkit-appearance: none;
}

.wallet-withdraw-amount-input::placeholder {
    color: #c7c7cc;
    font-weight: 400;
}

.wallet-withdraw-amount-input:focus {
    background: #ffffff;
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.wallet-withdraw-amount-currency {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: 500;
    color: #86868b;
    pointer-events: none;
}

.wallet-withdraw-amount-error {
    font-size: 11px;
    font-weight: 400;
    color: #ff3b30;
    min-height: 0;
    padding-left: 2px;
    display: none;
}

.wallet-withdraw-amount-hint {
    font-size: 11px;
    font-weight: 400;
    color: #86868b;
    padding-left: 2px;
}


/* Saved Card - Premium 3D Holographic Design (Apple/Stripe/Revolut Style) */
.wallet-withdraw-saved-card {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 16px;
    padding: 16px 18px;
    color: white;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.15),
        0 12px 32px rgba(15, 52, 96, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin: 12px auto;
    max-width: 100%;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Holographic shine effect */
.wallet-withdraw-saved-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        115deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.08) 45%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.08) 55%,
        transparent 60%,
        transparent 100%
    );
    animation: wallet-card-shine 8s ease-in-out infinite;
    pointer-events: none;
}

/* Gradient overlay for depth */
.wallet-withdraw-saved-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 80% 20%,
        rgba(94, 109, 255, 0.15) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 20% 80%,
        rgba(31, 200, 120, 0.12) 0%,
        transparent 50%
    );
    pointer-events: none;
    opacity: 0.8;
}

@keyframes wallet-card-shine {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%) rotate(30deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(30deg);
    }
}

.wallet-withdraw-saved-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.2),
        0 16px 48px rgba(15, 52, 96, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.wallet-withdraw-saved-card:active {
    transform: translateY(-2px) scale(0.99);
    transition: all 0.15s ease;
}

.wallet-withdraw-saved-card-header {
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.wallet-withdraw-saved-card-title {
    font-size: 9px;
    font-weight: 700;
    opacity: 0.6;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.wallet-withdraw-saved-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    opacity: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.wallet-withdraw-saved-card-logo img {
    display: block;
    height: 100%;
    width: auto;
    object-fit: contain;
}

.wallet-withdraw-saved-card-body {
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.wallet-withdraw-saved-card-number {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    line-height: 1.4;
    opacity: 0.98;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.wallet-withdraw-saved-card-details {
    display: flex;
    gap: 20px;
}

.wallet-withdraw-saved-card-expiry,
.wallet-withdraw-saved-card-holder {
    flex: 1;
}

.wallet-withdraw-saved-card-label {
    display: block;
    font-size: 8px;
    opacity: 0.55;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.wallet-withdraw-saved-card-value {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.3;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.wallet-withdraw-change-card-button {
    width: 100%;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    z-index: 2;
    letter-spacing: 0.2px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.wallet-withdraw-change-card-button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wallet-withdraw-change-card-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.wallet-withdraw-change-card-button:hover::before {
    opacity: 1;
}

.wallet-withdraw-change-card-button:active {
    transform: translateY(0) scale(0.98);
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.1s ease;
}

.wallet-withdraw-change-card-button svg {
    width: 14px;
    height: 14px;
    opacity: 0.95;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Desktop adjustments */
@media (min-width: 768px) {
    .wallet-withdraw-saved-card {
        padding: 20px 22px;
        margin: 16px auto;
        border-radius: 18px;
        max-width: 380px;
    }
    
    .wallet-withdraw-saved-card-header {
        margin-bottom: 16px;
    }
    
    .wallet-withdraw-saved-card-title {
        font-size: 10px;
        letter-spacing: 1.4px;
    }
    
    .wallet-withdraw-saved-card-logo {
        height: 26px;
    }
    
    .wallet-withdraw-saved-card-logo img {
        height: 100%;
    }
    
    .wallet-withdraw-saved-card-number {
        font-size: 20px;
        margin-bottom: 16px;
        letter-spacing: 3px;
    }
    
    .wallet-withdraw-saved-card-details {
        gap: 24px;
    }
    
    .wallet-withdraw-saved-card-label {
        font-size: 9px;
        margin-bottom: 5px;
    }
    
    .wallet-withdraw-saved-card-value {
        font-size: 13px;
        letter-spacing: 0.4px;
    }
    
    .wallet-withdraw-change-card-button {
        padding: 11px 18px;
        font-size: 14px;
        border-radius: 12px;
    }
    
    .wallet-withdraw-change-card-button:hover {
        transform: translateY(-2px);
    }
    
    .wallet-withdraw-change-card-button svg {
        width: 15px;
        height: 15px;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .wallet-withdraw-saved-card {
        max-width: 100%;
    }
}

/* Withdrawal Submit Button - Apple Blue Style */
.wallet-withdraw-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    margin-top: 8px;
    border-radius: 10px;
    background: #007aff;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: 100%;
    letter-spacing: -0.2px;
}

.wallet-withdraw-submit-button:hover {
    background: #0051d5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.wallet-withdraw-submit-button:active {
    transform: scale(0.98);
    box-shadow: 0 2px 6px rgba(0, 122, 255, 0.2);
}

.wallet-withdraw-submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.wallet-withdraw-submit-button svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* Desktop adjustments for submit button */
@media (min-width: 768px) {
    .wallet-withdraw-submit-button {
        padding: 13px 24px;
        font-size: 16px;
        max-width: 400px;
        margin: 12px auto 0;
    }
}


/* Screenshot Upload Verification Styles */
.wallet-screenshot-upload {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px 20px;
}

.wallet-screenshot-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.wallet-screenshot-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(103, 114, 229, 0.1);
    border-radius: 50%;
    margin-bottom: 4px;
}

.wallet-screenshot-title {
    font-size: 22px;
    font-weight: 600;
    color: #32325d;
    margin: 0;
    letter-spacing: -0.3px;
}

.wallet-screenshot-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #8898aa;
    margin: 0;
    line-height: 1.6;
    max-width: 400px;
}

.wallet-screenshot-upload-area {
    position: relative;
    min-height: 200px;
    cursor: pointer; /* Добавляем курсор для всей области */
}

.wallet-screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    border: 2px dashed #e6ebf1;
    border-radius: 12px;
    background: #f6f9fc;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none; /* Предотвращаем выделение текста при клике */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.wallet-screenshot-placeholder:hover {
    border-color: #6772e5;
    background: rgba(103, 114, 229, 0.05);
}

.wallet-screenshot-placeholder p {
    font-size: 15px;
    font-weight: 500;
    color: #32325d;
    margin: 0;
    pointer-events: none; /* Клики проходят через текст к родителю */
}

.wallet-screenshot-placeholder span {
    font-size: 12px;
    color: #8898aa;
    pointer-events: none; /* Клики проходят через текст к родителю */
}

.wallet-screenshot-placeholder svg {
    pointer-events: none; /* Клики проходят через SVG к родителю */
}

.wallet-screenshot-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.wallet-screenshot-preview img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    max-height: 400px;
    object-fit: contain;
    background: #f6f9fc;
}

.wallet-screenshot-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.wallet-screenshot-remove:hover {
    background: #ff6b6b;
    color: white;
}

.wallet-screenshot-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    margin-top: 4px;
    border-radius: 8px;
    background: #6772e5;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 12px rgba(103, 114, 229, 0.3);
    transition: all 0.15s ease;
    cursor: pointer;
    letter-spacing: 0.2px;
}

.wallet-screenshot-submit:hover:not(:disabled) {
    background: #5469d4;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(103, 114, 229, 0.4);
}

.wallet-screenshot-submit:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(103, 114, 229, 0.3);
}

.wallet-screenshot-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Desktop adjustments for screenshot upload */
@media (min-width: 768px) {
    .wallet-screenshot-upload {
        padding: 40px 32px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .wallet-screenshot-icon {
        width: 72px;
        height: 72px;
    }
    
    .wallet-screenshot-title {
        font-size: 24px;
    }
    
    .wallet-screenshot-subtitle {
        font-size: 15px;
    }
    
    .wallet-screenshot-placeholder {
        padding: 50px 30px;
    }
    
    .wallet-screenshot-submit {
        padding: 15px 32px;
        font-size: 17px;
    }
}
