.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
}

/* Estilos base para diálogos */
.dialog,
.dialog-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    max-width: 500px;
    z-index: 1001;
}

/* Header de diálogos */
.dialog-header,
.alert-header {
    padding: 1rem;
}

.dialog-header h3,
.alert-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.dialog-content {
    max-height: 70vh;
    overflow-y: auto;
}

/* Contenido de diálogos */
.dialog-content,
.alert-body {
    padding: 1.5rem;
    line-height: 1.5;
}

/* Footer de diálogos */
.dialog-footer {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.dialog-alert button {
    width: 100%;
    margin-top: 1rem;
}

/* Notificaciones */
.notice {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    max-width: 300px;
    color: white;
    animation: slideIn 0.3s ease-out;
    z-index: 1002;
}

/* Tipos de notificaciones */
.notice-info {
    background-color: #007bff;
}

.notice-success {
    background-color: #28a745;
}

.notice-warning {
    background-color: #ffc107;
    color: #333;
}

.notice-error {
    background-color: #dc3545;
}

/* Animación para las notificaciones */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 576px) {

    .dialog,
    .dialog-alert {
        width: 90%;
        margin: 0 auto;
    }

    .notice {
        width: 90%;
        right: 5%;
    }
}