﻿@font-face {
    font-family: 'myIranSans';
    src: url('../../fonts/IRANSansWeb(FaNum).eot');
    src: url('../../fonts/IRANSansWeb(FaNum).eot') format('embedded-opentype'), url('../../fonts/IRANSansWeb(FaNum).woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'myIranSans', "Segoe UI", sans-serif;
    background-color: #f5f7fb;
    color: #1f2933;
}

/* ======= Header / Navbar ======= */
.main-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.navbar-brand span {
    font-weight: 700;
    color: #0d6efd;
}

.navbar-nav .nav-link {
    font-size: 0.95rem;
    padding-inline: 0.75rem;
}

    .navbar-nav .nav-link:hover {
        color: #0d6efd;
    }

.btn-outline-primary-soft {
    border-color: #0d6efd33;
    background-color: #0d6efd0d;
    color: #0d6efd;
}

    .btn-outline-primary-soft:hover {
        background-color: #0d6efd18;
    }

/* ======= Hero Section + Search ======= */
.hero-section {
    padding: 3rem 0 2rem;
    background: linear-gradient(135deg, #f0f5ff, #ffffff);
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
}

    .hero-title span {
        color: #0d6efd;
    }

.hero-subtitle {
    color: #6b7280;
    font-size: 0.95rem;
}

.hero-search-box {
    background-color: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
    padding: 1rem;
    margin-top: 1.5rem;
}

.hero-search-input {
    border: none;
    border-radius: 999px;
    background-color: #f3f4f6;
    padding-inline-start: 2.5rem;
}

    .hero-search-input:focus {
        box-shadow: none;
        background-color: #eef2ff;
    }

.hero-search-input-icon {
    position: absolute;
    inset-inline-start: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.1rem;
}

.hero-search-divider {
    width: 1px;
    background-color: #e5e7eb;
    height: 2.5rem;
}

.hero-badges .badge {
    background-color: #e5f0ff;
    color: #1d4ed8;
    font-weight: 500;
}

.hero-stats span {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
}

.hero-stats strong {
    font-size: 1.1rem;
    color: #111827;
}

.hero-illustration {
    width: 420px;
    max-width: 100%;
}

/* ======= Specialties Pills ======= */
.specialties-pills {
    white-space: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

    .specialties-pills::-webkit-scrollbar {
        height: 6px;
    }

    .specialties-pills::-webkit-scrollbar-thumb {
        background-color: #d1d5db;
        border-radius: 999px;
    }

.specialty-pill {
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    padding: 0.4rem 0.95rem;
    font-size: 0.85rem;
    margin-inline-end: 0.4rem;
    margin-bottom: 0.35rem;
    color: #374151;
}

    .specialty-pill.active {
        border-color: #0d6efd;
        color: #0d6efd;
        background-color: #eff6ff;
    }

/* ======= Categories Cards ======= */
.service-card {
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    padding: 1rem 1.1rem;
    transition: all 0.2s ease-in-out;
    height: 100%;
}

    .service-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.07);
    }

.service-card-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.service-card-text {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.service-card .badge {
    font-size: 0.7rem;
}

/* ======= Doctors List / Cards ======= */
.doctor-card {
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

    .doctor-card:hover {
        box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
        transform: translateY(-4px);
    }

.doctor-avatar {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid #e0f2fe;
}

.doctor-name {
    font-weight: 700;
    font-size: 0.98rem;
}

.doctor-specialty {
    font-size: 0.78rem;
    color: #6b7280;
}

.doctor-meta {
    font-size: 0.78rem;
    color: #6b7280;
}

.doctor-rating {
    font-size: 0.8rem;
    color: #10b981;
}

.doctor-card-footer {
    border-top: 1px dashed #e5e7eb;
    padding: 0.75rem 1rem;
}

/* ======= Section Titles / Features ======= */
.section-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111827;
}

    .section-title span {
        color: #0d6efd;
    }

.section-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #eff6ff;
    color: #2563eb;
    margin-bottom: 0.75rem;
}

.feature-item h6 {
    font-size: 0.95rem;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.8rem;
    color: #6b7280;
}

/* ======= Testimonials (Simple Slider Style) ======= */
.testimonial-card {
    border-radius: 1rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 1rem 1.1rem;
    height: 100%;
}

.testimonial-text {
    font-size: 0.85rem;
    color: #4b5563;
}

.testimonial-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.testimonial-meta {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ======= Mobile App Section ======= */
.app-section {
    background: linear-gradient(135deg, #0f172a, #11b051);
    border-radius: 1.5rem;
    color: #e5e7eb;
    overflow: hidden;
}

.app-badge {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 0.4rem 0.9rem;
    font-size: 0.7rem;
    color: #e5e7eb;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.app-download-btn {
    border-radius: 0.9rem;
    border: 1px solid rgba(191, 219, 254, 0.6);
    color: #e5e7eb;
    background: transparent;
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
}

    .app-download-btn:hover {
        background-color: rgba(15, 23, 42, 0.5);
    }

.app-qr {
    border-radius: 0.9rem;
    background-color: rgba(15, 23, 42, 0.8);
    padding: 0.7rem;
    font-size: 0.7rem;
    text-align: center;
}

/* ======= Footer ======= */
.main-footer {
    background-color: #0b1120;
    color: #9ca3af;
    padding-top: 3rem;
}

.footer-logo span {
    color: #bfdbfe;
    font-weight: 700;
}

.footer-link {
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: none;
}

    .footer-link:hover {
        color: #e5e7eb;
    }

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    margin-top: 1.5rem;
    padding-top: 1rem;
    font-size: 0.78rem;
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .hero-section {
        padding-top: 1.8rem;
    }
}


/* HERO */
.about-hero {
    background: linear-gradient(135deg, #19b456 0%, #0f8e41 100%);
    padding: 40px 20px;
}

/* MAIN BOX */
.about-box {
    border-right: 4px solid #0d6efd;
}

/* FEATURES */
.features-section {
    background: #f8f9fb;
}

.feature-box {
    transition: all 0.25s ease;
}

    .feature-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    }

/* FINAL BOX */
.final-box {
    background: #eef5ff;
    border: 1px solid #d7e5ff;
}


/* ============== FAQ HERO ============== */
.faq-hero {
    background: linear-gradient(135deg, #0d6efd, #003b8e);
    padding: 80px 20px;
}

.faq-wrapper {
    max-width: 1000px;
}

.faq-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 20px;
}

.faq-accordion .accordion-item {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid #e1e6ef;
}

.faq-accordion .accordion-button {
    background: #f9fafc;
    font-weight: 600;
}

    .faq-accordion .accordion-button:not(.collapsed) {
        background: #e9f2ff;
        color: #0d6efd;
    }

.faq-accordion .accordion-body {
    line-height: 1.9;
    background: white;
}


/* Rules HERO */

/* کانتینر اصلی صفحه */
.amz-tc-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
}

/* هدر و عنوان */
.amz-tc-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.amz-tc-title {
    color: #1a365d;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.amz-tc-date {
    font-size: 13px;
    color: #718096;
    text-align: left;
}

/* عناوین بخش‌ها (ماده‌ها) */
.amz-tc-section-title {
    color: #2b6cb0;
    font-size: 18px;
    font-weight: bold;
    margin-top: 35px;
    margin-bottom: 15px;
    padding-right: 10px;
    border-right: 4px solid #3182ce;
    background: linear-gradient(90deg, transparent, #ebf8ff);
    padding: 8px 12px 8px 0;
    border-radius: 4px;
}

/* پاراگراف‌ها و لیست‌ها */
.amz-tc-text {
    text-align: justify;
    margin-bottom: 12px;
}

/* هایلایت جملات مهم */
.amz-tc-highlight-red {
    background-color: #fed7d7;
    color: #9b2c2c;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

.amz-tc-highlight-yellow {
    background-color: #fefcbf;
    color: #744210;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

/* تبصره‌ها */
.amz-tc-note {
    background-color: #edf2f7;
    border-right: 3px solid #718096;
    padding: 10px 15px;
    margin: 10px 0;
    font-size: 14px;
    color: #4a5568;
    border-radius: 0 0 0 6px;
}

/* رسپانسیو برای موبایل */
@media (max-width: 600px) {
    .amz-tc-container {
        padding: 20px;
    }

    .amz-tc-title {
        font-size: 20px;
    }

    body.amz-tc-body {
        padding: 10px;
    }
}


/* Contact HERO */
.contact-hero {
    background: linear-gradient(135deg, #0d6efd, #003b8e);
    padding: 80px 15px;
}

/* WRAPPER */
.contact-wrapper {
    max-width: 1100px;
}

/* BOXES */
.contact-box {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.contact-box-info {
    border-right: 5px solid #0d6efd;
}

.contact-box-image {
    border-right: 5px solid #00b894;
}

/* TITLES */
.contact-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #003b8e;
}

.contact-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d6efd;
}

/* INFO ITEMS */
.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: #0d6efd;
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.contact-info-label {
    margin: 0;
    font-weight: 700;
    color: #003b8e;
}

.contact-info-text {
    margin: 0;
    line-height: 1.8;
}

/* SOCIAL */
.contact-social-icon {
    width: 42px;
    height: 42px;
    background: #eaf2ff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #003b8e;
    font-size: 20px;
    transition: 0.3s;
}

    .contact-social-icon:hover {
        background: #0d6efd;
        color: #fff;
    }

/* IMAGES */
.contact-side-img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.contact-map-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 7px 20px rgba(0,0,0,0.05);
    border-right: 5px solid #ff9f43;
}

.contact-map-img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
}

/*Consultant Register*/
.consultant-wrapper {
    max-width: 1100px;
}

.consultant-form .consultant-label {
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
    color: #003b8e;
}

.consultant-input,
.consultant-select,
.consultant-textarea {
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid #d7d7d7;
}

.consultant-select2 {
    width: 100%;
}

.consultant-btn {
    padding: 10px 40px;
    font-size: 1.1rem;
    border-radius: 12px;
}



.ContForm-contact-box {
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .ContForm-contact-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.3);
    }

/* article wrapper معادل sc-c88c0cf-3 با کلاس جدید */
.ContForm-article {
    padding: 2rem 2rem 2.5rem;
    background: #fff;
}

/* عنوان اصلی h2 مانند hfUsvC dsRmMy */
.ContForm-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #1a2c3e;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.3px;
    border-right: 5px solid #00a6b4;
    padding-right: 1rem;
    line-height: 1.3;
}

