﻿.tabrow {
	/*text-align: center;
	margin: 200px 0 20px;
	font-size: 12px;
	font-family: verdana;
	*/
	list-style: none;
	padding: 0;
	padding-right:10px;
	line-height: 24px;
	height: 26px;
	overflow: hidden;
	position: relative;
}

.tabrow li {
	border: 1px solid #AAA;
	background: #D1D1D1;
	background: -o-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ECECEC), to(#D1D1D1));
	background: -moz-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
	display: inline-block;
	position: relative;
	z-index: 0;
	-webkit-border-top-left-radius: 6px;
	border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	border-top-right-radius: 6px;
	-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 #FFF;
	-moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 #FFF;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 #FFF;
	text-shadow: 0 1px #FFF;
	margin: 0 -5px;
	padding: 0 20px;
	cursor: pointer;
}

.tabrow a {
	  color: #555;
	  text-decoration: none;
}

.tabrow li.selected {
	background: #FFF;
	color: #333;
	z-index: 1;
	border-bottom-color: #FFF;
	font-weight: bolder;
}

.tabrow:before {
	position: absolute;
	content: " ";
	width: 100%;
	bottom: 0;
	left: 0;
	/*border-bottom: 1px solid #AAA;*/
	z-index: 1;
}

.tabrow li:before,
.tabrow li:after {
	border: 1px solid #AAA;
	position: absolute;
	bottom: -1px;
	width: 5px;
	height: 5px;
	content: " ";
}

.tabrow li:before {
	left: -6px;
	-webkit-border-bottom-right-radius: 6px;
	border-bottom-right-radius: 6px;
	border-width: 0 1px 1px 0;
	-webkit-box-shadow: 2px 2px 0 #D1D1D1;
	-moz-box-shadow: 2px 2px 0 #D1D1D1;
	box-shadow: 2px 2px 0 #D1D1D1;
}

.tabrow li:after {
	right: -6px;
	-webkit-border-bottom-left-radius: 6px;
	border-bottom-left-radius: 6px;
	border-width: 0 0 1px 1px;
	-webkit-box-shadow: -2px 2px 0 #D1D1D1;
	-moz-box-shadow: -2px 2px 0 #D1D1D1;
	box-shadow: -2px 2px 0 #D1D1D1;
}

.tabrow li.selected:before {
	-webkit-box-shadow: 2px 2px 0 #FFF;
	-moz-box-shadow: 2px 2px 0 #FFF;
	box-shadow: 2px 2px 0 #FFF;
}

.tabrow li.selected:after {
	-webkit-box-shadow: 2px 2px 0 #FFF;
	-moz-box-shadow: 2px 2px 0 #FFF;
	box-shadow: -2px 2px 0 #FFF;
}
.receipt-wrapper {
	width: 100%;
	padding: 20px 0;
	display: flex;
	justify-content: center;
}

.receipt-card {
	width: 100%;
	max-width: 650px;
	background-color: #ffffff;
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
	font-family: Tahoma, "Vazirmatn", "B Yekan", sans-serif;
	direction: rtl;
	border: 1px solid #e2e8f0;
	overflow: hidden;
}

