/* Program Explorer CSS - Redesigned UI */
:root {
    --primary-blue: #0077B6;
    --secondary-teal: #20B2AA;
    --dentist-blue: #2193b0;
    --dentist-light-blue: #6dd5ed;
    --dentist-orange: #ff7e5f;
    --text-dark: #2d3748;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --bg-gray: #edf2f7;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --gradient-blue: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    --transition-normal: all 0.3s ease;
}

/* Ultra Modern Futuristic Hero Section */
.explorer-hero {
    position: relative;
    width: 100%;
    background: linear-gradient(120deg, #0b132b 0%, #121e3d 50%, #253b78 100%);
    padding: 0;
    overflow: hidden;
    min-height: 600px;
    color: white;
    margin-bottom: 3rem;
}

.explorer-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(109, 213, 237, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(255, 126, 95, 0.2) 0%, transparent 30%);
    z-index: 1;
}

.explorer-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><rect width="1" height="1" fill="rgba(255,255,255,0.05)" x="0" y="0"/></svg>') repeat;
    opacity: 0.5;
    z-index: 2;
}

.explorer-hero-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.explorer-hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 2rem;
    position: relative;
}

.explorer-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
    text-shadow: 0 0 10px rgba(109, 213, 237, 0.5);
    position: relative;
}

.explorer-hero-title .highlight {
    color: #6dd5ed;
    position: relative;
    display: inline-block;
}

.explorer-hero-title .highlight::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 12px;
    background: rgba(255, 126, 95, 0.3);
    z-index: -1;
    border-radius: 10px;
}

.explorer-hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 90%;
}

.explorer-hero-stats {
    display: flex;
    margin-bottom: 2.5rem;
    gap: 2rem;
}

.hero-stat {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 100px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.hero-stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 147, 176, 0.3) 0%, rgba(109, 213, 237, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(109, 213, 237, 0.5);
}

.hero-stat:hover::before {
    opacity: 1;
}

.hero-stat::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.hero-stat:hover::after {
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% { 
        top: -50%;
        left: -50%;
        opacity: 0;
    }
    30% {
        opacity: 0.5;
    }
    100% { 
        top: 150%;
        left: 150%;
        opacity: 0;
    }
}

.hero-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #6dd5ed;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(109, 213, 237, 0.5);
    position: relative;
    z-index: 2;
}

.hero-stat-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.explorer-hero-cta {
    margin-top: 1rem;
    position: relative;
}

.explorer-hero-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: linear-gradient(45deg, #ff7e5f 0%, #feb47b 100%);
    border: none;
    color: white;
    box-shadow: 0 10px 20px rgba(255, 126, 95, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.explorer-hero-cta .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff7e5f 0%, #feb47b 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.explorer-hero-cta .btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #feb47b 0%, #ff7e5f 100%);
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.explorer-hero-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 126, 95, 0.5);
}

.explorer-hero-cta .btn:hover::before {
    opacity: 0;
}

.explorer-hero-cta .btn:hover::after {
    opacity: 1;
}

.explorer-hero-cta .btn i {
    font-size: 1.25rem;
}

.explorer-hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.graphic-element {
    position: relative;
    width: 450px;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    z-index: 3;
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(109, 213, 237, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.card-1 {
    top: 20px;
    left: 20px;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    animation: float 6s ease-in-out 1s infinite;
}

.card-3 {
    bottom: 40px;
    left: 50px;
    animation: float 6s ease-in-out 2s infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(33, 147, 176, 0.8) 0%, rgba(109, 213, 237, 0.8) 100%);
    border-radius: 10px;
    color: white;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.card-icon::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.floating-card:hover .card-icon::after {
    animation: pulse-shine 2s infinite;
}

@keyframes pulse-shine {
    0% { 
        top: -50%;
        left: -50%;
    }
    100% { 
        top: 150%;
        left: 150%;
    }
}

.card-text {
    font-size: 1rem;
    font-weight: 500;
    color: white;
}

.dotted-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border: 2px dashed rgba(109, 213, 237, 0.3);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
    z-index: 1;
}

.dotted-circle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border: 1px dashed rgba(255, 126, 95, 0.3);
    border-radius: 50%;
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.tooth-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 180px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 180"><path d="M70,10 C100,10 130,30 130,90 C130,150 110,170 70,170 C30,170 10,150 10,90 C10,30 40,10 70,10 Z" fill="%236dd5ed" opacity="0.2"/><path d="M70,20 C95,20 120,37 120,90 C120,143 103,160 70,160 C37,160 20,143 20,90 C20,37 45,20 70,20 Z" fill="none" stroke="%236dd5ed" stroke-width="2" stroke-linecap="round"/><path d="M50,60 Q70,80 90,60" fill="none" stroke="%236dd5ed" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat center center;
    z-index: 2;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

.explorer-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"><path fill="%23ffffff" d="M0,50 C150,100 350,0 500,50 C650,100 850,0 1000,50 C1150,100 1350,0 1440,50 L1440,100 L0,100 Z"></path></svg>') no-repeat center bottom;
    background-size: cover;
}



