/* Estilos generales */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #252955;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: white;
    flex-direction: column;
    overflow-x: hidden;
    margin-top: 32px;
}

/* Contenedor principal */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    text-align: center;
    margin-bottom: 50px;
}

/* Card */
.card {
    display: flex;
    flex-direction: row;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Logo */
.logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 150px;
    height: auto;
    object-fit: contain;
}

/* Formulario */
.form-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Título */
.card-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #0c0c3e;
}

.highlight {
    color: #1E90FF;
}

.description-text {
    font-size: 0.9rem;
    color: #333;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.2;
    max-width: 600px;
}

/* Campos del formulario */
.form-group {
    width: 100%; /* Ocupa todo el ancho del contenedor */
    margin-bottom: 15px; /* Espaciado entre los grupos */
    text-align: left; /* Alinea el texto a la izquierda */
}

.form-group label {
    display: block; /* Cada etiqueta ocupa toda una línea */
    font-weight: bold;
    margin-bottom: 5px; /* Espaciado entre el label y el campo */
    color: #333;
}

.input-field,
.dropdown {
    width: 100%;
    max-width: 600px;
    height: 40px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

textarea.input-field {
    height: 100px;
    resize: none;
}

.input-field[type="file"] {
    width: 100%;
    max-width: 600px;
    height: auto;
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

.input-field[type="file"]::-webkit-file-upload-button {
    background-color: #1E90FF;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
}

.input-field[type="file"]::-webkit-file-upload-button:hover {
    background-color: #0c6ecf;
}

/* Botón */
.search-button {
    background-color: #1E90FF;
    color: #ffffff;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 10px 20px;
    width: 100%;
    max-width: 600px;
}

.search-button:hover {
    background-color: #0c6ecf;
}

#responseMessage {
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
    font-weight: bold; /* Negrita */
}

.form-group-row {
    display: flex;
    justify-content: space-between; /* Espaciado entre los elementos */
    gap: 20px; /* Espaciado entre los dos campos */
}

.form-group-row .form-group {
    flex: 1; /* Para que ambos campos ocupen el mismo ancho */
}

.input-field {
    width: 100%; /* Asegura que los inputs llenen el contenedor */
}



/* Footer */
footer {
    width: 100%;
    text-align: right;
    font-size: 0.9rem;
    color: #aaa;
    padding: 10px;
    position: relative;
    bottom: 0;
    right: 0;
}

/* Responsividad */
@media screen and (max-width: 768px) {
    .card {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .logo {
        width: 120px;
    }

    .form-content {
        padding: 15px;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .input-field,
    .search-button {
        max-width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    .card {
        max-width: 700px;
    }

    .logo {
        width: 130px;
    }

    .card-title {
        font-size: 1.6rem;
    }
}
