/* IranYekan Font Faces */
@font-face {
    font-family: 'IranYekan';
    src: url('../fonts/iranyekan/woff2/IRANYekanWebThin.woff2') format('woff2'),
         url('../fonts/iranyekan/woff/IRANYekanWebThin.woff') format('woff'),
         url('../fonts/iranyekan/ttf/IRANYekanWebThin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekan';
    src: url('../fonts/iranyekan/woff2/IRANYekanWebLight.woff2') format('woff2'),
         url('../fonts/iranyekan/woff/IRANYekanWebLight.woff') format('woff'),
         url('../fonts/iranyekan/ttf/IRANYekanWebLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekan';
    src: url('../fonts/iranyekan/woff2/IRANYekanWebRegular.woff2') format('woff2'),
         url('../fonts/iranyekan/woff/IRANYekanWebRegular.woff') format('woff'),
         url('../fonts/iranyekan/ttf/IRANYekanWebRegular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekan';
    src: url('../fonts/iranyekan/woff2/IRANYekanWebMedium.woff2') format('woff2'),
         url('../fonts/iranyekan/woff/IRANYekanWebMedium.woff') format('woff'),
         url('../fonts/iranyekan/ttf/IRANYekanWebMedium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekan';
    src: url('../fonts/iranyekan/woff2/IRANYekanWebBold.woff2') format('woff2'),
         url('../fonts/iranyekan/woff/IRANYekanWebBold.woff') format('woff'),
         url('../fonts/iranyekan/ttf/IRANYekanWebBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekan';
    src: url('../fonts/iranyekan/woff2/IRANYekanWebExtraBold.woff2') format('woff2'),
         url('../fonts/iranyekan/woff/IRANYekanWebExtraBold.woff') format('woff'),
         url('../fonts/iranyekan/ttf/IRANYekanWebExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Clean Design Variables */
:root {
    --primary-color: #56BDAF;
    --secondary-color: #7ED7D2;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-radius: 0.5rem;
    --transition: all 0.2s ease;
    --font-family: 'IranYekan', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Base Typography */
body {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
}

/* Light text (Thin weight - 100) */
small, .small, .text-muted, .date {
    font-weight: 300;
}

/* Regular text (Regular weight - 400) */
p, span, div, li, td, th, input, textarea, select {
    font-weight: 400;
}

/* Bold text (Bold weight - 700) */
h1, h2, h3, h4, h5, h6, 
strong, b,
.font-weight-bold,
.cell-name,
.comment-author,
label,
.btn {
    font-weight: 700;
}

/* Extra emphasis (ExtraBold weight - 800) */
.rating-score {
    font-weight: 800;
}

/* Unified Section Styling - Base styles for all major sections */
.rating-card,
.comments-section,
.comment-form,
.cta-section {
    background: var(--white);
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Doctor Header Card */
.doctor-header-card {
    background: var(--white);
    padding: 2rem;
    margin-top: 6.25rem;
    margin-bottom: 2rem;
}

/* Section Headings */
.rating-card h5,
.comments-section h5,
.comment-form h5,
.cta-section h5 {
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.doctor-header-card h1 {
    font-family: var(--font-family);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.doctor-header-card h1 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.doctor-header-card h1 a:hover {
    color: var(--primary-color);
}

/* Info Badges */
.info-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    margin: 0.5rem 0.5rem 0.5rem 0;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-dark);
}

.info-badge i {
    margin-left: 0.5rem;
    color: var(--primary-color);
}

/* Rating Card - inherits from base section styling */

.rating-overall {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.rating-overall h4 {
    font-family: var(--font-family);
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1rem;
}

.rating-score {
    font-family: var(--font-family);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin: 0.5rem 0;
}

.rating-count {
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-muted);
}

/* Rating Items */
.rating-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    margin: 0.5rem 0;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
}

.rating-item p {
    margin: 0;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-dark);
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating-stars small {
    margin-left: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 0.8rem;
    font-weight: 700;
}

/* Overall Rating Display - New Design */
.rating-overall-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    background: var(--bg-light);
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

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

.rating-number {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.big-score {
    font-family: var(--font-family);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.max-score {
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
}

.stars-display {
    display: flex;
    gap: 0.25rem;
}

.stars-display i {
    font-size: 1.5rem;
}

.rating-count-new {
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-muted);
}

.submit-review-btn {
    display: flex;
    align-items: center;
}

.btn-submit-review {
    font-family: var(--font-family);
    display: inline-block;
    padding: 0.75rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-submit-review:hover {
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

/* Comments Section - inherits from base section styling */

.comments-section h5 {
    font-family: var(--font-family);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

/* Comments List */
.c-comments__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ========================================
   FRESH MODERN REVIEW CARD DESIGN
   ======================================== */

.review-card {
   
    
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: #e0e0e0;
}

/* Review Header */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: .5rem;
    padding-bottom: 1rem;
    
}

/* Reviewer Info - Left Side */
.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-family: var(--font-family);
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.review-rating {
    display: flex;
    align-items: center;
}

.review-rating .stars {
    display: flex;
    gap: 0.25rem;
}

.review-rating .stars i {
    font-size: 1.125rem;
}

.review-rating .stars i.filled {
    color: #FFB800;
}

.review-rating .stars i.empty {
    color: #e8e8e8;
}

/* Review Meta - Right Side */
.review-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.review-date {
    font-family: var(--font-family);
    font-size: 0.875rem;
    font-weight: 400;
    color: #999999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-date i {
    font-size: 0.875rem;
    color: #bbb;
}

.btn-report {
    background: transparent;
    border: 1px solid #f0f0f0;
    border-radius: 0.375rem;
    padding: 0.4rem 0.75rem;
    color: #999;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-report:hover {
    background: #fff5f5;
    border-color: #ffebeb;
    color: #e74c3c;
}

.btn-report i {
    font-size: 0.75rem;
}

/* Review Body */
.review-body {
    padding: 0;
}

.review-body p {
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    color: #4a4a4a;
    margin: 0;
    text-align: right;
}

/* Mobile Responsive */
@media (max-width: 48rem) {
    .review-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
        border-radius: 0.5rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 1.25rem;
        padding-bottom: 1.25rem;
    }
    
    .reviewer-info {
        width: 100%;
    }
    
    .reviewer-name {
        font-size: 1rem;
    }
    
    .review-rating .stars i {
        font-size: 1rem;
    }
    
    .review-meta {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .review-date {
        font-size: 0.8rem;
    }
    
    .btn-report {
        padding: 0.35rem 0.65rem;
        font-size: 0.75rem;
    }
    
    .review-body p {
        font-size: 0.95rem;
    }
}

/* ========================================
   REPORT COMMENT BOTTOM SHEET
   ======================================== */

.report-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.report-bottom-sheet {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 1.25rem 1.25rem 0 0;
    z-index: 9999;
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 -0.25rem 1.25rem rgba(0, 0, 0, 0.15);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.report-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.report-sheet-title {
    font-family: var(--font-family);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.btn-close-sheet {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.btn-close-sheet:hover {
    background: #f5f5f5;
    color: #333;
}

.report-reasons {
    margin-bottom: 1.5rem;
}

.report-reason-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 2px solid #f0f0f0;
    border-radius: 0.625rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.report-reason-option:hover {
    border-color: #e0e0e0;
    background: #fafafa;
}

.report-reason-option input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 1rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.report-reason-option label {
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 400;
    color: #333;
    cursor: pointer;
    flex: 1;
    margin: 0;
}

.report-reason-option.selected {
    border-color: var(--primary-color);
    background: #f0fffe;
}

.report-actions {
    display: flex;
    gap: 1rem;
}

.btn-cancel-report,
.btn-submit-report {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-cancel-report {
    background: #f5f5f5;
    color: #666;
}

.btn-cancel-report:hover {
    background: #e8e8e8;
}

.btn-submit-report {
    background: var(--primary-color);
    color: white;
}

.btn-submit-report:hover {
    background: var(--secondary-color);
}

.btn-submit-report:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.report-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-family);
    font-size: 0.9rem;
}

.report-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.report-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 48rem) {
    .report-bottom-sheet {
        padding: 1.5rem;
        max-height: 80vh;
    }
    
    .report-sheet-title {
        font-size: 1.125rem;
    }
    
    .report-reason-option {
        padding: 0.875rem;
    }
    
    .report-reason-option label {
        font-size: 0.9rem;
    }
}

/* Form Styling - inherits from base section styling */

.comment-form h5 {
    font-family: var(--font-family);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group label {
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
}

.form-control {
    font-family: var(--font-family);
    font-weight: 400;
    border: 1px solid #ced4da;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    line-height: 1.5;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(86, 189, 175, 0.25);
}

/* Select dropdown specific styling */
select.form-control {
    height: auto;
    min-height: 2.875rem;
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    font-size: 1rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    background-size: 0.75rem;
}

select.form-control:focus {
    border-color: var(--primary-color);
}

select.form-control option {
    padding: 0.5rem;
    font-size: 1rem;
}

/* Textarea styling */
textarea.form-control {
    min-height: 8rem;
    resize: vertical;
    line-height: 1.6;
}

/* Input text styling */
input[type="text"].form-control,
input[type="email"].form-control,
input[type="tel"].form-control,
input[type="number"].form-control {
    height: auto;
    min-height: 2.875rem;
}

/* Star Rating */
.br-theme-fontawesome-stars .br-widget a {
    font-size: 1.5rem !important;
    margin: 0 0.25rem;
}

.br-theme-fontawesome-stars .br-widget a.br-active,
.br-theme-fontawesome-stars .br-widget a.br-selected {
    color: #ffc107 !important;
}

/* Buttons */
.btn {
    font-family: var(--font-family);
    border-radius: var(--border-radius);
}

.btn-success {
    font-family: var(--font-family);
    background: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-success:hover {
    background: var(--secondary-color);
}

.btn-outline-secondary {
    font-family: var(--font-family);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 2rem;
    font-weight: 700;
    transition: var(--transition);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary {
    font-family: var(--font-family);
    background: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    color: var(--white);
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--secondary-color);
}

.btn-info {
    font-family: var(--font-family);
    border-radius: var(--border-radius);
    font-weight: 700;
}

.btn-lg {
    font-family: var(--font-family);
    border-radius: var(--border-radius);
    font-weight: 700;
}

/* Alert Messages */
.alert {
    font-family: var(--font-family);
    border-radius: var(--border-radius);
    border: 1px solid;
    padding: 1rem;
    font-size: 0.95rem;
    font-weight: 400;
}

.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background: var(--bg-light);
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    color: var(--text-dark);
    padding: 1.5rem;
}

.alert-warning {
    background: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.alert-secondary {
    background: #e2e3e5;
    border-color: #d6d8db;
    color: #383d41;
}

/* CTA Section - inherits from base section styling */
.cta-section {
    text-align: center;
}

.cta-section h5 {
    font-family: var(--font-family);
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-section p {
    font-family: var(--font-family);
   
    font-size: .9rem;
    font-weight: 300;
}

.cta-section .btn {
    font-family: var(--font-family);
    margin-top: 1rem;
    border-radius: var(--border-radius);
    font-weight: 700;
}

/* Additional Elements */
select, textarea {
    font-family: var(--font-family);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
}

/* Mobile Responsive */
@media (max-width: 48rem) {
    .doctor-header-card {
        padding: 1.5rem;
        margin-top: 5rem;
    }
    
    .doctor-header-card h1 {
        font-size: 1.5rem;
    }
    
    .big-score {
        font-size: 2.5rem;
    }
    
    .comment-form {
        padding: 1.5rem;
    }
    
    .rating-card {
        padding: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    select.form-control {
        font-size: 0.95rem;
        padding: 0.625rem 2rem 0.625rem 0.875rem;
        min-height: 2.75rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Spacing utilities */
.mb-30 {
    margin-bottom: 1.5rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.p-5 {
    padding: 2rem !important;
}

.padDiv {
    padding: 0;
}

.journal-txt {
    padding: 0 !important;
}