.program-explorer-wrapper {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Filter sidebar */
.filter-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 95px; /* Account for navbar height */
    align-self: flex-start;
    height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: 1rem;
}

/* Main content area */
.main-content {
    flex: 1;
    min-width: 0; /* Prevents flex items from overflowing */
}

/* Dashboard cards styling */
.dashboard-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    max-width: 1400px;
    margin: 0 auto;
    width: calc(100% - 1rem);
}

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

/* Favorites wrapper - Make it match width of results */
.favorites-wrapper {
    width: 100%;
    max-width: 100% !important;
    margin: 0 auto 2rem auto !important;
}

/* Dashboard cards specific styles */
.filter-sidebar .dashboard-card {
    width: 100%;
    height: auto;
}

.dashboard-card h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.75rem;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dentist-blue);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.dashboard-card h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 5px 5px 0 0;
}

/* Filter Section Redesign - Modern Collapsible */
.filter-container {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Applied Filters Tags - Horizontal Display */
.applied-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    min-height: 40px;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    background: var(--bg-light);
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: var(--bg-white);
    border: 1px solid var(--dentist-light-blue);
    border-radius: 30px;
    font-size: 0.875rem;
    color: var(--dentist-blue);
    box-shadow: var(--shadow-sm);
}

.filter-tag button {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    width: 18px;
    height: 18px;
    transition: var(--transition-normal);
}

.filter-tag button:hover {
    color: var(--dentist-orange);
    transform: scale(1.2);
}

/* Search Input - Enhanced */
.search-container {
    position: relative;
    margin-bottom: 1rem !important;
    width: 100% !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.search-input-wrapper {
    position: relative;
    width: 100% !important;
    display: block !important;
}

.search-input {
    width: 100% !important;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    background-color: var(--bg-white);
    display: block !important;
}

.search-input:focus {
    outline: none;
    border-color: var(--dentist-light-blue);
    box-shadow: 0 0 0 3px rgba(109, 213, 237, 0.2);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

/* Filter Grid Layout */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.filter-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-bottom: 0.25rem;
}

/* Modern Dropdown Redesign */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--dentist-blue);
    pointer-events: none;
    transition: var(--transition-normal);
}

.select-wrapper:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Select Styling - Minimal Design */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--dentist-blue);
    pointer-events: none;
    transition: transform 0.2s ease;
}

.select-wrapper:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
}

.filter-select {
    width: 100%;
    appearance: none;
    padding: 0.75rem 2rem 0.75rem 1rem;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.filter-input:focus {
    outline: none;
    border-color: var(--dentist-light-blue);
    box-shadow: 0 0 0 3px rgba(109, 213, 237, 0.2);
}

.filter-select.has-selection {
    border-color: var(--dentist-blue);
    color: var(--dentist-blue);
    font-weight: 500;
}

/* Toggle Switch - Improved Design */
.toggle-filter {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-label {
    font-size: 0.875rem;
    color: var(--text-medium);
    min-width: 2rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 3.4rem;
    height: 1.8rem;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e2e8f0;
    border-radius: 1.8rem;
    transition: 0.3s;
    cursor: pointer;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 1.4rem;
    width: 1.4rem;
    left: 0.2rem;
    bottom: 0.2rem;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: var(--shadow-sm);
}

.toggle-input:checked + .toggle-slider {
    background: var(--gradient-blue);
}

.toggle-input:checked + .toggle-slider:before {
    transform: translateX(1.6rem);
}

.toggle-input:focus + .toggle-slider {
    box-shadow: 0 0 1px var(--dentist-blue);
}

/* Positions Available - Segmented Controls */
.positions-filter {
    margin: 1rem 0;
    width: 100%;
}

.positions-container {
    margin-top: 0.5rem;
}

.positions-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    background: var(--bg-gray);
    border-radius: 30px;
    padding: 0.25rem;
}

.position-option {
    position: relative;
    flex: 1;
    min-width: 3rem;
}

.position-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.position-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.25rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-medium);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-normal);
}

