.single-doctor .main-page-wrapper {
    background-color: #F5F7FA
}

.cb-doctor-profile-page {
    min-height: 100vh;
    padding: 40px 0;
    direction: rtl;
}

.cb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cb-doctor-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cb-doctor-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cb-doctor-info {
    flex: 1;
}

.cb-doctor-name {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #fff;
}

.cb-doctor-specialty {
    font-size: 18px;
    margin: 0 0 20px 0;
    opacity: 0.95;
}

.cb-doctor-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.cb-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.cb-doctor-image {
    flex-shrink: 0;
}

.cb-doctor-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cb-doctor-avatar-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.cb-doctor-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}

.cb-doctor-main-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cb-doctor-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.cb-doctor-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cb-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #667eea;
}

.cb-intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin: 0;
}

.cb-content-text {
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
    white-space: pre-line;
}

/* تخصص‌ها و حوزه‌های درمانی */
.cb-specialties-list,
.cb-treatment-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.cb-specialty-tag,
.cb-area-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(102, 126, 234, 0.3);
}

.cb-area-tag {
    background: #e0e7ff;
    color: #4c1d95;
}

/* آدرس */
.cb-address-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
}

.cb-address-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cb-address-text,
.cb-phone-text {
    margin: 0;
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* سایدبار */
.cb-doctor-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cb-booking-card,
.cb-schedule-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cb-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
}

.cb-card-info {
    margin-bottom: 20px;
}

.cb-card-address {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.cb-card-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f0f6ff;
    border-radius: 8px;
    margin-bottom: 20px;
}

.cb-price-label {
    font-size: 14px;
    color: #6b7280;
}

.cb-price-value {
    font-size: 18px;
    font-weight: 700;
    color: #2563eb;
}

button.cb-booking-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

button.cb-booking-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

button.cb-booking-btn:hover::before {
    left: 100%;
}

button.cb-booking-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.cb-booking-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.cb-booking-btn svg {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.cb-booking-btn:hover svg {
    transform: translateX(-3px);
}

.cb-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cb-schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    border-right: 3px solid #667eea;
}

.cb-day-name {
    font-weight: 600;
    color: #374151;
}

.cb-time-range {
    font-size: 14px;
    color: #6b7280;
}

/* ریسپانسیو */
@media (min-width: 969px) {
    .cb-doctor-sidebar {
        position: sticky;
        top: 20px;
    }
}

@media (max-width: 968px) {
    .cb-doctor-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cb-doctor-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .cb-doctor-header {
        padding: 25px;
    }
    
    .cb-doctor-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cb-doctor-name {
        font-size: 24px;
    }
    
    .cb-doctor-specialty {
        font-size: 16px;
    }
    
    .cb-doctor-avatar,
    .cb-doctor-avatar-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .cb-doctor-main-content {
        padding: 20px;
    }
    
    .cb-section-title {
        font-size: 20px;
    }
    
    .cb-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .cb-doctor-profile-page {
        padding: 20px 0;
    }
    
    .cb-doctor-header {
        padding: 20px;
        border-radius: 12px;
    }
    
    .cb-doctor-name {
        font-size: 20px;
    }
    
    .cb-doctor-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .cb-doctor-main-content {
        padding: 15px;
    }
    
    .cb-booking-card,
    .cb-schedule-card {
        padding: 20px;
    }
}

