/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

:root {
    --hover-background: #00a6ed;

}

div.form-pre-registro {
    font-family: 'Poppins', sans-serif;
}

label.form-label {
    text-transform: lowercase;
}

label.form-label:first-letter {
    text-transform: uppercase;
    /* Aplica mayúscula solo a la primera letra */
}

label.required::after {
    content: ' *';
    color: red;
    font-weight: bold;
}

.custom-tooltip {
    --bs-tooltip-bg: #00476c;
    --bs-tooltip-color: var(--bs-white);
}

.bg-base {
    background: #00476c;

}

.bg-gradient-linear {
    background: linear-gradient(to right, #00d28a, #00a6ed);
    background-size: 200%;
    animation: gradient-move 4s ease infinite;
    border-radius: 0;
    color: white;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.bg-base-gradient-linear {
    background: linear-gradient(to right, #00476c, #00a6ed);
    background-size: 200%;
    animation: gradient-move 4s ease infinite;
    border-radius: 0;
    color: white;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.bg-gradient-linear:hover {
    transform: scale(1.05) !important;
}


.delete-file svg {
    cursor: pointer;
    color: red;
    width: 20px;
    height: 20px;
}

a.btn {
    text-decoration: none !important;
}

.bg-base:hover {
    background: linear-gradient(to right, #00d28a, #00a6ed);
    animation: gradient-move 4s ease infinite;
    background-size: 200%;
    border-color: transparent;
}

a.btn:active {
    background: #00476c !important;
}

.form-check-label {
    cursor: pointer;
}

.form-check-input[type=radio] {
    border-radius: 25%;
}

@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* Fondo oscuro del modal */
.custom-modal-backdrop {
    display: none;
    /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.603);
    /* Fondo semitransparente */
    z-index: 1049;
    /* Detrás del modal */
    opacity: 0;
    /* Transparente al inicio */
    transition: opacity 0.3s ease;
    /* Efecto de fade */
}

/* Modal personalizado */
.custom-modal {
    display: none;
    /* Oculto por defecto */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    /* Frente al fondo */
    text-align: center;
    width: 90%;
    max-width: 400px;
    opacity: 0;
    /* Transparente al inicio */
    transition: opacity 0.3s ease;
    /* Efecto de fade */
}

.custom-modal-content {
    padding: 20px;
}

.custom-modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

#modalMessage {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}


.custom-modal-btn:hover {
    background-color: #0056b3;
}

.custom-modal-btn:active {
    background-color: #004085;
}

/* Lista de archivos */
.file-status-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.file-status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Asegura que estén alineados verticalmente */
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.file-status-item:last-child {
    border-bottom: none;
}

.file-status-name {
    display: block;
    /* Mantiene el nombre alineado como un bloque */
    width: 130px;
    /* Ancho fijo para truncar nombres largos */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    color: #333;
}

.file-status-success {
    color: #28a745;
    font-weight: bold;
    /* Asegura consistencia visual */
}

.file-status-error {
    color: #dc3545;
    font-weight: bold;
    /* Igual que los elementos con éxito */
}

/* Opcional: espacio adicional entre los elementos */
.file-status-item span {
    margin-left: 10px;
}


h5.title-form {
    font-size: 16px;
}