.receipt-header {
	background: linear-gradient(135deg, #1E88E5, #1565C0);
	color: #ffffff;
	text-align: center;
	padding: 18px;
	font-size: 15px;
	font-weight: bold;
	letter-spacing: 0.5px;
}

.receipt-body {
	padding: 20px 30px;
}

.info-row {
	display: flex;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid #f1f5f9;
}

.info-row:last-child {
	border-bottom: none;
}

.info-label {
	color: #64748b;
	font-size: 14px;
	font-weight: bold;
	width: 130px;
	flex-shrink: 0;
}

.info-label::after {
	content: " :";
	margin-right: 4px;
}

.info-value {
	color: #0f172a;
	font-size: 15px;
	font-weight: bold;
	text-align: right;
	flex-grow: 1;
	word-break: break-word;
}

.code-highlight {
	font-size: 20px !important;
	font-weight: 900 !important;
	color: #1565C0 !important;
	background-color: #ffffff;
	padding: 4px 16px;
	border-radius: 8px;
	letter-spacing: 2px;
	display: inline-block;
}

.address-box {
	text-align: center;
	padding: 20px 0 10px 0;
	color: #475569;
	font-size: 14px;
	line-height: 1.8;
}

.desc-box {
	background-color: #fffbeb;
	color: #071953;
	padding: 15px;
	border-radius: 10px;
	text-align: center;
	font-size: 14px;
	margin-top: 15px;
	border: 1px solid #fde68a;
	font-weight: bold;
}

.print-btn-wrapper {
	text-align: center;
	padding: 20px;
	background-color: #f8fafc;
	border-top: 1px dashed #cbd5e1;
}

.btn-print {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #2563eb;
	color: #ffffff;
	padding: 12px 30px;
	border-radius: 10px;
	text-decoration: none;
	font-size: 15px;
	font-weight: bold;
	transition: 0.3s;
	box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.btn-print:hover {
	background-color: #1d4ed8;
	transform: translateY(-2px);
}

.btn-print img {
	width: 20px;
	margin-left: 10px;
	filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
	.receipt-card {
		margin: 0 15px;
	}
	.receipt-body {
		padding: 15px 20px;
	}
}

@media (max-width: 480px) {
	.info-label {
		width: 100px;
		font-size: 13px;
	}
	.info-value {
		font-size: 14px;
	}
	.code-highlight {
		font-size: 18px !important;
	}
	.address-box {
		font-size: 13px;
	}
}

#Catch {
	font-family: "Vazirmatn", Tahoma;
	background: #f4f8ff;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
	max-width: 900px;
	margin: auto;
}


.tftable {
	font-size: 14px;
	color: #333;
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
}

.tftable th {
	font-size: 16px;
	background: linear-gradient(135deg, #1e88e5, #42a5f5);
	color: #fff;
	padding: 12px;
	text-align: center;
}

.tftable tr:nth-child(even) {
	background: #f1f6ff;
}

.tftable tr:hover {
	background: #e3f2fd;
	transition: 0.3s;
}

.tftable td {
	padding: 12px 14px;
	border-bottom: 1px solid #e6eefc;
	text-align: right;
}

.tftableCode {
	font-weight: 600;
	color: #0d47a1;
	font-size: 16px;
}

.tftablePrint {
	text-align: center;
}

.tftablePrint img {
	width: 36px;
	opacity: 0.85;
	transition: 0.3s;
}

.tftablePrint img:hover {
	transform: scale(1.1);
	opacity: 1;
}


.catchHeader,
.catchRecord {
	display: table;
	font-family: tahoma;
	font-size: 12px;
	direction: rtl;
	float: right;
}

.catchHeader {
	width: 35%;
}

.catchRecord {
	width: 44.5%;
}

li {
	list-style: none;
	line-height: 1.7em;
	padding-right: 3px;
}

@media (max-width: 768px) {
	#Catch {
		padding: 12px;
	}

	.tftable,
	.tftable tbody,
	.tftable tr,
	.tftable td,
	.tftable th {
		display: block;
		width: 100%;
	}

	.tftable th {
		border-radius: 8px 8px 0 0;
		margin-bottom: 8px;
	}

	.tftable tr {
		margin-bottom: 10px;
		border: 1px solid #e6eefc;
		border-radius: 8px;
		background: #fff;
	}

	.tftable td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		text-align: right;
		padding: 10px;
		font-size: 13px;
	}

	.tftable td:first-child {
		font-weight: 600;
		color: #555;
		width: 45%;
	}

	.tftable td:last-child {
		width: 55%;
		text-align: left;
	}

	.tftablePrint img {
		width: 28px;
	}
}
 .doctor-week-table {
                margin: 0px;
                border-collapse: collapse;
                border-radius: 12px;
                overflow: hidden;
                box-shadow: 0 4px 20px rgba(0, 100, 200, 0.15);
                font-family: Tahoma, Arial, sans-serif;
                font-size: 13px;
                width: 100%;
                direction: rtl;
            }
            .doctor-week-table thead tr {
                background: linear-gradient(135deg, #1565C0, #1976D2, #42A5F5);
                color: #ffffff;
            }
            .doctor-week-table thead td {
                padding: 12px 10px;
                text-align: center;
                font-weight: bold;
                font-size: 13px;
                letter-spacing: 0.3px;
                border: 1px solid rgba(255,255,255,0.2);
                white-space: nowrap;
            }
            .doctor-week-table tbody tr {
                background-color: #ffffff;
                transition: background-color 0.2s ease;
            }
            .doctor-week-table tbody tr:nth-child(even) {
                background-color: #E3F2FD;
            }
            .doctor-week-table tbody tr:hover {
                background-color: #BBDEFB;
            }
            .doctor-week-table tbody td {
                padding: 10px 10px;
                text-align: center;
                border: 1px solid #BBDEFB;
                color: #1A237E;
                vertical-align: middle;
            }
            .doctor-week-no-record td {
                text-align: center;
                padding: 50px 20px !important;
                color: #5C6BC0;
                font-size: 14px;
                background-color: #F8FBFF;
            }
			 .cards-container-wrapper {
            width: 100%;
            box-sizing: border-box;
            margin-top: 15px;
        }
        
        .modern-blue-table {
            width: 100%;
            display: block;
            border-collapse: collapse;
            font-family: Tahoma, "Vazirmatn", sans-serif;
            font-size: 13.5px;
            background: transparent;
        }
        .modern-blue-table thead {
            display: none;
        }
        
        .modern-blue-table tbody {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            width: 100%;
        }
        
        @media (min-width: 768px) {
            .modern-blue-table tbody {
                grid-template-columns: 1fr 1fr;
            }
        }
        
        @media (min-width: 1200px) {
            .modern-blue-table tbody {
                grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            }
        }
        
        .modern-blue-table tr {
            display: block;
            background-color: #ffffff;
            border: 1px solid #bae6fd;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(2, 132, 199, 0.08);
            transition: transform 0.2s, box-shadow 0.2s;
            height: 100%; 
        }
        .modern-blue-table tr:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(2, 132, 199, 0.15);
        }
        
        .modern-blue-table td {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 15px;
            border-bottom: 1px solid transparent;
            color: #334155;
            text-align: left;
            position: relative;
        }
        
        /* خط جداکننده زیبا با گرادیانت */
        .modern-blue-table td:not(:last-child)::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 10px;
            right: 10px;
            height: 1px;
            background: linear-gradient(to left, 
                transparent 0%, 
                #0ea5e9 20%, 
                #0284c7 50%, 
                #0ea5e9 80%, 
                transparent 100%
            );
            opacity: 0.3;
        }
        
        .modern-blue-table td:last-child {
            border-bottom: none;
            background-color: #f8fafc;
            justify-content: center;
            min-height: 50px; /* برای حفظ ظاهر در صورت خالی بودن دکمه */
        }
        
        .modern-blue-table td::before {
            content: attr(data-label);
            font-weight: bold;
            color: #0369a1;
            text-align: right;
            flex-shrink: 0;
            margin-left: 10px;
        }

        .status-badge {
            padding: 5px 10px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: bold;
            display: inline-block;
        }
        .status-active {
            background-color: #dcfce7;
            border: 1px solid #d5ecdd;
        }
        .status-inactive {
            background-color: #fee2e2;
            color: #991b1b;
            border: 1px solid #fecaca;
        }
        
        .btn-cancel {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            background-color: #fff1f2;
            color: #e11d48;
            border: 1px solid #fecdd3;
            padding: 8px 16px;
            border-radius: 8px;
            font-family: inherit;
            font-size: 13px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(225, 29, 72, 0.1);
        }
        .btn-cancel:hover {
            background-color: #e11d48;
            color: #ffffff;
            border-color: #e11d48;
            transform: scale(1.05);
            box-shadow: 0 4px 8px rgba(225, 29, 72, 0.25);
        }
        .btn-cancel svg {
            transition: transform 0.3s ease;
        }
        .btn-cancel:hover svg {
            transform: rotate(90deg);
        }

        .empty-row {
            display: block;
            grid-column: 1 / -1;
            text-align: center !important;
            padding: 40px !important;
            color: #64748b !important;
            font-weight: bold;
            background: #fff;
            border-radius: 12px;
            border: 1px solid #e2e8f0;
        }
        
        .ltr-time {
            direction: ltr;
            display: inline-block;
            font-weight: bold;
            color: #0f172a;
        }
        
        .text-muted {
            color: #94a3b8;
            font-size: 12px;
            font-weight: bold;
        }
		 @media screen and (max-width: 991px) {
        .sidebar-wrapper {
            display: none !important;
        }
        
        .main-content {
            width: 100% !important;
        }
    }
	.doctor-search-wrapper{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    background:#fff;
    border-radius:12px;
    padding:20px;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
    font-family:tahoma;
}
.doctor-search-row{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:16px;
}
.doctor-search-row label{
    min-width:80px;
    font-size:14px;
    color:#333;
    font-weight:500;
}
.doctor-search-row select,
.doctor-search-row input[type="button"]{
    flex:1;
    height:42px;
    border-radius:8px;
    border:1px solid #ddd;
    padding:0 12px;
    font-size:14px;
    font-family:tahoma;
}
.doctor-search-row select{
    background:#f8f9fa;
    cursor:pointer;
    transition:0.2s;
}
.doctor-search-row select:hover{
    border-color:#007bff;
}
.doctor-search-row select:focus{
    outline:none;
    border-color:#007bff;
    box-shadow:0 0 0 3px rgba(0,123,255,0.1);
}
.doctor-search-row input[type="button"]{
    background:#007bff;
    color:#fff;
    border:none;
    cursor:pointer;
    font-weight:bold;
    transition:0.3s;
}
.doctor-search-row input[type="button"]:hover{
    background:#0056b3;
	padding:
    transform:translateY(-1px);
    box-shadow:0 4px 8px rgba(0,123,255,0.3);
}
.doctor-search-row input[type="button"]:active{
    transform:translateY(0);
}


