.doctor-profile-card {
    background: #fff;
    border-radius: var(--mirsoft-radius);
    box-shadow: var(--mirsoft-shadow);
    overflow: hidden;
}

.doctor-profile-header {
    background: linear-gradient(135deg, var(--mirsoft-blue), var(--mirsoft-green));
    padding: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 25px;
}

.doctor-profile-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 5px solid #fff;
    object-fit: cover;
}

.doctor-profile-info h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom:10px;
}

.profile-cat {
    background: rgba(255,255,255,0.2);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    margin-right: 6px;
}

.profile-cat:hover {
    background: rgba(255,255,255,0.35);
}

.doctor-meta {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 5px;
}

/* بدنه */
.doctor-profile-body {
    padding: 25px;
}

.doctor-profile-body h5 {
    color: var(--mirsoft-blue);
    font-weight: 600;
    margin-bottom: 15px;
}

.doctor-bio {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
}

/* =========================
   کارت ویزیت
========================= */
.doctor-visit-card-modern {
    background: #fff;
    border-radius: var(--mirsoft-radius);
    box-shadow: var(--mirsoft-shadow);
    padding: 25px;
    position: sticky;
    top: 100px;
}

.doctor-visit-card-modern h5 {
    color: var(--mirsoft-blue);
    margin-bottom: 20px;
}

.visit-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.visit-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--mirsoft-bg);
    padding: 12px;
    border-radius: 12px;
    transition: 0.3s;
}

.visit-box i {
    font-size: 22px;
    color: var(--mirsoft-green);
}

.visit-box:hover {
    background: var(--mirsoft-green);
    color: #fff;
}

.visit-box:hover i {
    color: #fff;
}

.profile-reserve-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    background: linear-gradient(135deg, var(--mirsoft-green), #2fa56c);
    color: #fff;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(59,183,126,0.35);
}

.profile-reserve-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(59,183,126,0.45);
}

/* =========================
   موبایل
========================= */
@media (max-width: 768px) {

    .doctor-profile-header {
        flex-direction: column;
        text-align: center;
    }

    .doctor-profile-avatar {
        width: 100px;
        height: 100px;
    }

    .doctor-visit-card-modern {
        position: relative;
        top: 0;
    }
}
.mirsoft-sidebar-title {
    font-weight: 600;
    color: var(--mirsoft-blue);
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Wrapper input + icon */
.mirsoft-search-box {
    position: relative;
    width: 100%;
}

.mirsoft-search-box .search-icon {
    position: absolute;
    left: 12px; /* ایکون سمت راست */
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1rem;
    pointer-events: none; /* کلیک روی input مشکلی نداشته باشه */
}

/* Input */
.mirsoft-search-input {
    width: 100%;
    padding: 10px 40px 10px 12px; /* فضای کافی برای ایکون */
    border: 1px solid #ccc;
    border-radius: var(--mirsoft-radius);
    outline: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.mirsoft-search-input:focus {
    border-color: var(--mirsoft-blue);
    box-shadow: 0 0 5px rgba(14,21,195,0.3);
}

/* واکنشگرایی موبایل */
@media (max-width: 767px) {
    .mirsoft-search-input {
        padding: 9px 35px 9px 10px;
        font-size: 0.88rem;
    }
    .mirsoft-search-box .search-icon {
        font-size: 0.95rem;
        right: 10px;
    }
}
.doctor-card-modern {
    background: #fff;
    border-radius: var(--mirsoft-radius);
    box-shadow: var(--mirsoft-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

/* هدر گرادینتی بالا */
.doctor-card-modern::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 90px;
    background: linear-gradient(135deg, var(--mirsoft-blue), var(--mirsoft-green));
    z-index: 0;
}

/* بدنه کارت */
.doctor-card-modern .card-body {
    position: relative;
    z-index: 2;
    padding: 24px;
}

/* آواتار */
.doctor-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    margin-top: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* نام */
.doctor-name {
    font-weight: 700;
    color: var(--mirsoft-blue);
}

/* تخصص */
.badge-doctor {
    background: rgba(59,183,126,0.12);
    color: var(--mirsoft-green);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    margin: 4px;
}

/* بخش ارتباط */
.doctor-visit-methods {
    background: var(--mirsoft-bg);
    border-radius: 12px;
    padding: 10px;
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.visit-item {
    background: #fff;
    border-radius: 20px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    transition: 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}

.visit-item i {
    color: var(--mirsoft-blue);
}

.visit-item:hover {
    background: var(--mirsoft-green);
    color: #fff;
}

.visit-item:hover i {
    color: #fff;
}

/* دکمه ها */
.doctor-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-details {
    flex: 1;
    border: 2px solid var(--mirsoft-blue);
    color: var(--mirsoft-blue);
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    transition: 0.3s;
}

.btn-details:hover {
    background: var(--mirsoft-blue);
    color: #fff;
}

.btn-reserve {
    flex: 1;
    background: linear-gradient(135deg, var(--mirsoft-green), #2fa56c);
    color: #fff;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 6px 20px rgba(59,183,126,0.3);
}

.btn-reserve:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59,183,126,0.4);
}
@media (max-width: 768px) {

    .doctor-card-modern {
        padding: 0;
    }

    .doctor-card-modern::before {
        height: 70px; /* گرادینت کوتاه‌تر */
    }

    .doctor-card-modern .card-body {
        padding: 18px 16px 20px;
    }

    /* آواتار */
    .doctor-avatar {
        width: 85px;
        height: 85px;
        margin-top: 15px;
    }

    /* نام */
    .doctor-name {
        font-size: 16px;
    }

    /* تخصص اسکرولی */
    .doctor-cats {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 6px;
        padding-bottom: 5px;
    }

    .doctor-cats::-webkit-scrollbar {
        display: none;
    }

    .badge-doctor {
        white-space: nowrap;
        font-size: 11px;
        padding: 4px 10px;
    }

    /* روش‌های ارتباط */
    .doctor-visit-methods {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
    }

    .visit-item {
        justify-content: center;
        font-size: 14px;
        padding: 8px;
    }

    /* دکمه‌ها */
    .doctor-actions {
        flex-direction: column;
        gap: 8px;
    }

    .btn-details,
    .btn-reserve {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    .btn-reserve {
        box-shadow: 0 8px 20px rgba(59,183,126,0.35);
    }
}

.similar-doctors-section {
    padding-top: 20px;
}

.similar-doctors-title {
    font-weight: 600;
    color: var(--mirsoft-blue);
    font-size: 1.1rem;
}

/* کارت پزشک مشابه */
.similar-doctor-card {
    display: block;
    background: #fff;
    border-radius: var(--mirsoft-radius);
    box-shadow: var(--mirsoft-shadow);
    text-align: center;
    padding: 15px 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.similar-doctor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* تصویر پزشک */
.similar-doctor-avatar-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #eee;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.similar-doctor-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* نام پزشک */
.similar-doctor-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--mirsoft-blue);
    margin-bottom: 5px;
}

/* badge تخصص */
.similar-doctor-cats {
    gap: 4px;
}

.similar-doctor-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 6px;
    background: linear-gradient(135deg, var(--mirsoft-green), var(--mirsoft-blue));
    color: #fff;
    border-radius: 0.4rem;
    margin: 2px 2px 0 0;
}

/* واکنشگرایی موبایل */
@media (max-width: 767px) {
    .similar-doctor-card {
        padding: 12px 8px;
    }
    .similar-doctor-avatar-wrapper {
        width: 80px;
        height: 80px;
    }
    .similar-doctor-name {
        font-size: 0.9rem;
    }
    .similar-doctor-badge {
        font-size: 0.65rem;
        padding: 2px 5px;
    }
}
.doctor-bio p {
    font-size: 13px;
    text-align: justify;
    color: #555;
}
.doctor-booking-box {
    background: #f8f9ff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e6e8ff;
    text-align: right;
}

.doctor-booking-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c2f75;
    line-height: 1.8;
}

.booking-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #444;
}