/* پاراگراف توضیحی (مشابه fJqkWz) */
.ContForm-description {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #2c475c;
    background: #f8fafd;
    padding: 1rem 1.25rem;
    border-radius: 20px;
    margin: 1rem 0 1.8rem 0;
    border: 1px solid #e2edf7;
}

    .ContForm-description span {
        font-family: monospace;
        font-weight: 600;
        background: #eef2f7;
        padding: 0.2rem 0.5rem;
        border-radius: 12px;
        color: #0077b6;
        direction: ltr;
        display: inline-block;
    }

/* form base */
.ContForm-form {
    width: 100%;
}

/* هر گروه فرم (field wrapper) */
.ContForm-field-group {
    margin-bottom: 1.5rem;
}

/* لیبل (مشابه dtOQlm) */
.ContForm-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e3a5f;
    margin-bottom: 0.5rem;
}

.ContForm-required {
    color: #e34f4f;
    margin-right: 4px;
    font-size: 1rem;
}

/* استایل input, textarea یکسان با hjHUCA اما با کلاس جدید */
.ContForm-input,
.ContForm-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    transition: all 0.2s;
    outline: none;
    color: #1e2f3e;
    resize: vertical;
}

    .ContForm-input:focus,
    .ContForm-textarea:focus {
        border-color: #2b9c9c;
        box-shadow: 0 0 0 3px rgba(43, 156, 156, 0.2);
    }