@media (max-width:768px){
    .doctor-search-wrapper{
        max-width:90%;
        padding:16px;
    }
    .doctor-search-row{
        gap:10px;
    }
    .doctor-search-row label{
        min-width:70px;
        font-size:13px;
    }
}


@media (max-width:480px){
    .doctor-search-wrapper{
        padding:12px;
        border-radius:8px;
    }
    .doctor-search-row{
        flex-direction:column;
        align-items:stretch;
        gap:8px;
        margin-bottom:12px;
    }
    .doctor-search-row label{
        width:100%;
        min-width:unset;
        margin-bottom:4px;
        font-size:13px;
    }
    .doctor-search-row select,
    .doctor-search-row input[type="button"]{
        height:44px;
        font-size:14px;
    }
}

.reserve-btn{
    color:#0b5ed7;
    font-weight:bold;
    text-decoration:none;
}

.reserve-btn:hover{
    text-decoration:underline;
}

.btn-reserve{
    display:inline-block;
    background:#1e6cff !important;
    color:#fff !important;
    padding:6px 14px;
    border-radius:18px;
    text-decoration:none;
    font-size:13px;
    font-weight:bold;
    transition:0.2s;
}

.btn-reserve:hover{
    background:#1557d6;
    color:#ffffff;
}

.action-td{
    text-align:center;
}


