@font-face {
    font-family: 'Vazir-Normal';
    src: url('fonts/Vazir-Normal.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
.sab-radio-options, .sab-checkbox-options {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
}
.sab-radio-container, .sab-checkbox-container {
    background: rgb(138 138 138 / 5%);
    padding: 5px 20px;
    border-radius: 8px;
    border: 1px solid rgb(138 138 138 / 13%);
    margin: 20px 0;
}
.sab-radio-option,
.sab-checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sab-radio-option input[type="radio"],
.sab-checkbox-option input[type="checkbox"] {
    margin: 0;
}

.sab-radio-option label,
.sab-checkbox-option label {
    margin: 0;
    cursor: pointer;
}

.sab-select-wrapper {
    width: 100%;
}

.sab-select {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
    direction: rtl;
}

.sab-upload-btn .dashicons-upload {
    font-family: "Dashicons";
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 1;
}
.sab-custom-upload {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #83838314;
    padding: 5px 5px 5px 20px;
    border-radius: 5px;
}

.sab-upload-btn {
    background-color: #0073aa;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.sab-upload-btn:hover {
    background-color: #005d87;
}

.sab-file-name {
    font-size: 12px;
}
.sab-file-upload-container {
    display: flex;
    gap: 10px;
}
.price-input {
   
}
.sab-file-upload-container .upld {
    width: 100%;
}
#sab-captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

#sab-captcha-canvas {
    border: 1px solid #ccc;
    border-radius: 5px;
}
.refresh-btn {
	background: none;
    color: inherit;
	text-decoration: unset;
	height: 20px;
}
.full-width {
    width: 100%;
}
.ltr{
    direction: ltr;
}
.success, .sab-message, #sab-appointment-form, .nobatplus-field,.times-container,#sab-appointment-form select,#sab-appointment-form input[type="text"] {
	font-family: 'Vazir-Normal';
}
#sab-appointment-form {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
	align-items: baseline;
	row-gap: 10px;
}
#sab-appointment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
	margin-top: 10px;
	font-family: 'Vazir-Normal';
	
}
#sab-mobile, #sab-email, #sab-appointment-form select, #sab-appointment-form input[type="text"], .sab-select-button {
    width: 100%;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px 15px;
}

#sab-message {
    margin-top: 15px;
    border-radius: 3px;
}
#sab-message .success {
    background-color: #dff0d8;
    color: #3c763d;
	padding: 15px;
	border-radius: 5px;
}
#sab-message .error {
    background-color: #f2dede;
    color: #a94442;
	padding: 20px;
}
#sab-date-select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
}
.sab-radio-group {
    margin-bottom: 15px;
}
.sab-radio-group label.booked {
    opacity: 0.5;
    text-decoration: line-through;
}
.sab-radio-group label.booked input {
    pointer-events: none;
}
.sab-radio-group {
    margin-bottom: 15px;
}
.booked {
    opacity: 0.1;
    text-decoration: line-through;
}
input[type="radio" i]:disabled {
	opacity: 0.5;
}
.booked input {

    pointer-events: none;
}
#sab-times {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    grid-gap: 5px 10px;
    margin-bottom: 20px;
}
.rdio-tim {
	padding: 15px;
    border-radius: 3px;
    border: 1px solid #90909033;
    line-height: 1;
    flex: 1;
    min-width: 90px;
}
.nobat-days-circle {
    vertical-align: middle;
    margin: 5px;
}
.nobatplus-field {
    width: 48%;
}
.times-container{
    width: 100%;
}
.label-booked{
	text-decoration: line-through;
}
#sab-days {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-gap: 5px 10px;
    margin-bottom: 20px;
}
.nobat-days {
    padding: 0;
    font-size: 14px;
    text-align: right;
    margin: 0 !important;
}
.nobatplus-field {
    width: 100%;
}
.seperate {
	margin: 15px 0;
}
.remove-cart-item {
    width: 20px;
    height: 20px;
    padding: 0;
    font-size: 16px;
    border: 1px solid #ff0000;
    color: #ff0000;
    text-decoration: none;
    margin-left: 10px;
    border-radius: 3px;
    line-height: 20px;
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    vertical-align: middle;
}
.remove-cart-item {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.remove-cart-item:hover {
    background-color: #ffe6e6;
    color: #ff0000;
    text-decoration: none;
}

.passed-date {
    opacity: 0.5;
    cursor: not-allowed;
}

.passed-date input {
    cursor: not-allowed;
}
.swal2-popup {
	font-family: 'Vazir-Normal';
}
.upld {
    width: 100% !important;
    padding: 12px !important;
    border-radius: 5px !important;
    background: rgb(139 139 139 / 9%) !important;
    height: 45px !important;
	font-weight: 400!important;
    font-size: 14px!important;
    line-height: 14px!important;
    font-family: tahoma!important;
    color: inherit!important;
}
.field-description {
    font-size: 0.9em;
	padding-right: 5px;
}
.sab-field {
    margin-bottom:5px;
}
.sab-date-radio-group {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(160px, 2fr));
gap: 8px;
max-height: 90vh;
overflow-y: auto;
padding: 5px 10px;
direction: rtl;
align-items: baseline;
}

