:root {
    --fundapec-blue: #0054A6;
    --fundapec-light-blue: #2980B9;
    --fundapec-dark-blue: #003d7a;
    --fundapec-orange: #FF6B35;
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 70px;
    --topbar-height: 70px;
    --footer-height: 50px;
}

* {
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: #f5f7fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Layout Structure */
.page {
    display: flex;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: #f5f7fa;
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width) !important;
    background: linear-gradient(180deg, #002855 0%, var(--fundapec-blue) 50%, #1e5a8e 100%) !important;
    color: white !important;
    box-shadow: 3px 0 25px rgba(0,84,166,0.3) !important;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow: hidden;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar.collapsed ~ main {
    margin-left: 70px;
}

.sidebar.collapsed .brand-text,
.sidebar.collapsed .nav-section-title,
.sidebar.collapsed .nav-link span:not(.nav-badge),
.sidebar.collapsed .nav-badge {
    display: none;
}

.sidebar.collapsed .sidebar-header {
    padding: 20px 10px;
    justify-content: center;
}

.sidebar.collapsed .logo-sidebar {
    height: 40px;
    max-width: 50px;
}

.sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 12px;
    border-radius: 50%;
    margin: 5px;
}

.sidebar.collapsed .nav-link i {
    font-size: 20px;
}

.sidebar.collapsed .nav-link:hover {
    transform: scale(1.1);
}

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #c0c0c0;
}

.sidebar-header {
    padding: 15px;
    background: rgba(0,0,0,0.15) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    height: 80px;
    position: relative;
    flex-shrink: 0;
}

.sidebar-toggle {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: var(--fundapec-blue);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.sidebar-toggle:hover {
    background: var(--fundapec-dark-blue);
    transform: translateY(-50%) scale(1.1);
}

.sidebar-toggle i {
    color: white;
    font-size: 14px;
}

.logo-sidebar {
    height: 55px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.brand-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
}

.brand-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.brand-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.95) !important;
    margin-top: 3px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.3;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Navigation Menu - Nuevo */
.sidebar-nav {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 0 30px 0;
    min-height: 0;
    max-height: calc(100vh - 80px);
}