.position-radio:checked + .position-label {
    background: var(--bg-white);
    color: var(--dentist-blue);
    box-shadow: var(--shadow-sm);
}

.position-label:hover {
    color: var(--dentist-blue);
}

/* Filter Actions - Button Group */
.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.filter-actions button {
    width: 100%;
}

/* Programs List Redesign */
.program-count {
    font-size: 0.9375rem;
    font-weight: normal;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-count-badge {
    background: var(--bg-light);
    color: var(--dentist-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.8125rem;
}

.programs-grid {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
}

.program-item {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.program-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--dentist-light-blue);
}

.program-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-blue);
    opacity: 0;
    transition: var(--transition-normal);
}

.program-item:hover::before {
    opacity: 1;
}

.program-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.program-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-dark);
    margin: 0;
}

.program-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-medium);
}

.program-location i {
    color: var(--dentist-blue);
    font-size: 0.875rem;
}

.program-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

/* Badge Styling - Consistent Design */
.specialty-badge,
.duration-badge,
.foreign-badge,
.stipend-badge,
.positions-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--bg-light);
    color: var(--text-medium);
}

.specialty-badge {
    background: #e6f7fa;
    color: var(--dentist-blue);
}

/* .foreign-badge {
    background: #f0e7ff;
    color: #805ad5;
}

.duration-badge {
    background: #e6f6f2;
    color: #38a169;
}

.stipend-badge {
    background: #fef3e2;
    color: #ed8936;
}

.positions-badge {
    background: #f0e7ff;
    color: #805ad5;
} */

/* Competitiveness Score - Improved Design */
.competitiveness-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
    position: relative;
}

.competitiveness-score {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.score-title {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.score-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.score-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.score-bar {
    width: 100px;
    height: 8px;
    background: var(--bg-gray);
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    border-radius: 4px;
}

/* Program Actions - Improved */
.program-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.heart-btn {
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.heart-btn:hover {
    transform: scale(1.1);
    background: #fff0f3;
    color: #f56565;
}

.heart-btn.active {
    background: #fff0f3;
    color: #e53e3e;
}

.view-details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--bg-white);
    color: var(--dentist-blue);
    border: 1px solid var(--dentist-light-blue);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
}

.view-details-btn:hover {
    background: var(--dentist-blue);
    color: white;
    transform: translateY(-2px);
}

/* Pagination - Improved Design */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem 1.5rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--bg-gray);
    cursor: pointer;
    transition: var(--transition-normal);
}

.page-indicator.active {
    background: var(--dentist-blue);
    transform: scale(1.2);
}

.carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--dentist-blue);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 0.9375rem;
}

.carousel-btn:hover:not(:disabled) {
    background: var(--dentist-blue);
    color: white;
    transform: translateY(-2px);
}

.carousel-btn:disabled {
    color: var(--text-light);
    cursor: not-allowed;
}

/* Favorites Section */
#favorites-list {
    padding: 1.5rem;
    display: grid;
    gap: 1rem;
}

.favorite-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--dentist-orange);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
}

.favorite-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 126, 95, 0.3);
}

.favorite-apply-btn.active {
    background: #38a169;
}

.remove-favorite {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.remove-favorite:hover {
    color: #e53e3e;
    transform: scale(1.1);
}

.empty-favorites {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-light);
}

.empty-favorites i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--bg-gray);
}

.empty-favorites p {
    margin: 0.5rem 0;
    max-width: 350px;
}

/* Mobile toggle for filter visibility */
.mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 0.75rem;
    margin: 0 0 1rem 0;
    background: var(--gradient-blue, linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%));
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Filter backdrop for mobile */
.filter-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-backdrop.show {
    display: block;
    opacity: 1;
}

/* Loading States */
.loading, 
.error, 
.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-light);
}

.loading i,
.error i,
.no-results i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error {
    color: #e53e3e;
}

/* Make sure we don't override main.css for buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00bcd4 0%, #00e5ff 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 188, 212, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--text-medium);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--dentist-blue);
    border-color: var(--dentist-light-blue);
}

/* Filter row adjustment */
.filter-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

