.abs-calendar {
    direction: rtl;
 
    margin: 0 auto;
    font-family: inherit;
}

/* ناوبری */
.abs-nav-wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 10px;
}

.abs-prev,
.abs-next {
    padding: 6px 10px;
    border-radius: 16px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
}

/* کانتینر دو ماه */
.abs-months-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.abs-month-box {
    flex: 1;
    min-width: 260px;
}

/* سر تیتر هر ماه */
.abs-month-wrapper {
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 10px;
    background: #fafafa;
}

.abs-month-header {
    text-align: center;
    margin-bottom: 8px;
}

.abs-month-title {
    font-weight: 600;
}

/* ردیف روزهای هفته */
.abs-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11px;
    color: #999;
    margin-bottom: 6px;
}

/* شبکه روزها */
.abs-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

/* سلول‌های روز */
.abs-day {
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    background: #fff;
    min-height: 52px;
    padding: 4px 2px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.abs-day.empty {
    border: none;
    background: transparent;
    cursor: default;
}

/* شماره روز */
.abs-day-number {
    font-size: 12px;
    display: block;
}

/* قیمت */
.abs-price {
    font-size: 10px;
    color: #d32f2f;
    margin-top: 4px;
    display: block;
}

/* روزهای غیرفعال (گذشته) */
.abs-day.disabled {
    background: #f7f7f7;
    color: #bbb;
    cursor: not-allowed;
}

/* روزهای رزرو شده (خط‌دار، مثل تصویر) */
.abs-day.booked {
    background: repeating-linear-gradient(
        135deg,
        #f5f5f5,
        #f5f5f5 4px,
        #e9e9e9 4px,
        #e9e9e9 8px
    );
}

/* روز انتخاب شده / بازه */
.abs-day.selected {
    border: 2px solid #ffb300;
}
.abs-day.range {
    background: #fff8d6;
}

/* موبایل */
@media (max-width: 600px) {
    .abs-months-container {
        flex-direction: column;
    }
}



.abs-day.selected {
    background-color: #007bff !important;
    color: white;
}
.abs-day.in-range {
    background-color: #e7f1ff;
}
.abs-day {
    cursor: pointer;
    transition: 0.3s;
}
.abs-day:hover:not(.disabled):not(.booked) {
    background-color: #f0f0f0;
}


a.abs-field {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
    font-family: 'ShabnamFN';
    font-size: 14px;
}

input#checkin_jalali {
    height: 30px;
    font-family: 'ShabnamFN';
    border: solid 1px #0000002b;
    border-radius: 8px;
    text-align: center;
}

input#checkout_jalali {
    height: 30px;
    font-family: 'ShabnamFN';
    border: solid 1px #0000002b;
    border-radius: 8px;
    text-align: center;
}

.abs-field {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
    font-family: 'ShabnamFN';
    font-size: 14px;
	align-items: center;
}

input#guests {
    height: 30px;
    font-family: 'ShabnamFN';
    border: solid 1px #0000004d;
    border-radius: 8px;
    text-align: center;
    color: #72a3ce;
    font-feature-settings: "numr";
}

.sabt {
    background-color: #3eff0d9e;
    font-family: "Shabnam", Sans-serif;
    font-size: 13px;
    font-weight: 300;
    fill: #4D4747;
    color: #4D4747;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #B7B7B76E;
    border-radius: 10px 10px 10px 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}
div#abs-booking-result {
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}