.sidebar-nav::-webkit-scrollbar {
    width: 8px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 10px 0;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.nav-section {
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.nav-section:last-child {
    margin-bottom: 30px;
}

.nav-section-title {
    padding: 0 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7) !important;
    opacity: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    position: relative;
    gap: 12px;
    border-left: 3px solid transparent;
    font-size: 13px;
    font-weight: 500;
    margin: 2px 10px;
    border-radius: 6px;
}

.nav-link:hover {
    background: rgba(255,255,255,0.15) !important;
    color: white !important;
    border-left-color: var(--fundapec-orange);
    transform: translateX(3px);
}

.nav-link.active {
    background: rgba(255,255,255,0.2) !important;
    color: white !important;
    border-left-color: var(--fundapec-orange);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-link i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: inherit;
}

.nav-link i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.nav-badge {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.badge-primary {
    background: linear-gradient(135deg, var(--fundapec-orange), #ff8c61);
    animation: pulse 2s infinite;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.badge-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
}

/* Main Content Area */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: margin-left 0.3s ease;
    position: relative;
    margin-left: var(--sidebar-width);
}

/* Top Bar */
.top-bar {
    height: var(--topbar-height);
    background: white;
    border-bottom: 1px solid #e0e6ed;
    display: flex;
    align-items: center;
    padding: 0 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.top-bar-content {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #4b5563;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.menu-toggle:hover {
    background: #f3f4f6;
    color: var(--fundapec-blue);
}

.menu-toggle:active {
    background: #e5e7eb;
    transform: scale(0.95);
}

.page-title-container {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.page-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    letter-spacing: -0.3px;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.btn-icon {
    position: relative;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: #f5f7fa;
}

.btn-icon .badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff4757;
    color: white;
    border-radius: 10px;
    padding: 2px 5px;
    font-size: 10px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 15px;
    border-radius: 25px;
    background: #f5f7fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu:hover {
    background: #e8ecf1;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Content Area */
.content {
    flex: 1;
    overflow-y: auto;
    background: #f5f7fa;
}

.page-content {
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Footer */
.main-footer {
    height: var(--footer-height);
    background: white;
    border-top: 1px solid #e0e6ed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #6c757d;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.separator {
    color: #dee2e6;
}

/* Cards and Components */
.dashboard-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.blue {
    background: linear-gradient(135deg, var(--fundapec-blue) 0%, var(--fundapec-light-blue) 100%);
    color: white;
}

.stat-icon.green {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    color: white;
}

.stat-icon.orange {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.stat-icon.purple {
    background: linear-gradient(135deg, var(--fundapec-blue) 0%, #2c5aa0 100%);
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 28px;
    font-weight: 600;
    color: #333;
}

.stat-change {
    font-size: 12px;
    margin-top: 5px;
}

.stat-change.positive {
    color: #27ae60;
}

.stat-change.negative {
    color: #e74c3c;
}

/* University Cards */
.university-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.university-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.university-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.university-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--fundapec-blue) 0%, var(--fundapec-light-blue) 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.university-logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 10px;
    padding: 10px;
    object-fit: contain;
}

.university-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.university-info p {
    margin: 5px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

.university-body {
    padding: 20px;
}

.university-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.university-stat {
    text-align: center;
}

.university-stat-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--fundapec-blue);
}

.university-stat-label {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--fundapec-blue) 0%, var(--fundapec-light-blue) 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,84,166,0.3);
}

.btn-secondary {
    background: #f5f7fa;
    color: #333;
    border: 1px solid #dee2e6;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    border-color: var(--fundapec-blue);
    color: var(--fundapec-blue);
}

/* Responsive Design */
@media (max-width: 992px) {
    .sidebar {
        position: fixed;
        left: -280px;
        height: 100vh;
        transition: left 0.3s ease;
        z-index: 2000;
        overflow-x: hidden;
        width: 280px !important;
    }

    .sidebar.show {
        left: 0;
    }
    
    main {
        margin-left: 0 !important;
    }
    
    .sidebar.collapsed {
        left: -280px;
    }

    .sidebar-header {
        padding: 15px;
        justify-content: flex-start;
        gap: 15px;
    }

    .logo-sidebar {
        height: 40px;
    }

    .brand-text {
        display: none;
    }

    .menu-toggle {
        display: block !important;
        margin-right: 10px;
    }

    .page-title-container {
        flex: 1;
        padding: 0 10px;
    }
    
    .page-title {
        font-size: 16px;
    }

    .user-name {
        display: none;
    }

    .page-content {
        padding: 15px;
    }

    .university-grid {
        grid-template-columns: 1fr;
    }

    .top-bar {
        padding: 0 15px;
        height: 60px;
    }

    .top-bar-actions .btn-icon:not(:last-child) {
        display: none;
    }
    
    .detail-container {
        padding: 15px;
    }
    
    .career-header {
        padding: 20px 15px;
    }
    
    .career-title {
        font-size: 24px;
    }
    
    .detail-card {
        padding: 20px 15px;
    }
    
    .comparison-container {
        overflow-x: auto;
    }
}

@media (max-width: 576px) {
    .sidebar-header {
        padding: 12px;
    }

    .logo-sidebar {
        height: 40px;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
    }

    .page-content {
        padding: 10px;
    }
    
    .top-bar {
        padding: 0 10px;
        height: 55px;
    }
    
    .page-title {
        font-size: 14px;
    }
    
    .search-hero {
        padding: 15px 10px;
        margin-bottom: 15px;
    }
    
    .filters-panel {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .filter-header {
        margin-bottom: 15px;
    }
    
    .filter-header h5 {
        font-size: 16px;
        margin: 0;
    }
    
    .filter-header .btn {
        font-size: 13px;
        padding: 4px 8px;
    }
    
    .filter-group {
        margin-bottom: 20px;
    }
    
    .filter-group h6 {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 10px;
    }
    
    .form-check {
        padding: 8px 0;
    }
    
    .form-check-label {
        font-size: 14px;
    }
    
    .career-card {
        padding: 15px;
    }
    
    .career-title {
        font-size: 18px;
    }
    
    .university-name {
        font-size: 14px;
    }
    
    .cost-box {
        padding: 15px;
    }
    
    .cost-amount {
        font-size: 18px;
    }
    
    .btn-primary {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .detail-card h3 {
        font-size: 18px;
    }
    
    .comparison-slot {
        min-width: 280px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .search-main-box .input-group {
        box-shadow: 0 3px 15px rgba(0,0,0,0.15);
    }
    
    .search-main-box .form-control {
        min-height: 48px;
        font-size: 15px;
    }
}

/* Overlay for mobile sidebar */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
}

.sidebar-overlay.show {
    display: block;
}

/* Loading Animation */
.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--fundapec-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error UI */
#blazor-error-ui {
    background: #ff4757;
    color: white;
    padding: 15px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 9999;
}

#blazor-error-ui i {
    font-size: 20px;
}

#blazor-error-ui .reload {
    color: white;
    text-decoration: underline;
    cursor: pointer;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    margin-left: 15px;
}

/* Filters Panel Styles */
.filters-panel {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
}

.filters-panel::-webkit-scrollbar {
    width: 6px;
}

.filters-panel::-webkit-scrollbar-track {
    background: #f5f7fa;
    border-radius: 3px;
}

.filters-panel::-webkit-scrollbar-thumb {
    background: var(--fundapec-blue);
    border-radius: 3px;
}

.filters-panel::-webkit-scrollbar-thumb:hover {
    background: var(--fundapec-dark-blue);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e6ed;
}

.filter-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--fundapec-blue);
}

