.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Este es el contenedor que ya tienes en el HTML envolviendo todo */
.trabaja-main {
    /* IMPORTANTE: Cambia 'imagenes/tu-foto-obra.jpg' por la ruta real de tu imagen */
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), 
                      url('imagenes/fondo.png');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Mantiene la imagen fija mientras haces scroll */
    
    min-height: 100vh;
    padding: 120px 20px 60px 20px; /* Ajuste para que no choque con el header */
    display: flex;
    align-items: center;
}

/* Ajuste para que los textos superiores sean legibles sobre el fondo */
.form-header h2, 
.form-header p {
    color: #ffffff; /* Texto blanco para resaltar */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5); /* Sombra suave para legibilidad */
}

.form-header .top-tag {
    color: #e31e24; /* Mantenemos el rojo ROAN */
    text-shadow: none;
}

.top-tag {
    color: #e31e24;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 10px;
}

.highlight {
    color: #e31e24;
}

.title-line {
    width: 60px;
    height: 4px;
    background: #e31e24;
    margin: 15px auto;
}

.job-form {
    background: rgba(255, 255, 255, 0.98); /* Un toque casi imperceptible de transparencia */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); /* Sombra más profunda para dar profundidad */
    backdrop-filter: blur(5px); /* Desenfoque sutil detrás del formulario */
}

.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-input input, 
.form-input select, 
.form-input textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    font-family: inherit;
}

.form-input textarea {
    resize: vertical;
    min-height: 120px;
}

.form-input input:focus, 
.form-input select:focus,
.form-input textarea:focus {
    border-color: #e31e24;
    box-shadow: 0 0 5px rgba(227, 30, 36, 0.2);
}

/* Para que el mensaje y notas ocupen toda la fila */
.full-width {
    grid-column: 1 / -1;
}

.instruction-box {
    margin-top: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background: #fff5f5;
    border-left: 4px solid #e31e24;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #444;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #e31e24;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
}

@media (max-width: 768px) {
    .form-group-grid {
        grid-template-columns: 1fr;
    }
}