/* Estilos específicos para la página "Trabaja con Nosotros" */

.cv-form-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    text-align: center;
}
.cv-form-section h2 {
    font-size: 2.8em;
    color: #2c3e50;
    margin-bottom: 20px;
}
.cv-form-section p.section-intro {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
#cv-upload-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#cv-upload-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
    font-size: 1em;
}
#cv-upload-form input[type="text"],
#cv-upload-form input[type="email"],
#cv-upload-form input[type="file"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    color: #555;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}
#cv-upload-form input[type="text"]:focus,
#cv-upload-form input[type="email"]:focus,
#cv-upload-form input[type="file"]:focus {
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.25);
    outline: none;
}
#submit-cv-button {
    display: inline-block;
    background-color: #28a745;
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    width: auto;
    min-width: 200px;
    align-self: center;
    margin-top: 10px;
}
#submit-cv-button:hover {
    background-color: #218838;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
#submit-cv-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#cv-form-message {
    margin-top: 10px;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    word-wrap: break-word;
    width: 100%;
}
#cv-form-message.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
#cv-form-message.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
#cv-form-message ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
#cv-form-message ul li {
    margin-bottom: 5px;
}

/* --- Estilos para responsividad de esta sección --- */
@media (max-width: 768px) {
    .cv-form-section h2 {
        font-size: 2.2em;
    }
    .cv-form-section p.section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }
    #cv-upload-form {
        padding: 25px;
        margin: 0 20px;
        gap: 15px;
    }
    #submit-cv-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
        min-width: unset;
    }
}
@media (max-width: 480px) {
    .cv-form-section h2 {
        font-size: 1.8em;
    }
}