/* Manual Font Awesome icon definitions as fallback */
.fa:before {
    font-family: FontAwesome !important;
    font-weight: normal !important;
    font-style: normal !important;
    display: inline-block !important;
    text-decoration: inherit !important;
}

.fa-star:before {
    content: "\f005";
}

.fa-star-half-o:before {
    content: "\f123";
}

.fa-map-marker:before {
    content: "\f041";
}

.fa-times:before {
    content: "\f00d";
}

.fa-chevron-down:before {
    content: "\f078";
}

.fa-chevron-up:before {
    content: "\f077";
}

.fa-phone:before {
    content: "\f095";
}

.fa-envelope:before {
    content: "\f0e0";
}

.fa-clock-o:before {
    content: "\f017";
}

.fa-calendar:before {
    content: "\f073";
}


/* Modern Doctor Search Page Styles */
.aramasonuc-container * {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.aramasonuc-container {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}



/* Container positioning */
.aramasonuc-container {
    position: relative;
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

/* Header Styles */
.search-header {
    background-color: #2c3e50;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.search-header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}



.search-bar {
    flex-grow: 1;
    max-width: 500px;
    margin: 0 20px;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
}

.aramasonuc-container .breadcrumb-area {
    background-image: url(/img/bg-img/hero1.jpg);
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    margin-bottom: 30px;
}

.aramasonuc-container .breadcrumb-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.aramasonuc-container .breadcrumb-content h2 {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    line-height: 1.6;
}

/* Filter Section */
.filters {
    width: 300px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
    flex-shrink: 0;
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-title span {
    font-size: 14px;
    color: #3498db;
    cursor: pointer;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-group h3 span {
    font-size: 14px;
    color: #7f8c8d;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.filter-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.active-filters {
    background: #e8f4fc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.active-filters h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.active-filter-tag {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Main Content */
.content {
    flex-grow: 1;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-count {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.sort-options select {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background: white;
}

/* Doctor Cards */
.doctor-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.doctor-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.doctor-info {
    flex-grow: 1;
    padding: 20px;
}

.doctor-name {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.doctor-specialty {
    color: #3498db;
    margin-bottom: 10px;
    font-weight: 500;
}

.doctor-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #7f8c8d;
    margin-bottom: 10px;
    font-size: 14px;
}

.doctor-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #f39c12;
    margin-bottom: 15px;
}

.doctor-review {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    padding: 10px;
    background: #f9f9f9;
    border-left: 3px solid #3498db;
    border-radius: 0 5px 5px 0;
}

.clinic-info {
    margin-top: 15px;
    font-size: 14px;
    color: #7f8c8d;
}

.show-on-map {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 5px;
}

/* Appointment Section */
.appointment-section {
    width: 300px;
    padding: 20px;
    border-left: 1px solid #eee;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.appointment-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.appointment-dates {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.date-option {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
}

.date-option:hover {
    border-color: #3498db;
    background: #f5faff;
}

.date-option.selected {
    border-color: #3498db;
    background: #3498db;
    color: white;
}

.date-day {
    font-size: 12px;
    color: #7f8c8d;
}

.date-option.selected .date-day {
    color: white;
}

.date-number {
    font-size: 16px;
    font-weight: 600;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.time-slot {
    padding: 8px 5px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.time-slot:hover {
    border-color: #3498db;
    background: #f5faff;
}

.time-slot.selected {
    border-color: #3498db;
    background: #3498db;
    color: white;
}

.time-slot.unavailable {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.btn {
    padding: 12px;
    border-radius: 5px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-outline {
    background: transparent;
    border: 1px solid #3498db;
    color: #3498db;
}

.btn-outline:hover {
    background: #f5faff;
}

.show-more {
    text-align: center;
    margin-top: 20px;
    color: #3498db;
    font-weight: 500;
    cursor: pointer;
}

.no-results {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.no-results h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
    }

    .filters {
        width: 100%;
        margin-bottom: 20px;
    }

    .doctor-card {
        flex-direction: column;
    }

    .appointment-section {
        width: 100%;
        border-left: none;
        border-top: 1px solid #eee;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-header-content {
        flex-direction: column;
        gap: 15px;
    }

    .search-bar {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .breadcrumb-content h1 {
        font-size: 26px;
    }

    .breadcrumb-content h2 {
        font-size: 16px;
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .appointment-dates {
        flex-wrap: wrap;
    }

    .date-option {
        flex: 0 0 calc(25% - 8px);
    }
}