/* Standard filters section */
.standard-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

/* Enhanced filters section */
.enhanced-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .explorer-hero-container {
        padding: 4rem 2rem;
    }
    
    .explorer-hero-title {
        font-size: 3rem;
    }
    
    .graphic-element {
        width: 400px;
        height: 350px;
    }
    
    .filter-sidebar {
        width: 280px;
    }
}

@media (max-width: 1024px) {
    .explorer-hero-title {
        font-size: 2.5rem;
    }
    
    .explorer-hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .hero-stat-label {
        font-size: 0.85rem;
    }
    
    .filter-sidebar {
        width: 250px;
    }
    
    .graphic-element {
        width: 350px;
        height: 300px;
    }
    
    .filter-section-content {
        gap: 1rem;
    }
    
    .filter-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    .explorer-hero-container {
        flex-direction: column;
        padding: 3rem 2rem 5rem;
    }
    
    .explorer-hero-content {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .explorer-hero-description {
        max-width: 100%;
        margin: 0 auto 2rem;
    }
    
    .explorer-hero-stats {
        justify-content: center;
    }
    
    .hero-stat {
        min-width: 90px;
        padding: 1.25rem;
    }
    
    .explorer-hero-cta {
        display: flex;
        justify-content: center;
    }
    
    .program-explorer-wrapper {
        display: block;
    }
    
    .filter-sidebar {
        position: fixed;
        left: -300px;
        top: 0;
        bottom: 0;
        width: 280px;
        height: 100vh;
        overflow-y: auto;
        padding: 1rem;
        margin: 0;
        background: white;
        z-index: 1000;
        transition: left 0.3s ease;
        box-shadow: none;
    }
    
    .filter-sidebar.show {
        left: 0;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-filter-toggle {
        display: flex;
    }
    
    .main-content {
        padding: 0;
        width: 100%;
    }
    
    .filter-row {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .filter-group {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .explorer-hero-title {
        font-size: 2.2rem;
    }
    
    .explorer-hero-description {
        font-size: 1rem;
    }
    
    .hero-stat {
        min-width: 80px;
        padding: 1rem;
    }
    
    .hero-stat-number {
        font-size: 1.75rem;
    }
    
    .graphic-element {
        width: 300px;
        height: 260px;
    }
    
    .floating-card {
        padding: 1rem;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
    
    .dashboard-card h2 {
        font-size: 1.25rem;
        padding: 1.25rem;
    }
    
    .program-item {
        grid-template-columns: 1fr;
    }
    
    .competitiveness-container {
        padding-top: 0;
    }
    
    .program-actions {
        flex-direction: row;
        justify-content: flex-end;
    }
}

@media (max-width: 576px) {
    .explorer-hero-container {
        padding: 2.5rem 1.5rem 5rem;
    }
    
    .explorer-hero-title {
        font-size: 1.8rem;
    }
    
    .explorer-hero-stats {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .hero-stat {
        min-width: 70px;
        flex: 1;
    }
    
    .explorer-hero-cta .btn {
        width: 100%;
    }
    
    .graphic-element {
        width: 260px;
        height: 230px;
    }
    
    .filter-row {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .positions-options {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .favorites-wrapper #favorites-list .program-item {
        grid-template-columns: 1fr;
    }
    
    .favorites-wrapper .program-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .favorites-wrapper .view-details-btn,
    .favorites-wrapper .favorite-apply-btn {
        flex: 1;
    }
}

@media (max-width: 375px) {
    .explorer-hero-title {
        font-size: 1.6rem;
    }
    
    .explorer-hero-description {
        font-size: 0.9rem;
    }
    
    .hero-stat-number {
        font-size: 1.5rem;
    }
    
    .hero-stat-label {
        font-size: 0.75rem;
    }
    
    .graphic-element {
        width: 220px;
        height: 200px;
    }
    
    .filter-section-header {
        padding: 0.75rem 1rem;
    }
    
    .filter-section-content {
        padding: 0.75rem;
    }
    
    .toggle-filter {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .toggle-container {
        width: 100%;
        justify-content: space-between;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .btn:active,
    .filter-section-header:active,
    .position-label:active,
    .heart-btn:active,
    .view-details-btn:active,
    .program-item:active,
    .floating-card:active,
    .hero-stat:active {
        transform: scale(0.98);
    }
}