.booking-info-item i {
    font-size: 18px;
    color: #5b61ff;
    margin-top: 2px;
}

.booking-info-item a {
    color: #444;
    text-decoration: none;
}

.booking-info-item a:hover {
    color: #5b61ff;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .doctor-booking-box {
        padding: 16px;
    }

    .doctor-booking-title {
        font-size: 15px;
    }

    .booking-info-item {
        font-size: 13px;
    }
}
.appointment-date-btn {
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    padding: 10px 12px;
    margin: 4px;
    min-width: 80px;
    text-align: center;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.appointment-date-btn small {
    display: block;
    font-size: 0.75rem;
    color: #666;
}

.appointment-date-btn:hover {
    background: #e0f7fa;
    border-color: var(--mirsoft-blue);
    color:#000;
}

.appointment-date-btn.active {
    background: var(--mirsoft-green);
    color: #fff;
}

/* دکمه‌های ساعت */
.time-btn {
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    padding: 8px 12px;
    margin: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
        color: #3f3f3f;
}

.time-btn:hover {
    background: var(--mirsoft-blue);
}

.time-btn.active {
    background: var(--mirsoft-blue);
    color: #fff;
}
.doctor-modal-info {
    display: flex;
    align-items: center;
    gap: 12px; /* فاصله بین تصویر و متن */
    margin-bottom: 20px;
}

/* تصویر دکتر */
.doctor-modal-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #26c6da; /* یک حاشیه رنگی برای جذابیت */
}

/* اطلاعات کنار تصویر */
.doctor-modal-info h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.doctor-modal-info small {
    display: block;
    font-size: 0.8rem;
    color: #666;
}

button#book-appointment {
    font-size: 14px;
    padding: 12px 30px;
}
button#reserveBtn {
    width: 100%;
    background: var(--mirsoft-blue) !important;
}
button.btn-onlineconsult {
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 14px;
}
form#online-consult-form .mir-modal-close {
    border-radius: 12px;
}
.consult-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.consult-card {
    cursor: pointer;
}

.consult-card input {
    display: none;
}

.consult-card-body {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    background: #fff;
}

.consult-card-body:hover {
    border-color: #206bc4;
    background: #f8fbff;
}

.consult-icon {
    font-size: 26px;
    color: #206bc4;
    margin-left: 12px;
}

.consult-info {
    flex: 1;
}

.consult-title {
    font-weight: 600;
}

.consult-price {
    font-size: 14px;
    color: #6b7280;
}

.consult-check {
    font-size: 20px;
    color: #206bc4;
    opacity: 0;
    transition: 0.2s;
}

.consult-card input:checked + .consult-card-body {
    border: 2px solid #206bc4;
    background: #eef6ff;
}

.consult-card input:checked + .consult-card-body .consult-check {
    opacity: 1;
}
.gateway-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gateway-card {
    cursor: pointer;
}

.gateway-card input {
    display: none;
}

.gateway-card-body {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    background: #fff;
}

.gateway-card-body:hover {
    border-color: #206bc4;
    background: #f8fbff;
}

.gateway-left {
    display: flex;
    align-items: center;
}

.gateway-title {
    font-weight: 600;
}


.gateway-check {
    font-size: 22px;
    color: #206bc4;
    opacity: 0;
    transition: 0.2s;
}

.gateway-card input:checked + .gateway-card-body {
    border: 2px solid #206bc4;
    background: #eef6ff;
}

.gateway-card input:checked + .gateway-card-body .gateway-check {
    opacity: 1;
}