/* assets/css/success-modal.css */

.success-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: 10002;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.success-modal {
    background: linear-gradient(135deg, #1a2332 0%, #2a3441 100%);
    border-radius: 20px;
    max-width: 420px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(76, 175, 80, 0.3);
    overflow: hidden;
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
}

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

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

.success-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.success-modal-header {
    text-align: center;
    padding: 30px 25px 20px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    position: relative;
}

.success-check-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    animation: success-pulse 2s infinite;
    backdrop-filter: blur(10px);
}

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

.success-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.success-subtitle {
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 193, 7, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 193, 7, 0.4);
}

.warning-icon {
    color: #FFC107;
    font-size: 18px;
}

.success-modal-content {
    padding: 25px;
}

.info-cards {
    margin-bottom: 25px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.info-icon {
    font-size: 18px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-title {
    font-size: 16px;
    font-weight: 600;
    color: #4CAF50;
}

.info-text {
    font-size: 14px;
    line-height: 1.5;
    color: #e0e0e0;
}

.highlight-text {
    color: #4CAF50;
    font-weight: 600;
}

.law-card {
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.law-card .info-icon {
    color: #FFC107;
}

.law-card .info-title {
    color: #FFC107;
}

.limit-warning {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1) 0%, rgba(244, 67, 54, 0.05) 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid rgba(244, 67, 54, 0.3);
    backdrop-filter: blur(10px);
}

.limit-warning-text {
    font-size: 14px;
    font-weight: 600;
    color: #ff8a80;
    line-height: 1.5;
}

.action-button {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}

.action-button:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.action-button::before {
    content: "🔒";
}

/* Efeito de fundo sutil */
.success-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 193, 7, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 480px) {
    .success-modal {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .success-modal-header {
        padding: 25px 20px 15px;
    }
    
    .success-modal-content {
        padding: 0 20px 25px;
    }
    
    .success-check-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .success-title {
        font-size: 18px;
    }
    
    .success-subtitle {
        font-size: 14px;
    }
    
    .info-card {
        padding: 15px;
    }
}