/* ردیف دو ستونه برای موبایل و ایمیل (مشابه ferdCu) */
.ContForm-row-2cols {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 0.5rem;
}

.ContForm-col-half {
    flex: 1;
    min-width: 180px;
}

/* استایل مخصوص گروه شماره موبایل با کد کشور (شبیه کد قبلی اما ساده و تمیز) */
.ContForm-phone-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    transition: all 0.2s;
    padding: 0 6px;
}

    .ContForm-phone-wrapper:focus-within {
        border-color: #2b9c9c;
        box-shadow: 0 0 0 3px rgba(43, 156, 156, 0.2);
    }

.ContForm-country-code {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 0.4rem 0.9rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1f3b4c;
    direction: ltr;
}

.ContForm-flag-icon {
    width: 26px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 16"><path fill="%23239f3b" d="M0 0h24v16H0z"/><path fill="%23fff" d="M0 0h8v16H0z"/><path fill="%23da0000" d="M16 0h8v16h-8z"/><path fill="%23fff" d="M8 0h8v16H8z"/><path fill="%23da0000" d="M0 0h24v5.333H0z"/><path fill="%23239f3b" d="M0 10.667h24V16H0z"/></svg>') no-repeat center/cover;
    display: inline-block;
    background-size: contain;
}

.ContForm-phone-input {
    flex: 1;
    border: none;
    padding: 0.85rem 0;
    font-size: 0.95rem;
    font-family: inherit;
    background: transparent;
    outline: none;
    color: #1e2f3e;
}

/* دکمه ارسال با کلاس اختصاصی ectRgJ مانند */
.ContForm-submit-btn {
    background: #1f6e8c;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.9rem 1.8rem;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

    .ContForm-submit-btn:hover {
        background: #0d5975;
        transform: translateY(-2px);
        box-shadow: 0 12px 20px -10px rgba(0, 86, 102, 0.4);
    }

    .ContForm-submit-btn:active {
        transform: translateY(1px);
    }

/* پیام موفقیت/خطا (ساده) */
.ContForm-message-feedback {
    margin-top: 1rem;
    font-size: 0.85rem;
    text-align: center;
    padding: 0.6rem;
    border-radius: 40px;
    background: #eef2fa;
    color: #2b5f8a;
}

.ContForm-error-feedback {
    background: #ffe6e5;
    color: #bc3f2e;
}

/* responsive */
@media (max-width: 640px) {
    .ContForm-article {
        padding: 1.5rem;
    }

    .ContForm-title {
        font-size: 1.5rem;
    }

    .ContForm-row-2cols {
        flex-direction: column;
        gap: 1rem;
    }
}

/* استایل برای placeholder شبیه طراحی مدرن */
.ContForm-input::placeholder,
.ContForm-textarea::placeholder,
.ContForm-phone-input::placeholder {
    color: #b9cadb;
    font-weight: 400;
}

/* hover subtle */
.ContForm-contact-box {
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}


/* لایه backdrop برای لودینگ */
.ContForm-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    direction: ltr;
}

/* محفظه اصلی لودینگ */
.ContForm-loading-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafd 100%);
    padding: 2rem 2.5rem;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: ContForm-fadeInUp 0.3s ease-out;
}

