/* ===========================
   Bolsa de Empleo - Estilo Moderno
=========================== */

#bolsaempleo {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(145deg, #ffffff, #f7f7f7);
    color: #1c1c1c;
    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 (ajustado)
=========================== */

#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: #f0a500; /* Dorado moderno */
    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 #ddd;
    border-radius: 12px;
    font-size: 1rem;
    width: 100%;
    background: #fafafa;
    transition: all 0.3s ease;
}

#bolsaempleo input:focus,
#bolsaempleo select:focus,
#bolsaempleo textarea:focus {
    border-color: #f0a500;
    box-shadow: 0 0 8px rgba(240, 165, 0, 0.3);
    outline: none;
}

/* Botón de envío */
#bolsaempleo .btn-submit {
    background: linear-gradient(90deg, #f0a500, #ffcc33);
    color: #fff;
    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, #ffcc33, #f0a500);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(240, 165, 0, 0.3);
}

/* ===========================
   Media Queries Completos
=========================== */

/* Pantallas muy grandes - desktop */
@media (max-width: 1599px) {
    #bolsaempleo { padding: 28px; }
    #bolsaempleo h2 { font-size: 1.9rem; }
}

/* Laptops grandes */
@media (max-width: 1399px) {
    #bolsaempleo { padding: 26px; }
    #bolsaempleo h2 { font-size: 1.85rem; }
}

/* Laptops medianas */
@media (max-width: 1199px) {
    #bolsaempleo { padding: 25px; }
    #bolsaempleo h2 { font-size: 1.8rem; }
}

/* Tablets grandes */
@media (max-width: 1023px) {
    #bolsaempleo { padding: 22px; margin: 25px auto; }
    #bolsaempleo h2 { font-size: 1.7rem; }
}

/* Tablets pequeñas */
@media (max-width: 767px) {
    #bolsaempleo { padding: 18px; margin: 20px auto; }
    #bolsaempleo h2 { font-size: 1.5rem; }
    #bolsaempleo .logo-container img { max-width: 150px; }
}

/* Móviles medianos */
@media (max-width: 599px) {
    #bolsaempleo { padding: 15px; margin: 15px auto; }
    #bolsaempleo h2 { font-size: 1.3rem; }
    #bolsaempleo .logo-container img { max-width: 120px; }
}

/* Móviles pequeños */
@media (max-width: 479px) {
    #bolsaempleo { padding: 12px; margin: 12px auto; }
    #bolsaempleo h2 { font-size: 1.2rem; }
    #bolsaempleo .logo-container img { max-width: 100px; }
}

/* Muy pequeños (<360px) */
@media (max-width: 359px) {
    #bolsaempleo { padding: 10px; margin: 10px auto; }
    #bolsaempleo h2 { font-size: 1.1rem; }
    #bolsaempleo .logo-container img { max-width: 90px; }
}
