/*
 * MBBS Admissions & Appointment System
 * Responsive form UI for mbbsinchina.pk
 */

.mbbs-system-wrap{
	width:min(1100px,calc(100% - 30px));
	margin:48px auto 70px;
	color:#17313d;
	font-family:inherit;
}

.mbbs-form-hero{
	padding:34px 36px;
	border-radius:26px;
	background:linear-gradient(135deg,#063e54,#075d48);
	color:#fff;
	box-shadow:0 18px 45px rgba(5,61,82,.16);
}

.mbbs-form-hero .mbbs-page-heading{
	margin:4px 0 10px;
	color:#fff;
	font-size:clamp(32px,5vw,52px);
	line-height:1.04;
}

.mbbs-form-hero p{
	max-width:820px;
	margin:0;
	color:rgba(255,255,255,.9);
	font-size:16px;
	line-height:1.65;
}

.mbbs-kicker{
	margin:0 0 5px!important;
	color:#ffd47d!important;
	font-size:12px!important;
	font-weight:900;
	letter-spacing:.1em;
	text-transform:uppercase;
}

.mbbs-form-card{
	margin-top:22px;
	padding:30px;
	border:1px solid #dbe6e9;
	border-radius:24px;
	background:#fff;
	box-shadow:0 16px 42px rgba(12,52,68,.08);
}

.mbbs-section-head{
	display:flex;
	align-items:flex-start;
	gap:12px;
	margin:30px 0 16px;
	padding-top:24px;
	border-top:1px solid #e7eef0;
}

.mbbs-section-head:first-of-type{
	margin-top:0;
	padding-top:0;
	border-top:0;
}

.mbbs-section-head>span{
	display:flex;
	align-items:center;
	justify-content:center;
	flex:0 0 36px;
	width:36px;
	height:36px;
	border-radius:10px;
	background:#0a6e4b;
	color:#fff;
	font-weight:900;
}

.mbbs-section-head h2{
	margin:0 0 3px;
	color:#073e53;
	font-size:22px;
}

.mbbs-section-head p{
	margin:0;
	color:#65767e;
	font-size:13px;
}

.mbbs-grid{
	display:grid;
	gap:15px;
}

.mbbs-grid--2{
	grid-template-columns:repeat(2,minmax(0,1fr));
}

.mbbs-field{
	display:flex;
	flex-direction:column;
	gap:7px;
	min-width:0;
}

.mbbs-field--wide{
	grid-column:1/-1;
	margin-top:14px;
}

.mbbs-field>span{
	color:#26444f;
	font-size:13px;
	font-weight:800;
}

.mbbs-field b{
	color:#d44c35;
}

.mbbs-field input,
.mbbs-field select,
.mbbs-field textarea{
	width:100%;
	box-sizing:border-box;
	min-height:48px;
	padding:11px 13px;
	border:1px solid #cbd9dd;
	border-radius:11px;
	background:#fff;
	color:#17313d;
	font:inherit;
	font-size:14px;
	outline:none;
	transition:border .15s ease,box-shadow .15s ease;
}

.mbbs-field textarea{
	resize:vertical;
	min-height:110px;
}

.mbbs-field input:focus,
.mbbs-field select:focus,
.mbbs-field textarea:focus{
	border-color:#0a7750;
	box-shadow:0 0 0 3px rgba(10,119,80,.11);
}

.mbbs-upload-grid{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:10px;
}

.mbbs-upload{
	display:flex;
	flex-direction:column;
	gap:7px;
	padding:14px;
	border:1px dashed #b9ccd1;
	border-radius:13px;
	background:#f8fbfc;
}

.mbbs-upload strong{
	color:#173e50;
	font-size:13px;
}

.mbbs-upload small{
	color:#718188;
	font-size:11px;
}

.mbbs-upload input{
	font-size:12px;
}

.mbbs-consent{
	display:flex;
	align-items:flex-start;
	gap:10px;
	margin-top:18px;
	padding:14px;
	border-radius:12px;
	background:#f7faf9;
	color:#53666e;
	font-size:12px;
	line-height:1.5;
}

.mbbs-consent input{
	flex:0 0 auto;
	margin-top:3px;
}

.mbbs-form-actions{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	margin-top:20px;
}

.mbbs-primary-button,
.mbbs-secondary-button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:50px;
	box-sizing:border-box;
	padding:12px 20px;
	border-radius:12px;
	font:inherit;
	font-size:14px;
	font-weight:850;
	text-decoration:none!important;
	cursor:pointer;
}

.mbbs-primary-button{
	border:0;
	background:#087b4f;
	color:#fff!important;
	box-shadow:0 9px 22px rgba(8,123,79,.2);
}

