/* Alertas Elegantes Personalizados */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

.custom-alert-overlay.fade-out {
    animation: fadeOut 0.3s ease-in-out forwards;
}

.custom-alert {
    background: var(--primary-color);
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    animation: slideIn 0.4s ease-out;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.custom-alert.success {
    background: var(--primary-color);
}

.custom-alert.error {
    background: #e74c3c;
}

.custom-alert.warning {
    background: var(--secondary-color);
}

.custom-alert.info {
    background: var(--primary-color);
}

.custom-alert-icon {
    display: none; /* Remove o ícone */
}

.custom-alert-title {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.custom-alert-message {
    color: white;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.custom-alert-button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.custom-alert-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.custom-alert-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.custom-alert-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
}

/* Responsividade */
@media (max-width: 480px) {
    .custom-alert {
        padding: 20px;
        margin: 20px;
    }
    
    .custom-alert-title {
        font-size: 1.3rem;
    }
    
    .custom-alert-message {
        font-size: 0.9rem;
    }
}

/* Efeitos especiais */
.custom-alert::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-color);
    border-radius: 15px;
    z-index: -1;
    animation: glowing 3s ease-in-out infinite alternate;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-alert:hover::before {
    opacity: 1;
}

@keyframes glowing {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.5;
    }
}

/* Variantes de cores específicas */
.custom-alert.success::before {
    background: var(--primary-color);
}

.custom-alert.error::before {
    background: #e74c3c;
}

.custom-alert.warning::before {
    background: var(--secondary-color);
}

.custom-alert.info::before {
    background: var(--primary-color);
} 