.sab-select-button:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
    color: rgb(140 140 140 / 51%);
}

.selected-value {
    display: block;
    margin-top: 5px;
    color: #666;
}		
.nobat-days {
    font-family: 'Vazir-Normal';
    display: flex;
    align-items: center;
    border: 1px solid #c1c1c1;
    border-radius: 5px;
    padding: 7px;
    transition: all 0.3s ease;
}
.nobat-days:hover {
    background: rgba(131, 131, 131, 0.06);  
}
.sab-time-radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 3fr));
    gap: 5px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 5px;
    direction: rtl;
}        
.sab-time-radio-group label {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    margin: 0;
    font-family: 'Vazir-Normal';
}
.sab-date-radio-group label:hover,
.sab-time-radio-group label:not(.label-booked):hover {
    background-color: #f8f9fa;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sab-date-radio-group input[type="radio"],
.sab-time-radio-group input[type="radio"] {
    margin-left: 5px;
    margin-top: -3px;
}
        
.label-booked {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5 !important;
    border-color: #ddd !important;
}

.label-available {
    background-color: #fff;
}

.label-available:hover {
    background-color: #f8f9fa;
}

.selected-value {
    color: #28a745;
    font-weight: bold;
    margin-top: 8px;
    display: block;
}

.swal2-popup {
    width: auto !important;
    min-width: 60em;
    max-width: 90vw;
    padding: 20px;
}

.swal2-title {
    padding: 10px 0 20px;
    font-size: 1.5em;
    font-family: 'Vazir-Normal';
}

.sab-date-radio-group::-webkit-scrollbar,
.sab-time-radio-group::-webkit-scrollbar {
    width: 8px;
}

.sab-date-radio-group::-webkit-scrollbar-track,
.sab-time-radio-group::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.sab-date-radio-group::-webkit-scrollbar-thumb,
.sab-time-radio-group::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.sab-date-radio-group::-webkit-scrollbar-thumb:hover,
.sab-time-radio-group::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.sab-select-button {
    border-radius: 4px;
    padding: 10px 16px;
    cursor: pointer;
    width: 100%;
    text-align: right;
    position: relative;
    transition: all 0.3s ease;
    background: #fff;	
    color: #000;
    font-size: 16px;
    line-height: 16px;	
}

.sab-select-button:hover:not(:disabled) {
    opacity: 0.7;
    color: #000;
}

.sab-select-button:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
}
.sab-field .button {font-family: 'Vazir-Normal';}

.submit-container {
	width: 100%;
    display: flex;
    justify-content: flex-end;
    
}
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm), .plus-button {
    border-radius: 3px;
    background: #2872fa;
    color: #fff;
    padding: 0.3em 1em;
    border: 0;
    font-size: 1.125rem;
    line-height: 1.6;
    display: inline-block;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2sease;
    box-shadow: 0px 0px 0px -7px rgba(0, 0, 0, 0);
	font-family: 'Vazir-Normal';
}
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel)  {
    border-radius: 3px;
    background: #6e7881;
    color: #fff;
    padding: 0.3em 1em;
    border: 0;
    font-size: 1.125rem;
    line-height: 1.6;
    display: inline-block;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2sease;
    box-shadow: 0px 0px 0px -7px rgba(0, 0, 0, 0);	
}
.plus-button:hover {
    background: #3b5e9e;
}
/* Mobile Styles*/
@media screen and (max-width: 768px) {
    .sab-date-radio-group {
        grid-template-columns: repeat(auto-fill, minmax(130px, 2fr));
    }
    .sab-time-radio-group {
        grid-template-columns: repeat(auto-fill, minmax(90px, 3fr));
    }
    .swal2-html-container {padding:0 !important}
    .swal2-popup {
        padding: 10px;
        min-width: unset;
        width: 95vw !important;
        max-width: 95vw;
    }
}
@media (max-width:479px) {
    .sab-file-upload-container {
    flex-direction: column;
    }
    #sab-appointment-form label {
    width: 47%;
    }    
    #sab-times {
    display: flex;
    padding: 20px 0;
    border-radius: 10px;
    flex-wrap: wrap;
    align-items: center;
	column-gap: 5px;
    }
    #sab-days {
	display: flex;
    column-gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    justify-content: space-between;    
    }
    .nobat-days-circle {
    vertical-align: middle;
    margin: 2px;
    }   
	.rdio-tim {
	 width: 48%;
	}
	.sab-field {
	width: 100% !important;
	margin: 10px 0;
	}
	.nobat-days {
    width: 145px;
    font-size: 12px;
	}
	#sab-times {
    justify-content: space-between;
	}
	.capcha {
		width: 48% !important;
		height: 55px !important;
	}
	.full-width {
    width: 100%!important;
	}
	#sab-captcha-container {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 15px;
        flex-wrap: wrap;
        justify-content: flex-start;
        flex-direction: row-reverse;
	}
	#sab-captcha-canvas {
		border: 1px solid #ccc;
		border-radius: 5px;
	}
}