.filter-header .btn-link {
    color: var(--fundapec-orange);
    text-decoration: none;
    font-size: 13px;
    padding: 0;
}

.filter-header .btn-link:hover {
    color: #ff8c61;
    text-decoration: underline;
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f3f7;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-group h6 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group .form-check {
    margin-bottom: 10px;
}

.filter-group .form-check-input {
    border-color: #dee2e6;
    cursor: pointer;
}

.filter-group .form-check-input:checked {
    background-color: var(--fundapec-blue);
    border-color: var(--fundapec-blue);
}

.filter-group .form-check-label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    margin-left: 5px;
}

.filter-group .form-check-label:hover {
    color: var(--fundapec-blue);
}

.filter-group .badge {
    font-size: 11px;
    padding: 3px 6px;
}

/* Search Page Styles */
.search-container {
    width: 100%;
}

.search-hero {
    background: linear-gradient(135deg, var(--fundapec-blue) 0%, var(--fundapec-light-blue) 100%);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,84,166,0.2);
}

.search-main-box .input-group {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.search-main-box .input-group-text {
    border: none;
    padding-left: 20px;
    background: white;
}

.search-main-box .form-control {
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    background: white;
    color: #1f2937;
    position: relative;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.search-main-box .form-control::placeholder {
    color: #6b7280;
}

.search-main-box .form-control:focus {
    box-shadow: none;
    outline: none;
    background: white;
    border: 2px solid var(--fundapec-blue);
}

.search-main-box .btn-primary {
    border-radius: 0 50px 50px 0;
    padding: 15px 40px;
    font-weight: 600;
}

.search-suggestions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-suggestions .text-muted {
    color: rgba(255,255,255,0.9) !important;
    font-size: 14px;
}

.suggestion-tag {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Responsive for filters */
@media (max-width: 992px) {
    .filters-panel {
        position: relative;
        top: 0;
        max-height: none;
        margin-bottom: 20px;
    }
    
    .results-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .career-card {
        margin-bottom: 15px;
    }
    
    .comparison-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-slot {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .search-hero {
        padding: 20px 15px;
        border-radius: 10px;
    }
    
    .search-main-box {
        width: 100%;
        max-width: 100%;
    }

    .search-main-box .input-group {
        flex-direction: column;
        border-radius: 15px;
        background: white;
        position: relative;
        isolation: isolate;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }
    
    .search-main-box .input-group-text {
        border-radius: 15px 15px 0 0 !important;
        padding: 12px 20px;
        border-bottom: 1px solid #e5e7eb;
        pointer-events: none;
        position: relative;
        z-index: 1;
    }
    
    .search-main-box .form-control {
        border-radius: 0 !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
        min-height: 54px !important;
        height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        background: white !important;
        color: #1f2937 !important;
        position: relative !important;
        z-index: 10 !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        pointer-events: auto !important;
        cursor: text !important;
        user-select: text !important;
        -webkit-user-select: text !important;
        box-sizing: border-box !important;
        border: none !important;
        outline: none !important;
        display: block !important;
        line-height: 1.5 !important;
    }
    
    .search-main-box .form-control:focus {
        z-index: 20;
        border: 2px solid var(--fundapec-blue) !important;
    }
    
    .search-main-box .form-control::placeholder {
        color: #9ca3af;
        font-size: 14px;
    }
    
    .search-main-box .btn-primary {
        width: 100%;
        border-radius: 0 0 15px 15px !important;
        margin-top: 0;
        padding: 15px;
        font-size: 16px;
        font-weight: 600;
    }

    .search-suggestions {
        margin-top: 15px;
        justify-content: center;
    }
    
    .suggestion-tag {
        font-size: 12px;
        padding: 5px 12px;
    }
    
    .page-title {
        font-size: 16px;
    }
    
    .career-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .university-card {
        padding: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .filter-group h6 {
        font-size: 13px;
    }
}
