
/**
 * ===================================================
 * © 2025 YUYAY Ltda. - yuyay.fin.ec
 * Sistema: Pagína Web
 * Versión: 2.5
 * Desarrollador: [Leonardo Verdugo Crespo - Sistemas]
 * Última modificación: 24/06/2024
 * ===================================================
 */

body {
    background: url('../imagenes/Fondo.jpg') no-repeat center center/cover;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: flex-end; /* Alinear a la derecha */
    align-items: stretch;       /* Ocupar todo el alto */
    font-family: Arial, sans-serif;
}

.formulario {
    background: rgba(0, 0, 0, 0.6);
    width: 50vw; /* Ocupa la mitad derecha */
    padding: 50px;
    border-radius: 20px 0 0 20px; /* Curvas solo en el borde izquierdo */
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.5); /* Sombra hacia la izquierda */
    color: #fff;
    height: 100vh; /* Todo el alto */
    overflow-y: auto; /* Scroll si el contenido se desborda */
    box-sizing: border-box;

}

h1 {
    text-align: center;
    margin-bottom: 30px;
}

/* Contenedor para agrupar campos en fila */
.row {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

input, select {
    padding: 10px;
    border-radius: 5px;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #0056b3;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 12px 20px;
    margin-top: 30px;
    border: none;
    border-radius: 8px;
    width: 100%;
}

input[type="submit"]:hover {
    background-color: #003f7f;
}

/* Estilo específico para los adjuntos */
.adjuntos {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.adjunto {
    flex: 1;
    display: flex;
    flex-direction: column;
}


/* Tarjeta de la izquierda*/
.tarjeta-izquierda {
    position: absolute;
    top: 53%;
    left: 15%;
    transform: translateY(-50%);
    width: 20%;
    height: 50vh;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contenido-tarjeta {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: acercamiento 4s infinite ease-in-out;
}

.imagen-cuerpo {
    flex-grow: 1;
    overflow: hidden;
}

.imagen-cuerpo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.texto-pie {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    padding: 15px;
    text-align: center;
    background-color: #fff;
}

/* Animación de acercamiento */
@keyframes acercamiento {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}


/* Mensaje contador de tiempo cuenta atras*/
.mensaje {
    max-width: 500px;
    margin: 20px auto;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.exito {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.oculto {
    display: none;
}