/* ===========================
   Bolsa de Empleo - Estilo Moderno
=========================== */

#bolsaempleo {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(145deg, #ffffff, #f7f7f7);
    color: #001c4c;
    line-height: 1.6;
    padding: 30px;
    max-width: 900px;
    margin: 50px auto;
    border-radius: 20px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    box-sizing: border-box;
}

#bolsaempleo:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 40px rgba(0,0,0,0.12);
}

/* ===========================
   Logo
=========================== */

#bolsaempleo .logo-container {
    text-align: center;
    margin-bottom: 25px;
}

#bolsaempleo .logo-container img {
    max-width: 180px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

#bolsaempleo .logo-container img:hover {
    transform: scale(1.05);
}

/* ===========================
   Título principal
=========================== */

#bolsaempleo h2 {
    text-align: center;
    color: #ec000b; /* Color corporativo */
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

/* ===========================
   Mensajes de éxito y error
=========================== */

#bolsaempleo .success-msg {
    color: #28a745;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

#bolsaempleo .error-msg {
    color: #dc3545;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

/* ===========================
   Formulario
=========================== */

#bolsaempleo form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#bolsaempleo input,
#bolsaempleo select,
#bolsaempleo textarea {
    padding: 12px 15px;
    border: 1px solid #99a4b8;
    border-radius: 12px;
    font-size: 1rem;
    width: 100%;
    background: #ffffff;
    transition: all 0.3s ease;
}

#bolsaempleo input:focus,
#bolsaempleo select:focus,
#bolsaempleo textarea:focus {
    border-color: #001c4c;
    box-shadow: 0 0 8px rgba(0,28,76,0.3);
    outline: none;
}

/* Botón de envío */
#bolsaempleo .btn-submit {
    background: linear-gradient(90deg, #001c4c, #ec000b);
    color: #ffffff;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#bolsaempleo .btn-submit:hover {
    background: linear-gradient(90deg, #ec000b, #001c4c);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,28,76,0.3);
}

/* ===========================
   Media Queries
=========================== */

@media (max-width: 1023px) {
    #bolsaempleo { padding: 22px; margin: 25px auto; }
    #bolsaempleo h2 { font-size: 1.7rem; }
}

@media (max-width: 767px) {
    #bolsaempleo { padding: 18px; margin: 20px auto; }
    #bolsaempleo h2 { font-size: 1.5rem; }
    #bolsaempleo .logo-container img { max-width: 150px; }
}

@media (max-width: 479px) {
    #bolsaempleo { padding: 12px; margin: 12px auto; }
    #bolsaempleo h2 { font-size: 1.2rem; }
    #bolsaempleo .logo-container img { max-width: 100px; }
}
