﻿﻿.service-card {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.service-card.selected img {
    border: 5px solid #008000;
    border-radius: 50%;
}

    display: none;
    margin-top: 10px;
    font-weight: bold;
    color: #007bff;
}

.nav-link {
    width: 250px;
}

    .nav-link.disabled {
        pointer-events: none;
        opacity: 0.5;
    }

.personnel-card.selected img {
    border: 5px solid #008000;
    border-radius: 50%;
}

img.card-img-top {
    height: 150px;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 5px;
}

.personImg {
    height: 150px;
    width: 150px;
    border-radius: 50%;
}

.serviceImg {
    height: 150px;
    border-radius: 50%;
}

.personcard {
    border: none;
}

.custom-card {
    border: none;
}
/* استایل برای موبایل */
@media (max-width: 576px) {
    img.card-img-top {
        height: 250px !important;
        width: 100%;
        object-fit: cover;
        object-position: center center;
        border-radius: 5px;
    }
}


/* استایل برای تب‌ها */
.nav-tabs {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 20px;
}

/* استایل برای هر تب */
.nav-item .nav-link {
    border: 1px solid transparent;
    border-radius: 5px 5px 0 0;
    padding: 10px 20px;
    font-size: 16px;
    color: #6c757d;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

    /* استایل برای تب فعال */
    .nav-item .nav-link.active {
        color: #fff;
        background-color: #019141;
       font-weight: bold;
    }

    /* استایل برای تب غیرفعال */
    .nav-item .nav-link.disabled {
        color: #adb5bd;
        background-color: #f8f9fa;
        cursor: not-allowed;
        pointer-events: none;
        color: black;
    }

    /* استایل برای تب hover */
    .nav-item .nav-link:hover {
        background-color: #e9ecef;
        border-color: #ddd;
    }

/* استایل برای محدوده زیر هر تب */
.nav-tabs .nav-item:not(:first-child) .nav-link {
    margin-left: -1px;
}


/* استایل برای کادر تب‌ها */
.nav-tabs {
    display: flex;
    justify-content: space-around;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #e0b1c6;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}



/* استایل برای تب غیرفعال */
.nav-item .nav-link.disabled {
    color: #adb5bd;
    background-color: #f8f9fa;
    cursor: not-allowed;
    pointer-events: none;
}

/* استایل برای تب hover */
.nav-item .nav-link:hover {
    background-color: #e9ecef;
    border-color: #ddd;
}

/* استایل برای فضای بین تب‌ها */
.nav-tabs .nav-item:not(:first-child) .nav-link {
    margin-left: -1px;
}

/* استایل برای کادر محتوای هر تب */
.tab-content {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
}

/* استایل برای هر بخش از محتوا */
.tab-pane {
    display: none;
}

    /* وقتی یک تب فعال است، محتوای آن نمایش داده می‌شود */
    .tab-pane.active {
        display: block;
    }

    /* استایل برای محتواهای غیرفعال */
    .tab-pane.disabled {
        display: none;
        opacity: 0.6;
    }





/* بهبود نمای تب فعال و محتوای آن */
.nav-tabs .nav-link.active {
    color: #fff;
    background-color: #575756;
	background-color: #e0b1c6 !important;
    font-weight: bold;
   
}

@media (max-width: 576px) {
    .nav-item {
        width: 50%;
        padding: 5px;
    }

        .nav-item .nav-link {
            width: 100%;
        }
}
.custom-margin.btn.btn-primary {
  background-color: #003222;
}
.btn {
    background-color: #e0b1c6 !important;
}







/*کد جدید برای جدول اخر نوبت*/

/* ========== Final Step (Telefon / Name / Email) ========== */

/* کل تب فاینال مثل یک کارت تمیز */
#final {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    padding: 22px 22px 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,.05);
}

/* عنوان */
#final h3{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
}

/* جدول خلاصه رزرو */
#final .table{
    margin: 10px 0 18px;
    border-radius: 12px;
    overflow: hidden; /* برای رند شدن گوشه‌ها */
    background: #fff;
}

#final .table thead th{
    background: #fafafa;
    font-weight: 700;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

#final .table td, 
#final .table th{
    padding: 12px 14px;
    vertical-align: middle;
}

/* فیلدها */
#final .form-label{
    font-weight: 700;
    margin-bottom: 6px;
}

#final .form-control{
    border-radius: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(0,0,0,.12);
    transition: box-shadow .2s ease, border-color .2s ease, transform .08s ease;
    background: #fff;
}

#final .form-control:focus{
    border-color: rgba(0,0,0,.25);
    box-shadow: 0 0 0 .22rem rgba(0,0,0,.06); /* رنگ خنثی؛ سازمانی دکمه‌ها دست نمی‌خوره */
}

/* پیام خطاها بهتر دیده شوند */
#final .text-danger{
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
}

/* بخش پایین (چک‌باکس + دکمه‌ها) */
#final .text-end.mt-3{
    border-top: 1px dashed rgba(0,0,0,.10);
    padding-top: 16px;
    margin-top: 10px !important;
}

/* چک‌باکس بزرگتر و مرتب‌تر */
#final .form-check{
    background: #fff7fb;          /* هم‌خانواده با تم صورتی ولی خیلی ملایم */
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    padding: 14px 14px 10px;
    margin-bottom: 12px;
}

#final .form-check-input{
    cursor: pointer;
}

#final .form-check-label{
    line-height: 1.6;
    margin-top: 12px !important;
}

/* لینک AGB */
#final .form-check-label a{
    text-decoration: none;
    border-bottom: 1px dotted rgba(0,0,0,.35);
}
#final .form-check-label a:hover{
    border-bottom-style: solid;
}

/* باکس نمایش AGB (همون displayAGB) */
#displayAGB{
    margin-top: 10px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    padding: 12px 12px;
    box-shadow: 0 8px 18px rgba(0,0,0,.04);
}

#displayAGB strong{
    display: inline-block;
    margin-bottom: 6px;
}

/* خطای تایید قوانین */
#confirmError{
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(220,53,69,.08);
    border: 1px solid rgba(220,53,69,.18);
}

/* دکمه‌ها: رنگ سازمانی حفظ می‌شود، فقط شکل/سایه/تعامل بهتر */
#final .btn{
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 700;
    transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
    box-shadow: 0 10px 18px rgba(0,0,0,.06);
}

#final .btn:hover{
    filter: brightness(0.98);
    box-shadow: 0 14px 22px rgba(0,0,0,.10);
}

#final .btn:active{
    transform: translateY(1px);
}

/* چیدمان دکمه‌ها در موبایل */
@media (max-width: 576px){
    #final .text-end.mt-3{
        text-align: left !important;
    }
    #final #toPreviousSummary,
    #final #submit{
        width: 100%;
        margin: 6px 0;
        float: none !important;
    }
}