.show-mobile-details{
    display:none;
    margin-top:6px;
    background:#f1f6ff;
    color:#1e6cff;
    border-radius:18px;
    padding:5px 12px;
    font-size:12px;
    cursor:pointer;
    transition:0.2s;
}

.show-mobile-details:hover{
    background:#1e6cff;
    color:#fff;
}

@media (max-width:800px){

.btn-reserve{
    background:#1e6cff;
    color:#fff;
    padding:8px 18px;
    border-radius:18px;
    font-size:14px;
    font-weight:500;
    text-decoration:none;
    display:inline-block;
    transition:all .25s ease;
    box-shadow:0 3px 10px rgba(30,108,255,0.25);
}

.btn-reserve:hover{
    background:#1557d6;
    transform:translateY(-1px);
    box-shadow:0 6px 14px rgba(30,108,255,0.35);
}

.show-mobile-details{
    display:inline-block;
}

}
.reserve-card{
    max-width:600px;
    margin:20px auto;
    border:1px solid #e5e5e5;
    border-radius:10px;
    padding:20px;
    background:#fff;
    font-family:tahoma;
}

.reserve-title{
    text-align:center;
    margin-bottom:15px;
}

.reserve-row{
    display:flex;
    justify-content:space-between;
    padding:10px 0;
    border-bottom:1px solid #eee;
}

