/* Marcom Plan Enquiry Popup - Black & White */

.mc-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .72);
	z-index: 999999;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 24px 16px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.mc-overlay.mc-open { display: flex; }

.mc-modal {
	position: relative;
	background: #fff;
	width: 100%;
	max-width: 560px;
	margin: auto;
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
	animation: mcIn .25s ease;
    font-family: "Urbanist", Sans-serif;
}

@keyframes mcIn {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: none; }
}

.mc-overlay .mc-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid #111 !important;
	border-radius: 50%;
	background: #fff !important;
	color: #111 !important;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.mc-overlay .mc-close:hover {
	background: #111 !important;
	color: #fff !important;
}

.mc-head {
	padding: 24px 26px 16px;
	border-bottom: 1px solid #e2e2e2;
}
.mc-head h3 {
	margin: 0 0 6px;
	font-size: 22px;
	line-height: 1.25;
	color: #111;
	font-weight: 700;
}
.mc-head p {
	margin: 0;
	font-size: 14px;
	color: #666;
	line-height: 1.5;
}

.mc-body { padding: 20px 26px 26px; }

.mc-row { display: flex; gap: 14px; flex-wrap: wrap; }

.mc-field {
	margin-bottom: 14px;
	flex: 1 1 220px;
	min-width: 0;
}
.mc-field.mc-full { flex: 1 1 100%; width: 100%; }

.mc-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #111;
	margin-bottom: 6px;
}
.mc-field label span { color: #111; }

.mc-field input,
.mc-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 13px;
	border: 1px solid #c9c9c9;
	border-radius: 8px;
	font-size: 15px;
	color: #111;
	background: #fff;
	    font-family: "Urbanist", Sans-serif;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}
.mc-field textarea { min-height: 110px; resize: vertical; }
.mc-field input[readonly] { background: #f2f2f2; color: #444; cursor: default; }

.mc-field input:focus,
.mc-field textarea:focus {
	border-color: #111;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, .12);
}
.mc-field input.mc-invalid,
.mc-field textarea.mc-invalid {
	border-color: #111;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, .18);
	background: #f7f7f7;
}

/* ---------- Phone field with country picker ---------- */
.mc-phone {
	position: relative;
	display: flex;
	align-items: stretch;
	border: 1px solid #c9c9c9;
	border-radius: 8px;
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.mc-phone.mc-focus {
	border-color: #111;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, .12);
}
.mc-phone.mc-invalid {
	border-color: #111;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, .18);
	background: #f7f7f7;
}

.mc-phone .mc-cc-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 10px;
	margin: 0;
	border: 0;
	border-right: 1px solid #e2e2e2;
	border-radius: 8px 0 0 8px;
	background: #f7f7f7;
	color: #111;
	font-size: 14px;
	    font-family: "Urbanist", Sans-serif;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
	transition: background .2s;
}
.mc-phone .mc-cc-btn:hover { background: #ebebeb; color:#000; }
.mc-phone .mc-cc-flag { font-size: 0px; line-height: 1; }
.mc-phone .mc-cc-dial { font-weight: 600; }
.mc-phone .mc-cc-caret { font-size: 10px; color: #555; }

.mc-phone input.mc-phone-input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	border: 0 !important;
	border-radius: 0 8px 8px 0;
	background: transparent !important;
	box-shadow: none !important;
	padding: 11px 13px;
}
.mc-phone input.mc-phone-input:focus {
	border: 0 !important;
	box-shadow: none !important;
}

.mc-cc-drop {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	width: 100%;
	min-width: 250px;
	background: #fff;
	border: 1px solid #c9c9c9;
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
	z-index: 10;
	overflow: hidden;
}
.mc-cc-drop.mc-open { display: block; }

.mc-cc-drop .mc-cc-search {
	width: 100%;
	box-sizing: border-box;
	border: 0;
	border-bottom: 1px solid #e2e2e2;
	border-radius: 0;
	padding: 10px 12px;
	font-size: 14px;
	    font-family: "Urbanist", Sans-serif;
	color: #111;
	outline: none;
	background: #fff;
}

.mc-cc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 220px;
	overflow-y: auto;
}
.mc-cc-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	font-size: 14px;
	color: #111;
	cursor: pointer;
	margin: 0;
	list-style: none;
}
.mc-cc-list li:hover,
.mc-cc-list li.mc-active { background: #f2f2f2; }
.mc-cc-list li.mc-selected { background: #111; color: #fff; }
.mc-cc-list li .mc-cc-name { flex: 1 1 auto; }
.mc-cc-list li .mc-cc-code { color: #666; font-size: 13px; }
.mc-cc-list li.mc-selected .mc-cc-code { color: #ddd; }
.mc-cc-list li.mc-cc-empty {
	color: #666;
	cursor: default;
	justify-content: center;
}
.mc-cc-list li.mc-cc-empty:hover { background: #fff; }

.mc-hint {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.4;
	color: #666;
}
.mc-hint.mc-hint-err { color: #111; font-weight: 600; }

.mc-hp { position: absolute !important; left: -9999px !important; }

.mc-body .mc-submit {
	width: 100%;
	padding: 14px;
	border: 1px solid #111 !important;
	border-radius: 8px;
	background: #111 !important;
	color: #fff !important;
	font-size: 16px;
	font-weight: 600;
	    font-family: "Urbanist", Sans-serif;
	cursor: pointer;
	transition: background .2s, color .2s, opacity .2s;
}
.mc-body .mc-submit:hover {
	background: #fff !important;
	color: #111 !important;
}
.mc-body .mc-submit[disabled] { opacity: .6; cursor: not-allowed; }

.mc-note {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.5;
	display: none;
	padding: 11px 13px;
	border-radius: 8px;
}
.mc-note.ok  { display: block; background: #f2f2f2; color: #111; border: 1px solid #111; }
.mc-note.err { display: block; background: #fff; color: #111; border: 1px solid #111; font-weight: 600; }

body.mc-lock { overflow: hidden; }

@media (max-width: 600px) {
	.mc-overlay { padding: 14px 12px; }
	.mc-head { padding: 20px 18px 14px; }
	.mc-head h3 { font-size: 19px; }
	.mc-body { padding: 18px; }
	.mc-field { flex: 1 1 100%; }
	.mc-body .mc-submit { padding: 13px; font-size: 15px; }
	.mc-cc-drop { min-width: 100%; }
}
