/* Doctor Profile Page Specific Styles */
.profile-header {
    background: linear-gradient(rgba(42, 157, 143, 0.9), rgba(42, 157, 143, 0.8));
    color: white;
    padding: 40px 0;
}

.profile-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.profile-image-container {
    flex: 0 0 250px;
    text-align: center;
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #4caf50;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    margin-top: 10px;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 36px;
    margin-bottom: 10px;
}

.profile-specialty {
    font-size: 20px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.profile-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    color: #ffc107;
    font-size: 20px;
}

.rating-text {
    font-size: 18px;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.profile-tag {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.profile-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.primary-btn {
    background-color: white;
    color: #2a9d8f;
}

.primary-btn:hover {
    background-color: #f8f8f8;
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.profile-content {
    padding: 60px 0;
}

.content-layout {
    display: flex;
    gap: 40px;
}

.profile-main {
    flex: 1;
}

.profile-sidebar {
    flex: 0 0 350px;
}

.section-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.section-title {
    font-size: 22px;
    color: #2a9d8f;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f7f6;
}

/* About Section */
.about-text {
    line-height: 1.8;
    color: #555;
}

/* Education & Experience */
.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #2a9d8f;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #2a9d8f;
}

.timeline-year {
    font-weight: 600;
    color: #2a9d8f;
    margin-bottom: 5px;
}

.timeline-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-subtitle {
    color: #666;
    font-style: italic;
    margin-bottom: 5px;
}

/* Specializations */
.specializations-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.specialization-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.specialization-item:hover {
    background-color: #f0f7f6;
}

.specialization-item i {
    color: #2a9d8f;
}

/* Reviews */
.review-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: 600;
    color: #333;
}

.review-date {
    color: #999;
    font-size: 14px;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 10px;
}

.review-text {
    color: #555;
    line-height: 1.6;
}

.all-reviews-link {
    text-align: center;
    margin-top: 20px;
}

.all-reviews-link a {
    color: #2a9d8f;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Booking Sidebar */
.booking-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.booking-price {
    font-size: 28px;
    color: #2a9d8f;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.booking-price span {
    font-size: 16px;
    color: #666;
    font-weight: normal;
}

.availability-calendar {
    margin-bottom: 25px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-header button {
    background: none;
    border: none;
    color: #2a9d8f;
    cursor: pointer;
    font-size: 18px;
}

.calendar-month {
    font-weight: 600;
    color: #333;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.calendar-day {
    padding: 8px 5px;
    font-size: 14px;
    color: #999;
}

.calendar-date {
    padding: 10px 5px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.calendar-date:hover {
    background-color: #f0f7f6;
}

.calendar-date.selected {
    background-color: #2a9d8f;
    color: white;
}

.calendar-date.unavailable {
    color: #ddd;
    cursor: not-allowed;
}

.calendar-date.unavailable:hover {
    background-color: transparent;
}

.time-slots {
    margin-bottom: 25px;
}

.time-slots-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.time-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.time-slot {
    padding: 10px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.time-slot:hover {
    background-color: #f0f7f6;
}

.time-slot.selected {
    background-color: #2a9d8f;
    color: white;
}

.time-slot.unavailable {
    background-color: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.booking-note {
    color: #666;
    font-size: 14px;
    margin-top: 20px;
    text-align: center;
}

/* Location Card */
.location-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.location-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.location-header i {
    color: #2a9d8f;
    font-size: 20px;
}

.location-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.location-details {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.location-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.location-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.location-feature i {
    color: #2a9d8f;
}

.location-map {
    height: 200px;
    background-color: #f0f7f6;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* Languages */
.languages-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.language-tag {
    background-color: #f0f7f6;
    color: #2a9d8f;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
}

/* Awards */
.awards-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.award-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.award-icon {
    flex: 0 0 40px;
    height: 40px;
    background-color: #f0f7f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2a9d8f;
}

.award-info h4 {
    margin-bottom: 5px;
    color: #333;
}

.award-info p {
    color: #666;
    font-size: 14px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.modal-title {
    font-size: 22px;
    color: #2a9d8f;
    margin-bottom: 20px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

/* Responsive Styles for Profile Page */
@media (max-width: 992px) {
    .content-layout {
        flex-direction: column;
    }
    
    .profile-sidebar {
        flex: 1;
    }
    
    .booking-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-actions {
        justify-content: center;
    }
    
    .timeline {
        padding-left: 10px;
    }
    
    .timeline:before {
        left: -1px;
    }
    
    .timeline-item:before {
        left: -16px;
    }
    
    .time-slot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}