/* Public Pages Styles - Buscar & Comparador */

/* Override navigation for public pages */
.public-nav {
    background: linear-gradient(135deg, #0054A6 0%, #0077BE 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

.public-nav a.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
}

.public-nav a.nav-link:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.public-nav a.nav-link.active {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, #0054A6 0%, #0077BE 100%);
    padding: 140px 0 60px;
    margin-top: 0;
    position: relative;
}

.page-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Search Page Specific */
.search-container {
    padding-top: 0 !important;
    background: #f8f9fa;
    min-height: 100vh;
}

.search-hero {
    background: white !important;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: -40px;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Filters Panel Styling */
.filters-panel {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-header {
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.filter-header h5 {
    color: #1f2937;
    font-weight: 600;
}

/* Results Section */
.results-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.results-header {
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

/* Career Cards Enhanced */
.career-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 84, 166, 0.15);
    border-color: #0054A6;
}

/* Comparison Page Specific */
.comparison-container {
    padding-top: 0 !important;
    background: #f8f9fa;
    min-height: 100vh;
}

.selector-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: -40px;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-slot {
    background: white;
    border: 2px dashed #d1d5db;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.comparison-slot:hover {
    border-color: #0054A6;
    background: #f8fafe;
}

.comparison-table {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

/* Updated Navigation for Public Pages */
.public-nav {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
}

/* Popular Searches Tags */
.search-suggestions {
    margin-top: 20px;
    text-align: center;
}

.suggestion-tag {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.suggestion-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 40px;
    }
    
    .page-hero h1 {
        font-size: 28px;
    }
    
    .page-hero p {
        font-size: 16px;
    }
    
    .search-hero,
    .selector-section {
        margin-top: -30px;
        padding: 20px;
    }
    
    .page-content-wrapper {
        padding: 20px 10px;
    }
}

/* Animation for page transitions */
.page-hero,
.search-hero,
.selector-section {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