/* اسپینر دایره‌ای */
.ContForm-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #e2e8f0;
    border-top: 5px solid #1f6e8c;
    border-right: 5px solid #2b9c9c;
    border-radius: 50%;
    animation: ContForm-spin 0.8s linear infinite;
}

/* اسپینر دوم با افکت نقطه‌چین (اختیاری/حرفه‌ای‌تر) */
.ContForm-pulse-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.ContForm-dot {
    width: 12px;
    height: 12px;
    background: #1f6e8c;
    border-radius: 50%;
    animation: ContForm-bounce 1.4s ease-in-out infinite;
}

    .ContForm-dot:nth-child(1) {
        animation-delay: -0.32s;
    }

    .ContForm-dot:nth-child(2) {
        animation-delay: -0.16s;
    }

    .ContForm-dot:nth-child(3) {
        animation-delay: 0s;
    }

/* متن لودینگ */
.ContForm-loading-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1e3a5f;
    text-align: center;
}

.ContForm-loading-subtext {
    font-size: 0.8rem;
    color: #5f7f9e;
    margin-top: 0.25rem;
    font-weight: normal;
}

/* انیمیشن‌ها */
@keyframes ContForm-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes ContForm-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-12px);
        opacity: 1;
    }
}

@keyframes ContForm-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ریسپانسیو */
@media (max-width: 640px) {
    .ContForm-loading-container {
        padding: 1.5rem 2rem;
        margin: 1rem;
    }

    .ContForm-spinner {
        width: 45px;
        height: 45px;
        border-width: 4px;
    }
}




.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -12px rgba(0,0,0,0.1);
    }

.testimonial-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #2d3e50;
}

.testimonial-meta {
    font-size: 0.8rem;
    color: #6c7a89;
}

.testimonial-text {
    color: #4a5568;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.section-title span {
    color: #0d6efd;
}

.swiper-pagination-bullet-active {
    background: #0d6efd;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 1rem;
    }
}
/* خارج کردن دکمه‌های ناوبری از روی اسلایدها */
.testimonial-swiper {
    position: relative;
    padding-left: 40px;
    padding-right: 40px;
}

.swiper-button-next,
.swiper-button-prev {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    top: 50%;
    transform: translateY(-50%);
}

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 18px;
        font-weight: bold;
    }

.swiper-button-next {
    right: -10px; /* بیرون از سمت راست */
}

.swiper-button-prev {
    left: -10px; /* بیرون از سمت چپ */
}

/* برای موبایل کمی فاصله بده */
@media (max-width: 768px) {
    .testimonial-swiper {
        padding-left: 30px;
        padding-right: 30px;
    }

    .swiper-button-next {
        right: -5px;
    }

    .swiper-button-prev {
        left: -5px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

        .swiper-button-next:after,
        .swiper-button-prev:after {
            font-size: 14px;
        }
}


/*DefaultPageTop*/
/* ====== هدر با زمینه آبی + پترن و گرادینت ====== */
.main-header {
    background: linear-gradient(135deg, #14b152 0%, #18b355 50%, #0baf4d 100%);
    position: relative;
    padding: 50px 0 60px;
    overflow: hidden;
}

    /* پترن قشنگ */
    .main-header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.08"><path fill="white" d="M0,0 L1000,0 L1000,1000 L0,1000 Z M50,50 L950,50 L950,950 L50,950 Z M100,100 L900,100 L900,900 L100,900 Z" stroke="white" stroke-width="2" fill="none"/><circle cx="200" cy="200" r="40" stroke="white" stroke-width="1.5" fill="none"/><circle cx="800" cy="800" r="60" stroke="white" stroke-width="1.5" fill="none"/><circle cx="500" cy="500" r="80" stroke="white" stroke-width="2" fill="none"/><path d="M0,500 L1000,500 M500,0 L500,1000" stroke="white" stroke-width="1" stroke-dasharray="10 10" opacity="0.5"/></svg>');
        background-repeat: repeat;
        background-size: 180px;
        pointer-events: none;
    }

    .main-header::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.05) 100%);
        pointer-events: none;
    }

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* عنوان اصلی */
.header-title {
    text-align: center;
    margin-bottom: 30px;
}

    .header-title h1 {
        font-size: 2rem;
        font-weight: 800;
        color: white;
        margin: 0;
        text-shadow: 0 2px 12px rgba(0,0,0,0.2);
    }

    .header-title .brand-name {
        font-size: 2.3rem;
        font-weight: 900;
        background: linear-gradient(135deg, #FFE6B0, #FFF8E7);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        text-shadow: none;
    }

/* بخش جستجو */
.search-section {
    background: white;
    border-radius: 48px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    padding: 1.5rem 1.8rem;
    margin: 20px 0 20px;
}

.search-label {
    font-size: 0.95rem;
    color: #2c6b9e;
    padding-right: 12px;
    margin-bottom: 12px;
    font-weight: 700;
}

.search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.city-selector-btn {
    background: #f0f7ff;
    border: 1px solid #cde3f5;
    border-radius: 60px;
    padding: 0 20px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #0b5e8a;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s;
}

    .city-selector-btn:hover {
        background: #e3f0fe;
        border-color: #8fbbdf;
        transform: translateY(-2px);
    }

.search-input-wrapper {
    flex: 1;
    min-width: 200px;
    background: #f9fcff;
    border-radius: 60px;
    border: 1px solid #d9e8f5;
    display: flex;
    align-items: center;
    padding: 0 18px;
    height: 48px;
}

    .search-input-wrapper i {
        color: #6c9bc2;
    }

    .search-input-wrapper input {
        border: none;
        background: transparent;
        padding: 0 12px;
        width: 100%;
        font-family: inherit;
        font-size: 0.95rem;
        outline: none;
    }

        .search-input-wrapper input::placeholder {
            color: #b8d0e6;
        }

/* سه گزینه فیلتر انتخابی (مشاوره آنلاین، تلفنی، سوالات پرتکرار، پشتیبان) - زیر باکس جستجو */
.search-filters-row {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    border-top: 1px solid #eef2f8;
    padding-top: 18px;
}

.filter-chip {
    background: #f8fafd;
    border: 1.5px solid #e2edf2;
    border-radius: 40px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c5a7a;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .filter-chip i {
        font-size: 1rem;
    }

    .filter-chip:hover {
        background: #e9f2fa;
        border-color: #9bb7d4;
        transform: translateY(-1px);
    }

    .filter-chip.active {
        background: #0d6efd;
        border-color: #0d6efd;
        color: white;
        box-shadow: 0 4px 12px rgba(13,110,253,0.3);
    }

        .filter-chip.active i {
            color: white;
        }

/* سه باکس آماری */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    border-radius: 48px;
    padding: 10px 28px;
    min-width: 140px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: 0.2s;
}

    .stat-item:hover {
        background: rgba(255,255,255,0.3);
        transform: translateY(-3px);
    }

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFE5B4;
}

