/* ===== DEPOSIT MODALS - UNIFIED STYLES ===== */
/* Modern, Professional, and Beautiful Deposit Modal Design */

:root {
    --deposit-primary: #064737;
    --deposit-secondary: #43D885;
    --deposit-accent: #45AD6B;
    --deposit-text-dark: #212529;
    --deposit-text-muted: #6c757d;
    --deposit-bg-white: #ffffff;
    --deposit-border-light: rgba(67, 216, 133, 0.2);
    --deposit-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --deposit-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --deposit-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --deposit-shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
    --deposit-transition: all 0.3s ease;
}

/* ===== MODAL CONTENT CONTAINER ===== */
.deposit-modal-content {
    display: flex;
    flex-direction: column;
    max-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #064737, #0a5a42) !important;
    color: #fff;
    padding: 0;
    border: none;
    border-radius: 0;
}

.deposit-modal-header {
    flex-shrink: 0;
    padding: 24px 30px;
    background: linear-gradient(135deg, #064737, #0a5a42);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deposit-modal-header .modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 0;
    flex: 1;
    padding: 0 60px; /* Add padding on both sides to account for back button */
}

.deposit-modal-header .back-btn {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--deposit-transition);
    backdrop-filter: blur(10px);
    z-index: 1;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.deposit-modal-header .back-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.deposit-modal-body {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    padding: 30px 20px;
    background: #f8f9fa;
    width: 100%;
}

.deposit-content-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--deposit-border-light);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--deposit-shadow-lg);
    animation: slideInUp 0.4s ease;
}

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

/* ===== FORM STYLES ===== */
.deposit-form {
    margin-top: 0;
}

.deposit-form-group {
    margin-bottom: 24px;
}

.deposit-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--deposit-primary);
    font-size: 14px;
    letter-spacing: 0.3px;
}

.deposit-form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Century Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    color: var(--deposit-text-dark);
    transition: var(--deposit-transition);
    min-height: 48px;
}

.deposit-form-control:focus {
    outline: none;
    border-color: var(--deposit-secondary);
    box-shadow: 0 0 0 3px rgba(67, 216, 133, 0.1);
    background: #fff;
}

.deposit-form-control::placeholder {
    color: #adb5bd;
}

.deposit-form-control[readonly] {
    background: #f8f9fa;
    cursor: not-allowed;
    border-color: #e9ecef;
}

/* Currency Input with Icon */
.deposit-currency-input {
    position: relative;
}

.deposit-currency-input input {
    padding-left: 40px;
}

/* Currency symbol for USD */
.deposit-currency-input-usd::before {
    content: '$';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--deposit-accent);
    font-weight: 700;
    font-size: 18px;
    z-index: 1;
}

/* Currency symbol for EUR */
.deposit-currency-input-eur::before {
    content: '€';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--deposit-accent);
    font-weight: 700;
    font-size: 18px;
    z-index: 1;
}

/* ===== BUTTON STYLES ===== */
.deposit-btn-primary {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #064737, #0a5c46);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: var(--deposit-transition);
    box-shadow: 0 4px 12px rgba(6, 71, 55, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.deposit-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.deposit-btn-primary:hover {
    background: linear-gradient(135deg, #43D885, #2fbf6c);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 216, 133, 0.4);
}

.deposit-btn-primary:hover::before {
    left: 100%;
}

.deposit-btn-primary:active {
    transform: translateY(0);
}

.deposit-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ===== DEPOSIT DETAILS SECTION ===== */
.deposit-details-section {
    margin-top: 32px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.deposit-details-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--deposit-primary);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 16px;
}

.deposit-details-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--deposit-secondary), transparent);
    border-radius: 2px;
}

.deposit-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.deposit-details-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--deposit-transition);
    box-shadow: var(--deposit-shadow-sm);
}

.deposit-details-item:hover {
    border-color: var(--deposit-secondary);
    box-shadow: var(--deposit-shadow-md);
    transform: translateX(4px);
}

.deposit-details-item-content {
    flex: 1;
}

.deposit-details-item-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--deposit-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.deposit-details-item-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--deposit-primary);
    word-break: break-all;
}

.deposit-details-item-actions {
    margin-left: 16px;
}

.deposit-copy-btn {
    background: rgba(67, 216, 133, 0.1);
    border: 1px solid var(--deposit-border-light);
    color: var(--deposit-accent);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--deposit-transition);
    cursor: pointer;
}

.deposit-copy-btn:hover {
    background: var(--deposit-secondary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(67, 216, 133, 0.3);
}

.deposit-copy-btn:active {
    transform: scale(0.95);
}

.deposit-copy-btn.copied {
    background: var(--deposit-secondary);
    color: #fff;
}

/* ===== IMPORTANT INFORMATION SECTION ===== */
.deposit-notice {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 16px;
    box-shadow: var(--deposit-shadow-sm);
}

.deposit-notice-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--deposit-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.deposit-notice-title::before {
    content: '⚠️';
    font-size: 20px;
}

.deposit-notice-list {
    margin: 0;
    padding-left: 24px;
    list-style: none;
}

.deposit-notice-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--deposit-text-dark);
    font-size: 14px;
    line-height: 1.6;
}

.deposit-notice-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--deposit-accent);
    font-weight: 700;
    font-size: 18px;
}

.deposit-notice-list li:last-child {
    margin-bottom: 0;
}

/* ===== ERROR/SUCCESS MESSAGES ===== */
.deposit-message {
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.deposit-message-error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.deposit-message-success {
    background: linear-gradient(135deg, rgba(67, 216, 133, 0.1), rgba(67, 216, 133, 0.05));
    border: 1px solid rgba(67, 216, 133, 0.3);
    color: var(--deposit-accent);
}

/* ===== LOADING INDICATOR ===== */
.deposit-loading-indicator {
    text-align: center;
    margin-top: 24px;
    padding: 20px;
    display: none;
}

.deposit-loading-indicator.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .deposit-modal-header {
        padding: 20px 16px;
    }

    .deposit-modal-header {
        padding: 20px 16px;
    }

    .deposit-modal-header .back-btn {
        left: 16px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .deposit-modal-header .modal-title {
        font-size: 20px;
        padding: 0 50px; /* Reduced padding for mobile */
    }

    .deposit-modal-body {
        padding: 20px 16px;
    }

    .deposit-content-container {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .deposit-form-group {
        margin-bottom: 20px;
    }

    .deposit-details-item {
        padding: 14px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .deposit-details-item-actions {
        margin-left: 0;
        width: 100%;
    }

    .deposit-copy-btn {
        width: 100%;
    }
}

/* ===== DIVIDER ===== */
.deposit-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--deposit-secondary), transparent);
    margin: 32px 0;
    border-radius: 1px;
}

/* ===== QR CODE CONTAINER (BRL) ===== */
.deposit-qr-container {
    margin-top: 24px;
    text-align: center;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: var(--deposit-shadow-sm);
}

.deposit-qr-image {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--deposit-shadow-md);
    margin-bottom: 20px;
}

.deposit-qr-code-input {
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 12px;
}

.deposit-qr-copy-btn {
    background: linear-gradient(135deg, #45AD6B, #43D885);
    border: none;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--deposit-transition);
    box-shadow: 0 4px 12px rgba(69, 173, 107, 0.3);
}

.deposit-qr-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(69, 173, 107, 0.4);
}

.deposit-copy-success {
    display: inline-block;
    margin-left: 12px;
    color: var(--deposit-accent);
    font-weight: 600;
    animation: fadeIn 0.3s ease;
}