.reserve-row span{
    color:#666;
}

.reserve-row.code strong{
    color:#d32f2f;
    font-size:18px;
}

.reserve-address{
    margin-top:10px;
    color:#555;
}

.reserve-desc{
    margin-top:10px;
    background:#f5f5f5;
    padding:10px;
    border-radius:6px;
}

.reserve-print{
    text-align:center;
    margin-top:20px;
}

.reserve-print button{
    background:#1976d2;
    color:#fff;
    border:none;
    padding:10px 20px;
    border-radius:6px;
    cursor:pointer;
}

.reserve-print button:hover{
    background:#125ea9;
}

@media (max-width:600px){
    .reserve-row{
        flex-direction:column;
        gap:4px;
    }
}
/* ====================================================
   Overriding Global Styles ONLY for this specific form
   ==================================================== */

/* خنثی کردن استایل‌های قدیمی فرم و fieldset */
.reserve-title{
    font-size:16px;
    font-weight:700;
}

.reserve-title svg{
    margin-left:8px;
    vertical-align:middle;
}

form#frm_addReserve {
    --primary-blue: #2563eb;
    --primary-blue-hover: #1d4ed8;
    --light-blue: #eff6ff;
    --border-color: #cbd5e1;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-main: #ffffff;
    --bg-input: #f8fafc;
    --success-color: #10b981;
    --success-hover: #059669;
    --error-bg: #fef2f2;
    --error-text: #ef4444;
    
    background: var(--bg-main) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 30px -3px rgba(37, 99, 235, 0.1) !important;
    padding: 32px !important;
    max-width: 950px !important;
    margin: 30px auto !important;
    height: auto !important;
    direction: rtl !important;
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    box-sizing: border-box !important;
    float: none !important;
    animation: formFadeIn 0.5s ease-out !important;
}
/* --- Fieldset & Legend --- */
form#frm_addReserve fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

form#frm_addReserve fieldset legend {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box;
    background: linear-gradient(135deg, #3b82f6, var(--primary-blue));
    color: #fff;
    padding: 14px 45px 14px 18px;
    margin-bottom: 24px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.15);
    font-size: 16px;
    font-weight: 700;
    position: relative;
}

form#frm_addReserve fieldset legend::before {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10z'/%3E%3Cpath d='M11 12h2v2h2v2h-2v2h-2v-2H9v-2h2z'/%3E%3C/svg%3E");
}


form#frm_addReserve fieldset {
    background: none !important; 
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}



form#frm_addReserve ol, 
form#frm_addReserve li {
    float: none !important;
    list-style: none !important;
    margin: 0 !important;
}


form#frm_addReserve ul.tabrow {
    display: flex !important;
    border-bottom: 2px solid #e5e7eb !important;
    margin-bottom: 30px !important;
    padding: 0 !important;
    width: 100% !important;
}

form#frm_addReserve ul.tabrow li {
    padding: 12px 24px !important;
    cursor: pointer !important;
    color: #6b7280 !important;
    font-weight: bold !important;
    border-bottom: 3px solid transparent !important;
    width: auto !important;
    background: none !important;
    border-radius: 0 !important;
}

form#frm_addReserve ul.tabrow li:hover {
    color: #3b82f6 !important;
    background-color: #f8fafc !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

form#frm_addReserve ul.tabrow li.selected {
    color: #2563eb !important;
    border-bottom-color: #2563eb !important;
}

form#frm_addReserve #patientInfoTab_form ol,
form#frm_addReserve #insuranceInfo ol{
    display:grid !important;
    grid-template-columns:140px 1fr 140px 1fr !important;
    gap:15px !important;
    align-items:center !important;
    width:100% !important;
    padding:0 !important;
    margin-bottom:15px !important;
}