.mbbs-primary-button:hover{
	background:#066c45;
}

.mbbs-secondary-button{
	border:1px solid #c9d9dd;
	background:#fff;
	color:#174456!important;
}

.mbbs-form-alert{
	margin:18px 0 0;
	padding:13px 15px;
	border-radius:11px;
	font-size:13px;
	font-weight:700;
}

.mbbs-form-alert--error{
	border:1px solid #f2c5bb;
	background:#fff4f1;
	color:#8c3425;
}

.mbbs-hp{
	position:absolute!important;
	left:-9999px!important;
	width:1px!important;
	height:1px!important;
	overflow:hidden!important;
}

.mbbs-booking-rules{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:9px;
	margin-top:20px;
}

.mbbs-booking-rules div{
	padding:12px 14px;
	border:1px solid rgba(255,255,255,.15);
	border-radius:12px;
	background:rgba(255,255,255,.08);
}

.mbbs-booking-rules strong,
.mbbs-booking-rules span{
	display:block;
}

.mbbs-booking-rules strong{
	color:#fff;
	font-size:14px;
}

.mbbs-booking-rules span{
	margin-top:2px;
	color:rgba(255,255,255,.7);
	font-size:11px;
}

.mbbs-slot-area{
	margin:20px 0 6px;
	padding:18px;
	border:1px solid #d9e5e8;
	border-radius:16px;
	background:#f8fbfb;
}

.mbbs-slot-heading{
	display:flex;
	justify-content:space-between;
	gap:15px;
	margin-bottom:12px;
}

.mbbs-slot-heading strong{
	color:#0b455b;
}

.mbbs-slot-heading span,
.mbbs-slot-message{
	color:#697b82;
	font-size:12px;
}

.mbbs-slot-buttons{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:10px;
	margin-top:12px;
}

.mbbs-slot-button{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
	min-height:58px;
	padding:12px 14px;
	border:1px solid #c6d9dd;
	border-radius:12px;
	background:#fff;
	color:#174456;
	font:inherit;
	font-size:13px;
	font-weight:800;
	cursor:pointer;
}

.mbbs-slot-button small{
	color:#688087;
	font-size:10px;
	font-weight:700;
}

.mbbs-slot-button.is-selected{
	border-color:#07804e;
	background:#eaf8f1;
	color:#06653f;
	box-shadow:0 0 0 2px rgba(7,128,78,.08);
}

.mbbs-slot-button[disabled]{
	cursor:not-allowed;
	opacity:.55;
	background:#f1f3f4;
}

.mbbs-success-card{
	max-width:720px;
	margin:40px auto;
	padding:38px;
	border:1px solid #d7e7df;
	border-radius:26px;
	background:#fff;
	text-align:center;
	box-shadow:0 18px 50px rgba(11,74,55,.1);
}

.mbbs-success-card h2{
	margin:7px 0 12px;
	color:#073f54;
	font-size:30px;
}

.mbbs-success-card p{
	color:#61747b;
	line-height:1.6;
}

.mbbs-success-icon{
	display:flex;
	align-items:center;
	justify-content:center;
	width:58px;
	height:58px;
	margin:0 auto 13px;
	border-radius:50%;
	background:#e8f7ef;
	color:#087b4f;
	font-size:28px;
	font-weight:900;
}

.mbbs-reference{
	display:inline-block;
	margin:8px 0 14px;
	padding:9px 13px;
	border-radius:9px;
	background:#073f54;
	color:#fff;
	font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
	font-size:15px;
	font-weight:800;
	letter-spacing:.04em;
}

@media(max-width:760px){
	.mbbs-system-wrap{
		width:min(100% - 18px,1100px);
		margin:24px auto 45px;
	}
	.mbbs-form-hero{
		padding:25px 20px;
		border-radius:20px;
	}
	.mbbs-form-card{
		padding:18px 15px;
		border-radius:18px;
	}
	.mbbs-grid--2,
	.mbbs-upload-grid,
	.mbbs-booking-rules{
		grid-template-columns:1fr;
	}
	.mbbs-slot-buttons{
		grid-template-columns:1fr;
	}
	.mbbs-form-actions{
		flex-direction:column;
	}
	.mbbs-primary-button,
	.mbbs-secondary-button{
		width:100%;
	}
	.mbbs-slot-heading{
		flex-direction:column;
		gap:3px;
	}
}

@media(max-width:380px){
	.mbbs-system-wrap{
		width:calc(100% - 12px);
	}
	.mbbs-form-hero,
	.mbbs-form-card{
		padding-left:12px;
		padding-right:12px;
	}
}

