/* Modal de Depósito */
.deposit-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.deposit-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.deposit-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
                0 0 40px rgba(0, 132, 237, 0.2);
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
}

.deposit-modal-overlay.active .deposit-modal-content {
    transform: scale(1) translateY(0);
}

/* Header */
.deposit-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-header);
    border-radius: 16px 16px 0 0;
}

.deposit-modal-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
}

.deposit-modal-close {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.deposit-modal-close:hover {
    background: var(--hover-bg);
    color: var(--text-white);
}

/* Body */
.deposit-modal-body {
    padding: 30px;
    position: relative;
    min-height: 400px;
}

/* Steps */
.deposit-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.deposit-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section */
.deposit-section {
    margin-bottom: 30px;
}

.deposit-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cards Grid */
.deposit-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.deposit-card {
    background: var(--bg-header);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 85px;
}

.deposit-card:hover {
    border-color: var(--primary-color);
    background: var(--hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 132, 237, 0.3);
}

.deposit-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 132, 237, 0.1), rgba(0, 160, 255, 0.1));
    box-shadow: 0 0 20px rgba(0, 132, 237, 0.4);
}

.deposit-card-currency {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

.deposit-card-value {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-white);
    margin-top: 3px;
}

/* Hot Card */
.deposit-card-hot {
    border-color: #ff6b35;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 140, 0, 0.1));
}

.deposit-card-hot:hover {
    border-color: #ff6b35;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 140, 0, 0.2));
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.deposit-card-hot.selected {
    border-color: #ff6b35;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.deposit-card-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b35, #ff8c00);
    color: var(--text-white);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

/* Divider */
.deposit-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    gap: 15px;
}

.deposit-divider::before,
.deposit-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.deposit-divider-text {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Input Group */
.deposit-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.deposit-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.deposit-input-prefix {
    position: absolute;
    left: 16px;
    color: var(--text-gray);
    font-size: 18px;
    font-weight: 600;
    pointer-events: none;
}

.deposit-input {
    width: 100%;
    background: var(--bg-header);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 16px 16px 45px;
    color: var(--text-white);
    font-size: 20px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    outline: none;
}

.deposit-input::placeholder {
    color: var(--text-gray);
    opacity: 0.6;
    font-size: 16px;
}

.deposit-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 132, 237, 0.2);
}

/* Conversion Display */
.deposit-conversion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
}

.deposit-conversion-label {
    font-size: 14px;
    color: var(--text-gray);
}

.deposit-conversion-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

/* Buttons */
.deposit-btn-primary,
.deposit-btn-secondary {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 20px;
}

.deposit-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #00a0ff);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 132, 237, 0.3);
}

.deposit-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 132, 237, 0.4);
}

.deposit-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.deposit-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.deposit-btn-secondary {
    background: var(--bg-header);
    border: 2px solid var(--border-color);
    color: var(--text-white);
}

.deposit-btn-secondary:hover {
    border-color: var(--primary-color);
    background: var(--hover-bg);
}

/* QR Code Container */
.deposit-qrcode-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.deposit-qrcode-header {
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.deposit-qrcode-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.deposit-qrcode-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-white);
    margin: 0 0 5px 0;
}

.deposit-qrcode-subtitle {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* QR Code Wrapper */
.deposit-qrcode-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    min-height: 300px;
}

.deposit-qrcode-wrapper canvas {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Loader */
.deposit-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.deposit-loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 132, 237, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.deposit-loader p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
}

/* Info Items */
.deposit-qrcode-info {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px;
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.deposit-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.deposit-info-label {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deposit-info-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    font-family: 'Courier New', monospace;
}

.deposit-info-value-usd {
    color: var(--primary-color);
}

/* Copy Section */
.deposit-copy-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.deposit-copy-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deposit-copy-wrapper {
    display: flex;
    gap: 10px;
}

.deposit-copy-input {
    flex: 1;
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-white);
    font-size: 14px;
    font-family: 'Courier New', monospace;
    outline: none;
}

.deposit-copy-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.deposit-copy-btn:hover {
    background: #0095ff;
    box-shadow: 0 4px 12px rgba(0, 132, 237, 0.4);
    transform: translateY(-1px);
}

.deposit-copy-btn:active {
    transform: translateY(0);
}

.deposit-copy-success {
    display: none;
    align-items: center;
    gap: 8px;
    color: #00ff88;
    font-size: 14px;
    font-weight: 600;
    animation: fadeIn 0.3s ease;
}

.deposit-copy-success.show {
    display: flex;
}

/* Warning */
.deposit-warning {
    display: flex;
    gap: 12px;
    padding: 15px;
    background: rgba(0, 132, 237, 0.1);
    border: 1px solid rgba(0, 132, 237, 0.3);
    border-radius: 10px;
}

.deposit-warning i {
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.deposit-warning p {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* Deposit Button in Header */
.deposit-header-btn {
    background: linear-gradient(135deg, var(--primary-color), #00a0ff);
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 132, 237, 0.3);
}

.deposit-header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 132, 237, 0.4);
}

.deposit-header-btn:active {
    transform: translateY(0);
}

.deposit-header-btn i {
    font-size: 16px;
}

/* Responsividade */
@media (max-width: 768px) {
    .deposit-modal-content {
        max-width: 95%;
        max-height: 95vh;
    }

    .deposit-modal-header {
        padding: 20px;
    }

    .deposit-modal-title {
        font-size: 18px;
    }

    .deposit-modal-body {
        padding: 20px;
        min-height: 300px;
    }

    .deposit-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .deposit-qrcode-wrapper {
        padding: 20px;
        min-height: 250px;
    }

    .deposit-qrcode-info {
        flex-direction: column;
        gap: 15px;
    }

    .deposit-copy-wrapper {
        flex-direction: column;
    }

    .deposit-header-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .deposit-header-btn span {
        display: none;
    }
}

@media (max-width: 480px) {
    .deposit-modal-header {
        padding: 15px;
    }

    .deposit-modal-title {
        font-size: 16px;
    }

    .deposit-modal-body {
        padding: 15px;
    }

    .deposit-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .deposit-card {
        padding: 15px;
        min-height: 80px;
    }

    .deposit-card-value {
        font-size: 24px;
    }

    .deposit-card-badge {
        font-size: 8px;
        padding: 3px 8px;
    }

    .deposit-qrcode-wrapper {
        padding: 15px;
        min-height: 200px;
    }
}

