/* ============================================= */
/* --- ESTILOS PARA EL MODAL DE ALERTA (ShowMessage) --- */
/* ============================================= */
.alert-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.alert-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    animation: zoomIn 0.3s forwards;
}

.alert-modal-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.alert-modal-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.alert-modal-content p {
    margin: 0 0 25px 0;
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

.alert-modal-button {
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s;
}

.alert-modal-button:hover {
    transform: scale(1.05);
}

/* Colores por tipo de alerta */
.alert-modal-content.success h3 {
    color: #28a745;
}

.alert-modal-content.error h3 {
    color: #dc3545;
}

.alert-modal-content.info h3 {
    color: #17a2b8;
}

.alert-modal-button.success {
    background-color: #28a745;
    color: white;
}

.alert-modal-button.error {
    background-color: #dc3545;
    color: white;
}

.alert-modal-button.info {
    background-color: #17a2b8;
    color: white;
}

/* Animaciones */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    to {
        transform: scale(1);
    }
}

/* ============================================= */
/* --- ESTILOS PARA EL MODAL DE CONFIRMACIÓN --- */
/* ============================================= */
.confirmation-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.confirmation-modal-button {
    padding: 10px 25px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-confirm {
    background-color: #28a745;
    color: white;
}

.btn-confirm:hover {
    background-color: #218838;
}

.btn-cancel {
    background-color: #f8f9fa;
    color: #333;
    border-color: #ddd;
}

.btn-cancel:hover {
    background-color: #e2e6ea;
}

/* ============================================= */
/* --- ESTILOS PARA EL BOTÓN DE SUBIR ARCHIVO (ICONO) --- */
/* ============================================= */

.btn-upload-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px dashed #cccccc;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.btn-upload-icon img {
    width: 40px;
    margin-bottom: 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.btn-upload-icon span {
    font-weight: 600;
    color: #555;
    transition: color 0.3s ease;
}

.btn-upload-icon:hover {
    border-color: #2575fc;
    background-color: #f0f7ff;
}

.btn-upload-icon:hover img {
    opacity: 1;
}

.btn-upload-icon:hover span {
    color: #2575fc;
}

/* --- TOAST MINIMALISTA --- */
.toast-minimal {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 3000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-minimal.show {
    opacity: 1;
    transform: translateY(0);
}