* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
}

body {
    background-color: #f5f7fa;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    background-color: #f5f7fa;
    min-height: 100vh;
    /* box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); */
}

.status-bar {
    background-color: #0a26ee;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    height: 30px;
}

.status-icons {
    display: flex;
    gap: 10px;
}

/* Search section styles */
.search-container {
    padding: 15px;
    background-color: white;
    position: relative;
    border-bottom: 1px solid #e6e9ef;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 12px 15px;
    position: relative;
    border: 1px solid #e6e9ef;
}

.search-icon {
    color: #0a26ee;
    margin-right: 10px;
}

#search-input {
    flex-grow: 1;
    border: none;
    background-color: transparent;
    outline: none;
    font-size: 16px;
    color: #333;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    padding: 15px;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.search-dropdown.active {
    display: block;
}

.dropdown-header {
    margin: 10px 0;
}

.dropdown-header h3 {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.keywords-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.keyword-tag {
    background-color: #f0f3fa;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #0a26ee;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e6e9ef;
    display: flex;
    align-items: center;
}

.keyword-tag:hover {
    background-color: #e0e6f5;
    border-color: #0a26ee;
    box-shadow: 0 1px 3px rgba(10,38,238,0.2);
    transform: translateY(-1px);
}

.keyword-tag:before {
    content: "🔍";
    margin-right: 5px;
    font-size: 12px;
}

.job-suggestions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.job-suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e6e9ef;
    background-color: white;
}

.job-suggestion-item:hover {
    background-color: #f5f7fa;
    border-color: #0a26ee;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(10,38,238,0.1);
}

.suggestion-icon {
    width: 45px;
    height: 45px;
    background-color: #e0e6f5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: #0a26ee;
    transition: all 0.2s ease;
    font-size: 18px;
}

.job-suggestion-item:hover .suggestion-icon {
    background-color: #0a26ee;
    color: white;
    transform: scale(1.05);
}

.suggestion-info {
    flex-grow: 1;
}

.suggestion-title {
    font-size: 16px;
    margin-bottom: 3px;
    font-weight: 500;
    color: #333;
}

.suggestion-company {
    font-size: 14px;
    color: #666;
}

/* Load more button in the job list */
#main-load-more {
    width: 80%;
    max-width: 300px;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    color: #0a26ee;
    font-weight: bold;
    /* border: 1px solid #0a26ee; */
    cursor: pointer;
    /* background-color: white; */
    border-radius: 8px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    transition: all 0.3s ease;
}

#main-load-more:hover {
    background-color: #f0f3fa;
    box-shadow: 0 3px 10px rgba(10,38,238,0.2);
    transform: translateY(-2px);
}

/* Existing load more button in search dropdown */
.load-more {
    text-align: center;
    padding: 15px 0;
    color: #0a26ee;
    font-weight: bold;
    border-top: 1px solid #e6e9ef;
    cursor: pointer;
    transition: all 0.2s ease;
}

.load-more:hover {
    background-color: #f0f3fa;
}

/* Job listing page styles */
.job-list {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.job-card {
    background-color: white;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e6e9ef;
    transition: all 0.2s ease;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #0a26ee;
}

.job-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.job-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #0a26ee;
}

.company-tag {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.company-star {
    color: #ffc107;
    margin-right: 5px;
}

.salary-tag {
    background-color: #e0e6f5;
    color: #0a26ee;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 500;
}

.tag-container {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.tag {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.tag-icon {
    margin-right: 5px;
}

/* Estilos para el contenedor de botones en las tarjetas de trabajo */
.button-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
}

/* Estilos para el botón de detalles */
.details-button {
    background-color: #f0f3fa;
    color: #0a26ee;
    border: 1px solid #0a26ee;
    border-radius: 8px;
    padding: 12px;
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.details-button:hover {
    background-color: #e0e6f5;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(10, 38, 238, 0.15);
}

/* Modificación del botón de aplicar para adaptarse al nuevo layout */
.apply-button {
    background-color: #0a26ee;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    flex: 1;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.apply-button:hover {
    background-color: #0920c2;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(10,38,238,0.3);
}

/* Job details page styles */
.job-header {
    background-color: #f0f3fa;
    padding: 18px;
}

.job-category {
    color: #666;
    font-size: 16px;
    font-weight: normal;
}

.recommendation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background-color: white;
    border-bottom: 1px solid #e6e9ef;
}

.recommendation-badge {
    display: flex;
    align-items: center;
}

.bell-icon {
    color: #0a26ee;
    font-size: 20px;
    margin-right: 10px;
}

.recommendation-text {
    font-weight: bold;
    font-size: 18px;
    color: #0a26ee;
}

.time-remaining {
    text-align: right;
}

.time-label {
    display: block;
    font-size: 14px;
    color: #666;
}

.time-value {
    color: #0a26ee;
    font-size: 24px;
    font-weight: bold;
}

.job-details-container {
    background-color: white;
    padding: 22px 18px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.job-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #0a26ee;
    font-weight: 600;
}

.company {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.company-logo {
    color: #0a26ee;
    font-size: 22px;
    margin-right: 12px;
}

.company-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.salary-badge {
    background-color: #e0e6f5;
    color: #0a26ee;
    padding: 8px 15px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    font-weight: 500;
}

.money-icon {
    margin-right: 8px;
}

.applicants {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #666;
    font-size: 15px;
}

.applicants-icon {
    margin-right: 10px;
    color: #0a26ee;
}

.requirements-section {
    margin-bottom: 25px;
    background-color: #f9fafc;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #e6e9ef;
}

.requirements-title {
    font-size: 20px;
    margin-bottom: 18px;
    font-weight: 600;
    color: #333;
}

.requirement-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e6e9ef;
}

.requirement-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.requirement-icon {
    color: #0a26ee;
    margin-right: 12px;
    font-size: 18px;
}

.highlight {
    color: #0a26ee;
    font-weight: bold;
}

.remaining-section {
    margin-bottom: 25px;
    text-align: center;
    padding: 15px;
    background-color: #f0f3fa;
    border-radius: 8px;
}

.remaining-label {
    color: #666;
    margin-bottom: 5px;
}

.remaining-count {
    color: #0a26ee;
    font-size: 28px;
    font-weight: bold;
}

.apply-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.progress-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

.dot {
    width: 35px;
    height: 5px;
    background-color: #ddd;
    border-radius: 5px;
}

.dot.active {
    background-color: #0a26ee;
}

/* Estilos de la barra de navegación */
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color:#0a26ee;
    color: #fff;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    position: sticky;
    z-index: 10;
}

.back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f3fa;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e6e9ef;
    margin-left: 10px;
}