select#guests {
    height: 30px;
    font-family: 'ShabnamFN';
    border: solid 1px #0000002b;
    border-radius: 8px;
    text-align: center;
}





      .abs-host-dashboard{
            direction: rtl;
            margin: 16px 0;
        }

        .abs-host-cards{
            display: grid;
            grid-template-columns: 1fr;
            gap: 14px;
        }

        .abs-host-card{
            background: #fff;
            border: 1px solid #ececec;
            border-radius: 18px;
            padding: 14px;
        
        }

        .abs-host-card-top{
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 14px;
        }

        .abs-guest-box{
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
        }

        .abs-guest-avatar img{
            width: 52px;
            height: 52px;
            border-radius: 50%;
            object-fit: cover;
            display: block;
        }

        .abs-guest-meta{
            min-width: 0;
        }

        .abs-guest-name{
            font-size: 14px;
            font-weight: 700;
            color: #222;
            margin-bottom: 4px;
        }

        .abs-guest-count{
            font-size: 12px;
            color: #777;
			font-feature-settings: "numr";
    font-family: 'ShabnamFN';
        }

        .abs-status-badge{
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 6px 10px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 700;
            white-space: nowrap;
        }

        .abs-status-badge.status-pending{
            background: #fff3cd;
            color: #8a6d3b;
        }

        .abs-status-badge.status-payment_pending,
        .abs-status-badge.status-awaiting_payment{
            background: #d9ecff;
            color: #0b5cab;
        }

        .abs-status-badge.status-approved,
        .abs-status-badge.status-paid,
        .abs-status-badge.status-reserved{
            background: #dff6e4;
            color: #1f7a38;
        }

        .abs-status-badge.status-rejected{
            background: #fde2e2;
            color: #b42318;
        }

        .abs-host-card-body{
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .abs-row{
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 10px 12px;
            background: #f8f9fb;
            border-radius: 12px;
        }

        .abs-dates-row{
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            background: transparent;
            padding: 0;
        }

        .abs-date-item{
            background: #f8f9fb;
            border-radius: 12px;
            padding: 10px 12px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .abs-label{
            font-size: 12px;
            color: #7b7b7b;
        }

        .abs-value{
            font-size: 13px;
            color: #222;
            font-weight: 400;
            word-break: break-word;
			font-feature-settings: "numr";
    font-family: 'ShabnamFN';
        }

        .abs-value a{
            color: #222;
            text-decoration: none;
        }

        .abs-price{
            color: #0f9d58;
            font-weight: 400;
			font-family: 'ShabnamFN';
			font-feature-settings: "numr";

}

        .abs-host-card-actions{
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 14px;
        }

        .abs-host-btn{
            border: 0;
            border-radius: 12px;
            padding: 12px 10px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: 0.2s ease;
        }

        .abs-host-btn:disabled{
            opacity: 0.7;
            cursor: not-allowed;
        }

        .abs-approve-btn{
            background: #16a34a;
            color: #fff;
			font-family: 'ShabnamFN';
    font-weight: 400;
        }

        .abs-reject-btn{
            background: #ef4444;
            color: #fff;
			font-family: 'ShabnamFN';
    font-weight: 400;
        }

        .abs-host-note{
            margin-top: 14px;
            padding: 12px;
            border-radius: 12px;
            background: #eef5ff;
            color: #2457a5;
            font-size: 13px;
            font-weight: 600;
        }

        .abs-host-note.success{
            background: #eaf8ee;
            color: #1f7a38;
        }

        .abs-host-note.danger{
            background: #fff1f1;
            color: #b42318;
        }

        .abs-host-empty{
            background: #fff;
            padding: 18px;
            border-radius: 16px;
            text-align: center;
            color: #666;
            border: 1px solid #ececec;
        }

        @media (max-width: 480px){
            .abs-host-card{
                padding: 12px;
                border-radius: 16px;
            }

            .abs-host-card-top{
                align-items: flex-start;
                flex-direction: column;
            }

            .abs-status-wrap{
                width: 100%;
            }

            .abs-status-badge{
                width: fit-content;
            }

            .abs-dates-row{
                grid-template-columns: 1fr;
            }

            .abs-host-card-actions{
                grid-template-columns: 1fr;
            }
        }

img.avatar.avatar-52.photo {
    border: solid 2px #28ea53;
    border-radius: 50%;
}




     .abs-guest-my-orders {
            direction: rtl;
            margin: 16px 0;
         font-family: "Shabnam", Sans-serif;
    font-feature-settings: "numr";
        }

        .abs-guest-my-orders h2 {
            font-size: 24px;
            margin-bottom: 20px;
            color: #333;
            text-align: center;
        }

        .abs-guest-orders-list {
            display: grid;
            grid-template-columns: 1fr;
            gap: 18px;
        }

        .abs-guest-order-card {
            background: #fff;
            border: 1px solid #eee;
            border-radius: 16px;
            padding: 16px;
          
            transition: transform 0.2s ease-in-out;
        }
        .abs-guest-order-card:hover {
            transform: translateY(-5px);
        }

        .abs-order-header {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding-bottom: 12px;
            margin-bottom: 14px;
            border-bottom: 1px solid #f0f0f0;
        }

        .abs-order-id {
            font-size: 16px;
            font-weight: 700;
            color: #222;
        }

        .abs-order-date {
            font-size: 13px;
            color: #777;
        }



        .abs-status-badge.status-pending { background: #fff3cd; color: #8a6d3b; }
        .abs-status-badge.status-failed { background: #fde2e2; color: #b42318; }
        .abs-status-badge.status-processing { background: #d9ecff; color: #0b5cab; }
        .abs-status-badge.status-on-hold { background: #eef5ff; color: #2457a5; }
        .abs-status-badge.status-completed { background: #dff6e4; color: #1f7a38; }


        .abs-order-body {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 16px;
        }

 
        .abs-row:has(.abs-price){
            border-left: 4px solid #0f9d58; /* تاکید روی قیمت */
        }

  



        .abs-value a {
            color: #222;
            text-decoration: none;
            font-weight: 700;
        }

        .abs-price {
            color: #0f9d58;
            font-weight: 800;
            font-size: 10px;
        }

        .abs-order-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: 10px;
            margin-top: 10px;
        }

        .abs-guest-btn {
            border: 0;
            border-radius: 12px;
            padding: 10px 18px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            text-decoration: none;
            transition: 0.2s ease;
            display: inline-block; /* برای اینکه لینک‌ها هم دکمه‌ای نمایش داده شوند */
            text-align: center;
        }

        .abs-pay-btn {
            background: #16a34a;
            color: #fff;
        }
        .abs-pay-btn:hover {
            background: #15803d;
        }

        .abs-view-btn {
            background: #f8f9fb;
            color: #222;
            border: 1px solid #e0e0e0;
        }
        .abs-view-btn:hover {
            background: #e8e8e8;
        }

        .abs-cancel-btn { /* اگر فعال شود */
            background: #fef2f2;
            color: #b91c1c;
            border: 1px solid #fecaca;
        }
        .abs-cancel-btn:hover {
            background: #fcecec;
        }

        .abs-guest-empty {
            background: #fff;
            padding: 20px;
            border-radius: 16px;
            text-align: center;
            color: #666;
            border: 1px solid #eee;
          
        }

        @media (max-width: 768px) {
            .abs-guest-order-card {
                padding: 14px;
            }
            .abs-order-header {
                flex-direction: column;
                align-items: flex-start;
            }
            .abs-order-actions {
                justify-content: center;
                width: 100%;
            }
            .abs-guest-btn {
                width: 100%;
            }
        }





/* General Panel Styles */
.abs-guest-panel {
   font-family: "Shabnam", Sans-serif;
    font-feature-settings: "numr";
    color: #333;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
   
}

.abs-notice {
    text-align: center;
    padding: 20px;
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Cards Container */
.abs-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px; /* فاصله بین کارت‌ها */
}

/* Individual Card */
.abs-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden; /* برای اینکه محتوای داخل گوشه‌های گرد قرار بگیرند */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column; /* برای اینکه محتوا زیر هم قرار بگیرد */
}

.abs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.abs-card-image {
    position: relative;
    width: 100%;
    height: 200px; /* ارتفاع ثابت برای تصویر */
    overflow: hidden;
}

.abs-villa-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* تصویر کیفیتش حفظ شود و صفحه را پر کند */
    display: block; /* حذف فضای اضافی زیر تصویر */
}

.abs-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Status Badge Colors */
.abs-status-pending { background-color: #ffc107; color: #333; } /* زرد */
.abs-status-payment_pending { background-color: #fd7e14; } /* نارنجی */
.abs-status-paid { background-color: #28a745; } /* سبز */
.abs-status-approved { background-color: #007bff; } /* آبی */
.abs-status-rejected { background-color: #dc3545; } /* قرمز */
.abs-status-cancelled { background-color: #6c757d; } /* خاکستری */

/* Card Content */
.abs-card-content {
    padding: 20px;
    flex-grow: 1; /* اجازه می‌دهد محتوا فضای باقی‌مانده را پر کند */
    display: flex;
    flex-direction: column;
}

.abs-villa-title {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #1a1a1a;
    line-height: 1.3;
}

.abs-card-info {
    margin-bottom: 20px;
    font-size: 0.95em;
    line-height: 1.6;
}

.info-item {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between; /* برای جدا کردن لیبل و مقدار */
}

.info-item .label {
    font-weight: 600;
    color: #555;
    margin-right: 10px; /* فاصله بین لیبل و مقدار */
}

.info-item .value {
    font-weight: 500;
    color: #333;
}

.info-item .price {
    font-weight: bold;
    color: #dc3545; /* رنگ قرمز برای قیمت */
    font-size: 1.1em;
}

/* Card Footer and Buttons */
.abs-card-footer {
    margin-top: auto; /* برای چسبیدن به پایین کارت */
    padding-top: 15px;
    border-top: 1px solid #eee; /* خط جداکننده */
    text-align: center;
}

.abs-btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-bottom: 10px; /* فاصله تا پیام‌های وضعیت */
}

.abs-btn-pay {
    background-color: #007bff;
    color: #fff;
}

.abs-btn-pay:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Message Styles */
.abs-msg-info,
.abs-msg-error,
.abs-msg-success {
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-weight: 500;
}

.abs-msg-info {
    background-color: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
}

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

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

.abs-order-status {
    display: block;
    font-size: 0.8em;
    color: #6c757d;
    margin-top: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .abs-guest-panel {
        padding: 15px;
    }
    .abs-cards-container {
        grid-template-columns: 1fr; /* در صفحات کوچک‌تر، کارت‌ها زیر هم قرار بگیرند */
    }
    .abs-card {
        margin-bottom: 20px;
    }
    .abs-card-image {
        height: 180px;
    }
    .abs-badge {
        top: 10px;
        right: 10px;
    }
    .abs-card-content {
        padding: 15px;
    }
    .abs-villa-title {
        font-size: 18px;
    }
    .abs-btn {
        padding: 10px 20px;
        width: 100%; /* دکمه‌ها هم عرض کارت شوند */
    }
}


  .abs-villas-container { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
        .abs-villa-item { display: flex; background: #fff; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.05);flex-direction: column; position: relative;}
        .abs-villa-img-side { width: 200px; min-width: 200px; height: 150px; position: relative; }
        .abs-villa-img-side img { width: 100%; height: 100%; object-fit: cover;max-height: 150px; }
        .abs-villa-details { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
        .abs-villa-header { display: flex; justify-content: space-between; align-items: flex-start; }
        .abs-villa-title-link { font-weight: bold; font-size: 16px; color: #333; text-decoration: none; margin-bottom: 5px; display: block; }
        .abs-villa-address { font-size: 13px; color: #666; margin-bottom: 10px; }
        .abs-villa-meta-info { display: flex; gap: 15px; font-size: 12px; color: #777; }
        .abs-villa-status-badge { padding: 3px 8px; border-radius: 4px; font-size: 11px; position: absolute;
    left: 15px;
    top: 35px; }
        .status-published { background: #e6fffa; color: #2d3748; border: 1px solid #b2f5ea; }
        .status-pending { background: #fffaf0; color: #744210; border: 1px solid #feebc8; }
        .abs-villa-price-box { text-align: left; }
        .abs-villa-price { color: #2b6cb0; font-weight: bold; }
.abs-villa-link-btn {
font-family: 'ShabnamFN';
    font-size: 12px;
    color: black;
    border: solid 1px #b5b5b58f;
    padding: 4px;
    border-radius: 25px;
}

.villa-address-div {
    background-color: #e2e2e299;
    padding: 5px;
    border-radius: 7px;
    margin-top: 2px;
    margin-bottom: 4px;
}

.maps-div {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    margin-bottom: 5px;
}

a.villa-map-btn {
    border: solid 1px blue;
    font-size: 12px;
    padding: 5px;
    margin-top: 4px;
    margin-bottom: 4px;
    border-radius: 25px;
}


.abs-day.selected {
    background: #2563eb !important;
    color: #fff;
}

.abs-day.in-range {
    background: #93c5fd !important;
    color: #000;
}

.abs-day.blocked {
    background: #ef4444 !important;
    color: #fff;
    position: relative;
}


.abs-unblock-btn {
    position: absolute;
    top: 2px;
    left: 4px;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: 18px;
}

.abs-unblock-btn:hover {
    background: rgba(0,0,0,0.6);
}



/* غیرفعال کردن کلیک و تغییر ظاهر روزهای غیرفعال، رزرو شده و مسدود شده */
.abs-day.disabled,
.abs-day.booked,
.abs-day.blocked {
    pointer-events: none; /* جلوگیری از هرگونه رویداد کلیک در مرورگر */
    opacity: 0.5;
    background-color: #f5f5f5 !important;
    color: #ccc !important;
    cursor: not-allowed;
}



/* غیرفعال کردن کلیک روی روزهای بلاک شده و رزرو شده */
.abs-day.disabled {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

/* استثنا برای پنل مالک: دکمه ضربدر حذف بلاک باید قابل کلیک باقی بماند */
.abs-day.disabled .abs-unblock-btn {
    pointer-events: auto !important; /* فعال کردن مجدد کلیک فقط روی ضربدر */
    cursor: pointer !important;
    display: inline-block;
    padding: 2px 6px;
    background-color: #ff4d4d;
    color: #fff;
    border-radius: 3px;
    margin-left: 5px;
    font-size: 12px;
}