.stat-label {
    font-size: 0.85rem;
    color: #eef4ff;
    font-weight: 500;
}

/* بخش نتایج جستجو (نمایش نتایج بر اساس فیلترها) */
.results-section {
    background: white;
    border-radius: 28px;
    margin: 30px auto;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.result-item {
    border-bottom: 1px solid #eef2f8;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

    .result-item:last-child {
        border-bottom: none;
    }

.badge-type {
    background: #eef2ff;
    color: #0d6efd;
    border-radius: 30px;
    padding: 4px 12px;
    font-size: 0.7rem;
}

/* استایل دکمه جستجوی پیشرفته - قرار گرفتن کنار اینپوت سرچ */
.adv-search-btn {
    background: linear-gradient(135deg, #0fa64c, #36bb6a);
    border: none;
    border-radius: 60px;
    padding: 0 28px;
    height: 48px;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    cursor: pointer;
}

    .adv-search-btn:hover {
        background: linear-gradient(135deg, #0b5ed7, #0950a8);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(13, 110, 253, 0.4);
        color: white;
    }

    .adv-search-btn:active {
        transform: translateY(0);
    }

    .adv-search-btn i {
        font-size: 1rem;
    }

/* پنل پیشرفته */
.custom-overlay-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.custom-advanced-container {
    max-width: 1100px;
    width: 90%;
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    direction: rtl;
}

.filter-column {
    padding: 1.5rem;
    background: #fefefe;
    border-left: 1px solid #eef2f8;
}

.results-column {
    padding: 1.5rem;
}

.consultant-card {
    background: #fff;
    border: 1px solid #eef2f8;
    border-radius: 1rem;
    padding: 0.9rem;
    margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
    .search-row {
        flex-direction: column;
        align-items: stretch;
    }

    .adv-search-btn {
        justify-content: center;
        padding: 0 20px;
    }

    .filter-chip {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
}

/* modal / panel جستجوی پیشرفته (overlay) */
.custom-overlay-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.custom-advanced-container {
    max-width: 1200px;
    width: 90%;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: fadeInUp 0.25s ease;
    direction: rtl;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-panel-header {
    background: #f8fafd;
    padding: 1rem 1.8rem;
    border-bottom: 1px solid #e2edf2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-panel-title {
    font-weight: 800;
    color: #0b3b5f;
    font-size: 1.3rem;
}

.custom-close-panel {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #6c86a3;
}
/* دو ستون اصلی */
.custom-filter-column {
    padding: 1.5rem;
    background: #fefefe;
    border-left: 1px solid #eef2f8;
}

.custom-results-column {
    padding: 1.5rem;
    background: #ffffff;
}

.custom-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.custom-clear-filters {
    font-size: 0.8rem;
    color: #e26d5c;
    background: #ffeeed;
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
}

.custom-filter-group {
    margin-bottom: 1.6rem;
}

.custom-filter-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    color: #1f4662;
    font-size: 0.85rem;
}

/* استایل‌های قسمت زبان و گویش - قابل انتخاب همزمان */

.custom-lang-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    padding: 0.5rem 1.2rem;
    margin-left: 0.6rem;
    margin-bottom: 0.6rem;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s ease;
    border: 1.5px solid #e2e8f0;
    user-select: none;
}

    .custom-lang-badge:hover {
        background: #e2e8f0;
        border-color: #94a3b8;
        transform: translateY(-1px);
    }

    .custom-lang-badge.selected {
        background: linear-gradient(135deg, #0d6efd, #0a58ca);
        border-color: #0d6efd;
        color: white;
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    }

    .custom-lang-badge:active {
        transform: scale(0.96);
    }

.custom-select, .custom-combobox {
    width: 100%;
    padding: 0.6rem 1rem;
    border-radius: 1rem;
    border: 1px solid #d4e0ea;
    background: #fff;
    font-family: inherit;
}
/* سوییچ (toggle) */
.custom-switch-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7f9fc;
    padding: 0.6rem 1rem;
    border-radius: 1rem;
    margin-bottom: 0.7rem;
}

.custom-switch-label {
    font-size: 0.85rem;
    font-weight: 500;
}

.custom-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

    .custom-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.custom-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 34px;
}

    .custom-slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: 0.3s;
        border-radius: 50%;
    }

input:checked + .custom-slider {
    background-color: #0d6efd;
}

    input:checked + .custom-slider:before {
        transform: translateX(22px);
    }
/* زبان ها به صورت Badge */
.custom-lang-badge {
    display: inline-flex;
    background: #eef2f5;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    font-size: 0.75rem;
    transition: 0.1s;
    border: 1px solid #dbe5ef;
}

    .custom-lang-badge.selected {
        background: #0d6efd;
        color: white;
        border-color: #0d6efd;
    }
/* مرتب‌سازی و نتایج */
.custom-sort-dropdown {
    width: 220px;
    padding: 0.45rem 1rem;
    border-radius: 2rem;
    border: 1px solid #dfe8f0;
}

.custom-consultant-card {
    background: #ffffff;
    border: 1px solid #eef2f8;
    border-radius: 1.2rem;
    padding: 1rem;
    margin-bottom: 0.9rem;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

    .custom-consultant-card:hover {
        box-shadow: 0 6px 14px rgba(0,0,0,0.05);
        border-color: #cde1f0;
    }

.custom-consultant-info {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.custom-consultant-avatar {
    width: 48px;
    height: 48px;
    background: #d9e6f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1f5e7a;
}

.custom-consultant-name {
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.custom-consultant-spec {
    font-size: 0.7rem;
    color: #6c86a3;
}

.custom-badge-active {
    background: #e1f7e9;
    color: #1e7e34;
    border-radius: 30px;
    padding: 0.2rem 0.7rem;
    font-size: 0.7rem;
}

.empty-results {
    text-align: center;
    padding: 2rem;
    color: #8eacc0;
}

@media (max-width: 768px) {
    .custom-advanced-container .row {
        flex-direction: column;
    }

    .custom-filter-column {
        border-left: none;
        border-bottom: 1px solid #eef2f8;
    }
}

/* استایل زیبا برای سلکت شهر */
.city-selector-wrapper {
    position: relative;
}

.city-selector-btn {
    background: #f0f7ff;
    border: 1px solid #cde3f5;
    border-radius: 60px;
    padding: 0 20px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #0b5e8a;
    cursor: pointer;
    font-family: 'myIranSans', "Segoe UI", sans-serif;
    font-size: 0.9rem;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 451.847 451.847' fill='%230b5e8a'><path d='M225.923 354.706c-8.098 0-16.195-3.092-22.369-9.263L9.27 151.157c-12.359-12.359-12.359-32.397 0-44.751 12.354-12.354 32.388-12.354 44.748 0l171.905 171.915 171.906-171.909c12.359-12.354 32.391-12.354 44.744 0 12.365 12.354 12.365 32.392 0 44.751L248.292 345.449c-6.177 6.172-14.274 9.257-22.369 9.257'/></svg>");
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 40px;
    width: 100%;
    min-width: 180px;
}

    .city-selector-btn:hover {
        background-color: #e3f0fe;
        border-color: #8fbbdf;
    }

    .city-selector-btn option {
        font-family: 'myIranSans', "Segoe UI", sans-serif;
        padding: 10px;
    }

/*DefaultPageTop*/

/*LoginStyle*/
.login-card {
    max-width: 550px;
    width: 100%;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: transform 0.3s ease;
    margin: auto;
    margin-top: 30px;
}

    .login-card:hover {
        transform: translateY(-5px);
    }

.login-header {
    background: linear-gradient(135deg, #078137, #76d09a);
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
}

    .login-header h2 {
        font-size: 1.8rem;
        font-weight: 800;
        margin: 0;
        letter-spacing: -0.5px;
    }

    .login-header p {
        font-size: 0.9rem;
        margin-top: 10px;
        opacity: 0.9;
    }

.login-body {
    padding: 2rem 1.8rem;
}

.login-description {
    text-align: center;
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #e2e8f0;
    color: #4a627a;
    font-size: 0.95rem;
}

/* دکمه‌های سوئیچ بین روش‌های ورود */
.login-method-switch {
    display: flex;
    gap: 12px;
    margin-bottom: 1.5rem;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 60px;
}

.method-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    color: #6c86a3;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

    .method-btn.active {
        background: linear-gradient(135deg, #67c58c, #198e47);
        color: white;
        box-shadow: 0 2px 8px rgba(13,110,253,0.2);
    }

.phone-group {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.country-code-wrapper {
    flex: 0 0 auto;
    position: relative;
}

.country-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafd;
    border: 2px solid #e2edf2;
    border-radius: 60px;
    padding: 0.85rem 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    height: 54px;
}

    .country-selector:hover {
        border-color: #0d6efd;
        background: #f0f7ff;
    }

.country-code {
    font-weight: 700;
    color: #1f4662;
    font-size: 1rem;
    direction: ltr;
}

.dropdown-arrow-small {
    color: #8ba3bc;
    font-size: 0.8rem;
}

.phone-input-wrapper {
    flex: 1;
    position: relative;
}

    .phone-input-wrapper input,
    .login-input-wrapper input {
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 1rem;
        border: 2px solid #e2edf2;
        border-radius: 60px;
        font-family: inherit;
        transition: all 0.2s;
        background: #f8fafd;
    }

        .phone-input-wrapper input:focus,
        .login-input-wrapper input:focus {
            outline: none;
            border-color: #0d6efd;
            background: white;
            box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
        }

        .phone-input-wrapper input::placeholder,
        .login-input-wrapper input::placeholder {
            color: #b9cfec;
            font-size: 0.9rem;
        }

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #55b97d, #269753);
    border: none;
    border-radius: 60px;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    transition: all 0.3s;
    margin-bottom: 1rem;
    cursor: pointer;
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
    }

    .submit-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.edit-phone-btn, .back-btn {
    background: transparent;
    border: 1px solid #0d6efd;
    border-radius: 60px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0d6efd;
    transition: all 0.2s;
    cursor: pointer;
}

    .edit-phone-btn:hover, .back-btn:hover {
        background: #0d6efd;
        color: white;
    }

.verify-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #e2e8f0;
}

.code-input-group {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.code-input {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid #e2edf2;
    border-radius: 16px;
    background: #f8fafd;
    font-family: monospace;
}

    .code-input:focus {
        outline: none;
        border-color: #0d6efd;
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
    }

.error-message {
    background: #fee2e2;
    border-right: 4px solid #dc2626;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    font-size: 0.8rem;
    color: #991b1b;
    margin-top: 0.8rem;
    display: none;
    align-items: center;
    gap: 8px;
}

.success-message {
    background: #dcfce7;
    border-right: 4px solid #16a34a;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    font-size: 0.8rem;
    color: #14532d;
    margin-top: 0.8rem;
    display: none;
    align-items: center;
    gap: 8px;
}

.show {
    display: flex;
}

.loading-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid white;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.phone-display {
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 60px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f4662;
    direction: ltr;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #9bb3cc;
}

.forgot-link {
    text-align: center;
    margin-top: 10px;
}

    .forgot-link a {
        color: #0d6efd;
        text-decoration: none;
        font-size: 0.8rem;
        cursor: pointer;
    }

        .forgot-link a:hover {
            text-decoration: underline;
        }

@media (max-width: 480px) {
    .login-body {
        padding: 1.5rem;
    }

    .phone-group {
        flex-direction: column;
        align-items: stretch;
    }

    .country-selector {
        justify-content: center;
    }

    .login-header h2 {
        font-size: 1.4rem;
    }

    .code-input {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}


/*UserPanel*/

/* کاور اصلی پنل کاربری */
.user-panel-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 30px;
}

/* هدر پنل */
.panel-header-custom {
    background: linear-gradient(135deg, #1ab356, #0d7034);
    border-radius: 24px;
    padding: 1.5rem 2rem;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

    .panel-header-custom h2 {
        font-weight: 800;
        margin: 0;
    }

    .panel-header-custom p {
        opacity: 0.9;
        margin-top: 8px;
    }

/* منوی سوئیچ بین دو فرم */
.form-switch-menu {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    background: white;
    padding: 8px;
    border-radius: 60px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.switch-tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    color: #6c86a3;
    transition: all 0.3s;
    cursor: pointer;
    font-family: inherit;
}

    .switch-tab-btn.active {
        background: linear-gradient(135deg, #19ac53, #0e7436);
        color: white;
        box-shadow: 0 4px 12px rgba(13,110,253,0.3);
    }

/* کادرهای فرم */
.form-card-custom {
    background: white;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.form-title-custom {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1f3a5f;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #0d6efd;
    display: inline-block;
}

.form-label-custom {
    font-weight: 600;
    color: #1f4662;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.form-control-custom,
.form-select-custom {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2edf2;
    border-radius: 16px;
    font-family: inherit;
    transition: all 0.2s;
    background: #f8fafd;
}

    .form-control-custom:focus,
    .form-select-custom:focus {
        outline: none;
        border-color: #0d6efd;
        background: white;
        box-shadow: 0 0 0 3px rgba(13,110,253,0.1);
    }

    .form-control-custom[readonly] {
        background: #f1f5f9;
        color: #64748b;
        cursor: not-allowed;
    }

.required-star {
    color: #dc2626;
    margin-right: 4px;
}

/* دکمه ثبت نام */
.submit-register-btn {
    background: linear-gradient(135deg, #19ac52, #0e7336);
    border: none;
    border-radius: 60px;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
    margin-top: 1rem;
}

    .submit-register-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(13,110,253,0.3);
    }

/* پیام خطا و موفقیت */
.error-msg-custom {
    background: #fee2e2;
    border-right: 4px solid #dc2626;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #991b1b;
    margin-top: 0.5rem;
    display: none;
}

.success-msg-custom {
    background: #dcfce7;
    border-right: 4px solid #16a34a;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #14532d;
    margin-top: 0.5rem;
    display: none;
}

.show-msg {
    display: block;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .form-card-custom {
        padding: 1.2rem;
    }

    .form-switch-menu {
        flex-direction: column;
        border-radius: 20px;
    }

    .switch-tab-btn {
        text-align: center;
    }

    .panel-header-custom {
        padding: 1rem;
    }
}

/* استایل Select2 برای multi-select */
.select2-container--bootstrap-5 .select2-selection {
    border-radius: 16px;
    border: 2px solid #e2edf2;
    background: #f8fafd;
    min-height: 48px;
}


/* استایل نمایش سطح احراز هویت */
.verification-level-box {
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 12px 20px;
    backdrop-filter: blur(10px);
}

.level-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

    .level-badge i {
        font-size: 1rem;
    }

#userLevelText {
    color: #FFE5B4;
}

.level-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    transition: all 0.3s;
}

.progress-step.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
}

.progress-step.active .step-circle {
    background: #0d6efd;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.3);
}

.step-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
}

.progress-line {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.3);
}

.progress-step.completed ~ .progress-line {
    background: #10b981;
}

@media (max-width: 768px) {
    .verification-level-box {
        margin-top: 15px;
        width: 100%;
    }

    .level-progress {
        justify-content: center;
    }

    .progress-line {
        width: 20px;
    }

    .step-label {
        font-size: 0.6rem;
    }
}

/*UserPanel*/


/* استایل‌های یونیک برای فرم ثبت نام گفتیاران */
.counselor-form-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

.counselor-section {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.counselor-section-title {
    color: #0c4e8c;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #0d6efd;
    display: inline-block;
}

.counselor-form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
    font-size: 0.85rem;
}

.counselor-form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    transition: all 0.2s;
    font-size: 0.9rem;
}

    .counselor-form-control:focus {
        border-color: #0d6efd;
        outline: none;
        box-shadow: 0 0 0 2px rgba(13,110,253,0.2);
    }

    .counselor-form-control[readonly] {
        background-color: #e9ecef;
        cursor: not-allowed;
    }

.counselor-dynamic-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    position: relative;
}

    .counselor-dynamic-card .btn-remove {
        position: absolute;
        top: 10px;
        left: 10px;
        background: #dc3545;
        color: white;
        border: none;
        border-radius: 20px;
        padding: 2px 10px;
        font-size: 0.7rem;
        cursor: pointer;
    }

.counselor-dynamic-btn {
    background: #16b254;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 0.8rem;
    margin-top: 10px;
    margin-left: 8px;
    cursor: pointer;
}

    .counselor-dynamic-btn:hover {
        background: #0b5ed7;
    }

.counselor-submit-btn {
    background: linear-gradient(135deg, #18b455, #0b632e);
    border: none;
    border-radius: 40px;
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    transition: all 0.3s;
}

    .counselor-submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(13,110,253,0.3);
    }

    .counselor-submit-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
    }

.counselor-error-msg {
    background: #fee2e2;
    border-right: 4px solid #dc2626;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #991b1b;
    margin-top: 15px;
    display: none;
}

.counselor-success-msg {
    background: #dcfce7;
    border-right: 4px solid #16a34a;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #14532d;
    margin-top: 15px;
    display: none;
}

.counselor-show-msg {
    display: block;
}

.required-star {
    color: #dc2626;
    margin-right: 4px;
}

.counselor-category {
    background: #e9ecef;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
}

.counselor-category-title {
    background: #077432;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.counselor-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.counselor-chip {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 25px;
    padding: 6px 15px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .counselor-chip:hover {
        background: #e9ecef;
    }

    .counselor-chip.selected {
        background: #0d6efd;
        color: white;
        border-color: #0d6efd;
    }

.counselor-consult-type {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

    .counselor-consult-type label {
        display: flex;
        align-items: center;
        gap: 5px;
        cursor: pointer;
    }

/* شبکه‌های اجتماعی */
.social-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e9ecef;
    padding: 5px 10px;
    border-radius: 20px;
    margin-left: 8px;
    margin-bottom: 8px;
    cursor: pointer;
}

    .social-platform-badge.selected {
        background: #0d6efd;
        color: white;
    }

@media (max-width: 768px) {
    .counselor-section {
        padding: 15px;
    }

    .counselor-section-title {
        font-size: 1.1rem;
    }
}