.back-button:hover {
    background-color: #e0e6f5;
    border-color: #0a26ee;
}

.back-icon {
    font-size: 22px;
    color: #0a26ee;
}

.page-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    flex-grow: 1;
    text-align: center;
}

.nav-spacer {
    width: 40px;
    /* Para mantener el título centrado */
}

/* Estilos del encabezado fijo */
.fixed-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background-color: #0a26ee;
    box-shadow: 0 2px 8px rgba(10,38,238,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    padding: 10px 0;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.header-logo {
    height: 35px;
    max-width: 160px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Estilos para secciones de categorías */
.categories-section {
    padding: 15px;
    background-color: white;
    margin-bottom: 10px;
    border-bottom: 1px solid #e6e9ef;
}

.categories-header {
    margin-bottom: 15px;
}

.categories-header h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.categories-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(25% - 8px);
    height: 80px;
    background-color: #f0f3fa;
    border-radius: 10px;
    padding: 12px 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e6e9ef;
    position: relative;
    overflow: hidden;
}

.category-item:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0a26ee;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(10,38,238,0.1);
    border-color: #0a26ee;
}

.category-item:hover:before {
    transform: scaleX(1);
}

.category-item:active {
    transform: translateY(1px);
    box-shadow: 0 1px 5px rgba(10,38,238,0.1);
}

.category-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.category-name {
    font-size: 12px;
    text-align: center;
    color: #333;
    font-weight: 500;
}

/* Estilos para la sección de listado de trabajos */
.job-list-header {
    padding: 0 15px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.job-list-header h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    transition: color 0.3s ease;
}

.job-list-header h3:hover {
    color: #0a26ee;
}

.job-list-header h3:after {
    content: ' 🔄';
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.job-list-header h3:hover:after {
    opacity: 1;
}

/* Estilos para la sección de descripción del trabajo */
.job-description-section {
    margin-bottom: 25px;
    background-color: #f9fafc;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #e6e9ef;
}

.description-title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

.description-text {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

/* Estilos para el footer fijo (en la parte inferior) */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    padding-bottom: 10px;
    z-index: 100;
    max-width: 480px;
    margin: 0 auto;
    border-top: 1px solid #e6e9ef;
}

/* Espaciador para evitar que el contenido quede oculto debajo del footer fijo */
.fixed-footer-spacer {
    height: 170px; /* Ajustar según la altura del footer fijo */
}

/* Estilos actualizados para la sección "Solo quedan" */
.fixed-footer .remaining-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    background-color: #f0f3fa;
    padding: 10px;
    border-radius: 8px;
}

.fixed-footer .remaining-label {
    color: #666;
    font-size: 16px;
    margin: 0 5px;
}

.fixed-footer .remaining-count {
    color: #0a26ee;
    font-size: 22px;
    font-weight: bold;
    margin: 0 3px;
}

/* Estilos para que el botón destaque más */
.fixed-footer .apply-button {
    height: 50px;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(10, 38, 238, 0.2);
    width: 100%;
    /* max-width: 300px; */
    margin: 0 auto;
}

.fixed-footer .apply-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(10, 38, 238, 0.3);
}

/* Mantener visible la sección completa en dispositivos pequeños */
@media (max-height: 700px) {
    .fixed-footer-spacer {
        height: 190px; 
    }
    
    .fixed-footer {
        padding: 10px 15px;
    }
} 