form#frm_addReserve li:has(> input[type="hidden"]:only-child) {
    display: none !important;
}

form#frm_addReserve #patientInfoTab_form ol li,
form#frm_addReserve #insuranceInfo ol li {
    width: 100% !important; 
    padding: 0 !important;
}


form#frm_addReserve #patientInfoTab_form ol li:nth-child(odd),
form#frm_addReserve #insuranceInfo ol li:nth-child(odd) {
    font-weight: 600 !important;
    color: #475569 !important;
    font-size: 14px !important;
}

form#frm_addReserve input[type="text"],
form#frm_addReserve select {
    padding: 8px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    color: #1e293b !important;
    background-color: #f8fafc !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

@media (max-width:768px){

form#frm_addReserve #buttons ol{
    flex-direction:column !important;
    align-items:stretch !important;
}

form#frm_addReserve #buttons input[type="button"]{
    width:100% !important;
}

}


@media (max-width:480px){

    form#frm_addReserve #patientInfoTab_form ol,
    form#frm_addReserve #insuranceInfo ol{
        grid-template-columns:1fr !important;
        gap:6px !important;
    }

    form#frm_addReserve #patientInfoTab_form ol li,
    form#frm_addReserve #insuranceInfo ol li{
        width:100% !important;
    }

}
form#frm_addReserve #patientInfoTab_form ol li:nth-child(odd),
form#frm_addReserve #insuranceInfo ol li:nth-child(odd){
    font-weight:600 !important;
    color:#475569 !important;
    font-size:14px !important;
}
form#frm_addReserve input[type="text"]:focus,
form#frm_addReserve select:focus {
    background-color: #ffffff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
    outline: none !important;
}

form#frm_addReserve input[id="address"] {
    grid-column: span 3 !important; 
}


form#frm_addReserve #comeInfoTab_form ol {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    gap: 15px !important;
    width: 100% !important;
}

form#frm_addReserve #comeInfoTab_form ol li {
    width: 100% !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 12px 15px !important;
    border-radius: 10px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
}

form#frm_addReserve #comeInfoTab_form ol li:hover {
    border-color: #3b82f6 !important;
    background-color: #eff6ff !important;
}

form#frm_addReserve ol.error{
    background-color:#fef2f2 !important;
    color:#ef4444 !important;
    border-radius:8px !important;
    padding:10px 15px !important;
    margin-bottom:20px !important;
    width:100% !important;
}
form#frm_addReserve ol.error li:empty{
    display:none !important;
}
form#frm_addReserve ol.error:not(:has(li:not(:empty))){
    display:none;
}

form#frm_addReserve #buttons ol {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin-top: 30px !important;
    padding-top: 20px !important;
    border-top: 1px solid #f1f5f9 !important;
}

form#frm_addReserve input[type="button"] {
    background: none !important; 
    box-shadow: none !important; 
    height: 45px !important;
    padding: 0 30px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    font-family: inherit !important;
    transition: all 0.3s !important;
    width: auto !important;
}

form#frm_addReserve #OKbutton {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
    border: none !important;
}

form#frm_addReserve #OKbutton:hover {
    background-color: #059669 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(16, 185, 129, 0.3) !important;
}

form#frm_addReserve #cancelButton {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
}

form#frm_addReserve #cancelButton:hover {
    background-color: #e2e8f0 !important;
    color: #1e293b !important;
}


@media (max-width: 480px) {
    form#frm_addReserve #patientInfoTab_form ol,
    form#frm_addReserve #insuranceInfo ol {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    form#frm_addReserve #buttons ol { 
        flex-direction: column-reverse !important; 
    }
    form#frm_addReserve input[type="button"] { 
        width: 100% !important; 
    }
}
@media (max-width: 1000px) {
    form#frm_addReserve #patientInfoTab_form ol,
    form#frm_addReserve #insuranceInfo ol {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    form#frm_addReserve #buttons ol { 
        flex-direction: column-reverse !important; 
    }
    form#frm_addReserve input[type="button"] { 
        width: 100% !important; 
    }
	
}
