/* assets/css/deposit-modal.css */

.deposit-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10003;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.deposit-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.deposit-modal {
    background: linear-gradient(145deg, #2c3e50 0%, #34495e 100%);
    border-radius: 24px;
    max-width: 400px;
    width: 100%;
    position: relative;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform: scale(0.8) translateY(40px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
}

.deposit-modal-overlay.show .deposit-modal {
    transform: scale(1) translateY(0);
}

.deposit-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.deposit-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.deposit-modal-header {
    text-align: center;
    padding: 40px 30px 30px;
    background: linear-gradient(145deg, #2c3e50 0%, #34495e 100%);
}

.deposit-warning-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #f39c12 0%, #e67e22 100%);
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    animation: warning-pulse 2s infinite;
    border: 3px solid rgba(243, 156, 18, 0.3);
    box-shadow: 0 8px 24px rgba(243, 156, 18, 0.4);
}

@keyframes warning-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.deposit-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
    line-height: 1.2;
}

.deposit-subtitle {
    font-size: 14px;
    color: #bdc3c7;
    margin-bottom: 20px;
    line-height: 1.4;
}

.deposit-modal-content {
    padding: 0 30px 30px;
}

.deposit-instruction {
    text-align: center;
    margin-bottom: 30px;
}

.deposit-instruction-text {
    font-size: 16px;
    line-height: 1.5;
    color: #ecf0f1;
    margin-bottom: 8px;
}

.deposit-minimum {
    font-size: 18px;
    font-weight: 700;
    color: #27ae60;
    margin-top: 8px;
}

.deposit-progress-section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
}

.progress-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 12px;
    font-weight: 600;
}

.progress-item:last-child {
    margin-bottom: 0;
}

.progress-deposited {
    background: linear-gradient(145deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

.progress-needed {
    background: linear-gradient(145deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.progress-item-icon {
    font-size: 16px;
    margin-right: 8px;
}

.progress-item-label {
    flex: 1;
    font-size: 14px;
}

.progress-item-value {
    font-size: 16px;
    font-weight: 700;
}

.progress-bar-container {
    margin: 20px 0;
}

.progress-label {
    font-size: 14px;
    font-weight: 600;
    color: #27ae60;
    text-align: center;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 60%; /* Ajustar conforme necessário */
}

.deposit-button {
    background: linear-gradient(145deg, #27ae60 0%, #2ecc71 100%);
    border: none;
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 30px;
    border-radius: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 
        0 8px 24px rgba(46, 204, 113, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deposit-button:hover {
    background: linear-gradient(145deg, #229954 0%, #27ae60 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 32px rgba(46, 204, 113, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.deposit-button:active {
    transform: translateY(-1px);
}

.deposit-rules {
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.25);
    border-radius: 12px;
    padding: 16px;
}

.deposit-rules-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.deposit-rules-icon {
    color: #f39c12;
    font-size: 16px;
}

.deposit-rules-title {
    font-size: 14px;
    font-weight: 700;
    color: #f39c12;
}

.deposit-rules-text {
    font-size: 12px;
    line-height: 1.4;
    color: #ecf0f1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .deposit-modal-overlay {
        padding: 15px;
    }
    
    .deposit-modal {
        border-radius: 20px;
    }
    
    .deposit-modal-header {
        padding: 35px 25px 25px;
    }
    
    .deposit-modal-content {
        padding: 0 25px 25px;
    }
    
    .deposit-warning-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .deposit-title {
        font-size: 20px;
    }
    
    .deposit-subtitle {
        font-size: 13px;
    }
    
    .deposit-instruction-text {
        font-size: 15px;
    }
    
    .deposit-minimum {
        font-size: 16px;
    }
    
    .deposit-progress-section {
        padding: 18px;
        border-radius: 14px;
    }
    
    .progress-item {
        padding: 10px 14px;
        border-radius: 10px;
    }
    
    .progress-item-label {
        font-size: 13px;
    }
    
    .progress-item-value {
        font-size: 15px;
    }
    
    .deposit-button {
        font-size: 16px;
        padding: 16px 25px;
        border-radius: 14px;
    }
    
    .deposit-rules {
        padding: 14px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .deposit-modal-overlay {
        padding: 10px;
    }
    
    .deposit-modal {
        border-radius: 18px;
    }
    
    .deposit-modal-header {
        padding: 30px 20px 20px;
    }
    
    .deposit-modal-content {
        padding: 0 20px 20px;
    }
    
    .deposit-modal-close {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .deposit-warning-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .deposit-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .deposit-subtitle {
        font-size: 12px;
        margin-bottom: 16px;
    }
    
    .deposit-instruction-text {
        font-size: 14px;
    }
    
    .deposit-minimum {
        font-size: 15px;
    }
    
    .deposit-progress-section {
        padding: 16px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    .progress-item {
        padding: 8px 12px;
        margin-bottom: 10px;
        border-radius: 8px;
    }
    
    .progress-item-icon {
        font-size: 14px;
    }
    
    .progress-item-label {
        font-size: 12px;
    }
    
    .progress-item-value {
        font-size: 14px;
    }
    
    .progress-label {
        font-size: 13px;
    }
    
    .deposit-button {
        font-size: 15px;
        padding: 14px 20px;
        border-radius: 12px;
        margin-bottom: 16px;
    }
    
    .deposit-rules {
        padding: 12px;
        border-radius: 8px;
    }
    
    .deposit-rules-title {
        font-size: 13px;
    }
    
    .deposit-rules-text {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .deposit-modal-overlay {
        padding: 8px;
    }
    
    .deposit-modal-header {
        padding: 25px 16px 16px;
    }
    
    .deposit-modal-content {
        padding: 0 16px 16px;
    }
    
    .deposit-title {
        font-size: 16px;
    }
    
    .deposit-progress-section {
        padding: 14px;
    }
    
    .deposit-rules {
        padding: 10px;
    }
}