* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #222;
    min-height: 100vh;

    background-image: url("../imagen/imagen_fondo.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    align-items: center;
}


header {
    background-color: #1e3a5f;
    color: white;
    padding: 20px 40px;
}

header h1 {
    font-size: 24px;
}

header p {
    font-size: 14px;
    opacity: 0.8;
}

main {
    /*padding: 30px 40px;
    max-width: 600px; el inicio a la izquierda de la pantalla y el otro es centrado*/
   
    padding: 30px 40px;
    max-width: 600px;
    width: 100%;
}


section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

section h2 {
    margin-bottom: 15px;
    font-size: 18px;
}

.ayuda {
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
}

/*Formulario*/
#formSolicitud label {
    display: block;
    font-weight: bold;
    margin-top: 12px;
    margin-bottom: 4px;
}

#formSolicitud input,
#formSolicitud select,
#formSolicitud textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: normal !important;
    margin-top: 15px !important;
}

.checkbox-label input {
    width: auto !important;
}

#btnEnviar {
    margin-top: 15px;
    padding: 9px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

#mensajeEstado {
    margin-top: 10px;
    font-weight: bold;
}

#mensajeEstado.exito { color: #28a745; }
#mensajeEstado.error { color: #dc3545; }

/*Consulta*/
#consultarSolicitud input {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
    width: 150px;
}

#btnConsultar {
    padding: 8px 18px;
    background-color: #1e3a5f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

#resultadoConsulta {
    margin-top: 18px;
}

.tarjetaSolicitud {
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 15px;
}

.tarjetaSolicitud p {
    margin-bottom: 6px;
    font-size: 14px;
}

.estado {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.Pendiente { background-color: #e0a800; }
.En.proceso { background-color: #007bff; }
.Resuelta { background-color: #28a745; }

.noEncontrado {
    color: #dc3545;
    font-weight: bold;
}