/* Modais Customizados */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal.show {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.custom-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.custom-modal.show .custom-modal-content {
    transform: scale(1);
}

.custom-modal-header {
    margin-bottom: 20px;
}

.custom-modal-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.custom-modal-icon.success {
    color: #28a745;
}

.custom-modal-icon.error {
    color: #dc3545;
}

.custom-modal-icon.warning {
    color: #ffc107;
}

.custom-modal-icon.info {
    color: #17a2b8;
}

.custom-modal-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.custom-modal-body {
    margin-bottom: 25px;
}

.custom-modal-message {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

.custom-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.custom-modal-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.custom-modal-btn.primary {
    background-color: var(--primary-color);
    color: white;
}

.custom-modal-btn.primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.custom-modal-btn.secondary {
    background-color: #6c757d;
    color: white;
}

.custom-modal-btn.secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.custom-modal-btn.success {
    background-color: #28a745;
    color: white;
}

.custom-modal-btn.success:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.custom-modal-btn.danger {
    background-color: #dc3545;
    color: white;
}

.custom-modal-btn.danger:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 480px) {
    .custom-modal-content {
        padding: 20px;
        margin: 20px;
    }
    
    .custom-modal-title {
        font-size: 20px;
    }
    
    .custom-modal-message {
        font-size: 14px;
    }
    
    .custom-modal-btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 80px;
    }
}