body {
    font-family: 'Roboto', Sans-serif;

    margin: 0;
    padding: 0;
}

.container-all-form {
    width: 65%;
    display: flex;
    justify-content: flex-start;
}

.requerido::after {
    content: '*';
    color: red;
    padding-left: .2em;
}

.label-texto {
    font-size: 15px;
    font-family: "Roboto", sans-serif;
    color: #7a7a7a;
}

.container_label_input {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin-bottom: 10px;
    gap: 5px;

    padding-right: calc(10px / 2);
    padding-left: calc(10px / 2);
}

.input-texto {

    padding: .75em;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    color: #333;
    transition: border-color 0.3s ease;
}

.input-texto:focus {
    border-color: #b90101;
    outline: none;
}

.input-textArea {
    padding: .75em;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    color: #333;
    transition: border-color 0.3s ease;
    resize: vertical;
    /* Permite cambiar el tamaño verticalmente */
}

.enviar {
    background-color: #990118;
    color: #ffffff;
    transition: all .3s;
    border: none;
    min-height: 40px;
}

.enviar:hover {
    background-color: #b90101;
    color: #ffffff;
    cursor: pointer;
}

/* VENTANA FLOTANTE DE CONFIRMACION DE ENVIO DE FORMULARIO */

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 250px;
    background: linear-gradient(135deg, #721e1e, #982a2a);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    text-align: center;
    color: white;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.modal-content p {
    font-size: 1.5em;
    margin-bottom: 30px;
    font-weight: 600;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.modal-content button {
    margin: 0 15px;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-content #confirm-yes {
    background: linear-gradient(45deg, #00c853, #64dd17);
    color: white;
}

.modal-content #confirm-yes:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.5);
}

.modal-content #confirm-no {
    background: linear-gradient(45deg, #d32f2f, #f44336);
    color: white;
}

.modal-content #confirm-no:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.5);
}

/* ------------------------------------------------------- */
.contenedor-form {
    display: flex;
    flex-wrap: wrap;

}

.por100 {
    width: 100%;
}

.por75 {
    width: 75%;
}

.por60 {
    width: 60%;
}

.por65 {
    width: 65%;
}

.por50 {
    width: 50%;
}

.por40 {
    width: 40%;
}

.por33 {
    width: 33.33%;
}

.por25 {
    width: 25%;
}

@media only screen and (max-width: 768px) {
    .container-libro-reclamacion-form {
        /* Tus estilos para móviles aquí */
        padding: 15px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .container-all-form {
        width: 100%;
        display: flex;
        justify-content: space-evenly;
    }

    .por100,
    .por75,
    .por60,
    .por65,
    .por50,
    .por40,
    .por33,
    .por25 {
        width: 100%;
    }
}

/* -------------------MODAL DE EXITO---------------------- */
.modal-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;
}

.modal-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: scaleUp 0.3s ease-in-out;
    font-family: 'Roboto', sans-serif;
}

.modal-box h2 {
    color: #4CAF50;
    font-size: 22px;
    margin-bottom: 15px;
}

.modal-box .codigo {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

.modal-box p {
    font-size: 16px;
    color: #555;
}

.btn-link {
    display: inline-block;
    margin: 15px 0;
    padding: 10px 20px;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: background 0.3s ease;
}

.btn-link:hover {
    background: #0056b3;
}

.btn-close {
    background: #f44336;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.btn-close:hover {
    background: #d32f2f;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.7);
    }

    to {
        transform: scale(1);
    }
}



/* ---------------MODAL DE CONFIRMACION -------------------*/

.por100 label {
    font-size: 16px;
    font-weight: 600;
    color: #4a4a4a;
    letter-spacing: 0.5px;
}

/* Estilo del input tipo fecha */
.por100 input[type="date"] {

    padding: 14px 18px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    font-size: 16px;
    color: #333;
    background: #ffffff;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    appearance: none;
    outline: none;
    position: relative;
}

/* Efecto al pasar el mouse */
.por100 input[type="date"]:hover {
    border-color: #cb1111;
    box-shadow: 0 6px 14px rgba(203, 17, 17, 0.3);
}

/* Efecto al hacer focus */
.por100 input[type="date"]:focus {
    border-color: #fc2525;
    box-shadow: 0 8px 20px rgba(252, 37, 37, 0.4);
    transform: scale(1.02);
}

/* Icono del calendario personalizado */
.por100 input[type="date"]::-webkit-calendar-picker-indicator {
    background: url('https://cdn-icons-png.flaticon.com/512/747/747310.png') no-repeat center;
    background-size: 22px 22px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.por100 input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Animación sutil al aparecer */
.por100 input[type="date"] {
    animation: fadeIn 0.7s ease forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;

    }

    100% {
        opacity: 1;

    }
}

/* -----------------MODAL DE CARGANDO....-------------------*/

#loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: Arial, sans-serif;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #b50011;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}