﻿/* ANDOVER HOSPITAL Platform Core — Frontend styles. Brand: #002f6c */

.acb-single {
	max-width: 900px;
	margin: 0 auto;
	padding: 32px 20px;
}
.acb-entity__eyebrow {
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 12px;
	color: #6b7888;
	margin: 0 0 4px;
}
.acb-entity__title,
.acb-doctor__name {
	color: #002f6c;
	margin: 0 0 16px;
}
.acb-entity__media img,
.acb-doctor__photo img {
	border-radius: 16px;
	max-width: 100%;
	height: auto;
}
.acb-entity__group { margin-top: 28px; }
.acb-entity__group h2,
.acb-doctor__related h2,
.acb-doctor__list h2 {
	color: #002f6c;
	font-size: 20px;
	border-bottom: 2px solid #eaf0f8;
	padding-bottom: 6px;
}
.acb-entity__facts {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 8px 18px;
	margin: 12px 0 0;
}
.acb-entity__facts dt {
	font-weight: 600;
	color: #46566b;
}
.acb-entity__facts dd { margin: 0; color: #2b3a4d; }

/* Doctor */
.acb-doctor__header {
	display: flex;
	gap: 24px;
	align-items: center;
	flex-wrap: wrap;
}
.acb-doctor__specialty {
	color: #1f7a52;
	font-weight: 600;
	margin: 0 0 8px;
}
.acb-doctor__languages { color: #6b7888; margin: 0 0 12px; }
.acb-btn {
	display: inline-block;
	background: #002f6c;
	color: #fff;
	padding: 10px 18px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
}
.acb-btn:hover { background: #00214d; color: #fff; }
.acb-chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 12px 0 0;
}
.acb-chips li a {
	display: inline-block;
	background: #eaf0f8;
	color: #002f6c;
	padding: 6px 14px;
	border-radius: 999px;
	text-decoration: none;
}
.acb-chips li a:hover { background: #d7e2f2; }
.acb-doctor__related,
.acb-doctor__list { margin-top: 28px; }

/* Consultation lead form */
.acb-lead-form .acb-lead-msg{margin-bottom:12px;padding:11px 14px;border-radius:10px;font-size:.88rem;line-height:1.45}
.acb-lead-form .acb-lead-msg.is-ok{background:#e7f7ee;color:#0b7a43;border:1px solid #b6e6cb}
.acb-lead-form .acb-lead-msg.is-err{background:#fdecec;color:#b3261e;border:1px solid #f3c2c0}
.acb-lead-form button[disabled]{opacity:.7;cursor:progress}

/* Flagged phone + entity-bound consultation */
.acb-lead-form .iti{width:100%;display:block}
.acb-lead-form .iti__selected-dial-code{color:inherit}
.acb-lead-form .acb-lead-context{font-size:.82rem;opacity:.85;margin-bottom:10px}
.acb-consult-cta{margin-top:40px;padding:30px;border:1px solid rgba(255,255,255,.12);border-radius:22px;background:linear-gradient(135deg,#0c317f,#061a47);color:#fff;max-width:640px;box-shadow:0 20px 50px rgba(9,44,116,.18)}
.acb-consult-cta h2{margin:0 0 6px;font-size:1.35rem;color:#fff}
.acb-consult-cta p{margin:0 0 18px;color:#cfdcef;font-size:.92rem}
/* custom corporate dropdown chevron (replaces the plain native arrow) */
.acb-lead-form select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:17px;padding-right:44px}
.acb-lead-form select::-ms-expand{display:none}
/* intl-tel-input fit inside themed fields (both lead + request forms) */
.acb-lead-form .iti,.acb-req-form .iti{width:100%;display:block}
.acb-lead-form .iti input,.acb-lead-form .iti input[type=tel],.acb-req-form .iti input,.acb-req-form .iti input[type=tel]{width:100%}
.iti__flag{background-image:url("../images/flags.png")}
@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.iti__flag{background-image:url("../images/flags%402x.png")}}
/* Country dropdown — appended to <body>, styled globally; nowrap = no clipped names */
.iti__country-list{min-width:260px;max-width:none;white-space:nowrap;color:#13233c;background:#fff;box-shadow:0 18px 40px rgba(9,44,116,.18);z-index:99999;border-radius:10px}
.iti__country{white-space:nowrap;color:#13233c}
.iti__country-name{color:#13233c}
.iti__dial-code{color:#566880}
.iti__country.iti__highlight,.iti__country:hover{background:#eef3fb}
.acb-lead-form .iti--separate-dial-code .iti__selected-dial-code{color:inherit}

/* incomplete / invalid phone highlight */
.acb-lead-form input.acb-invalid{border-color:#e0584f!important;box-shadow:0 0 0 3px rgba(224,88,79,.18)!important}
.acb-req-form input.acb-invalid{border-color:#e0584f!important;box-shadow:0 0 0 3px rgba(224,88,79,.18)!important}
/* valid phone confirmation (green) */
.acb-lead-form input.acb-valid,.acb-req-form input.acb-valid{border-color:#2fa36b!important;box-shadow:0 0 0 3px rgba(47,163,107,.16)!important}

/* Searchable country dropdown (injected into intl-tel-input v17 list).
   Plain top header (NOT sticky) so it can never overlap / intercept taps on
   the country rows beneath it. */
.iti__country-list .acb-iti-search{position:relative;padding:8px;margin:0;background:#fff;border-bottom:1px solid #e6ecf5}
.iti__country-list .acb-iti-search input{width:100%;box-sizing:border-box;padding:8px 11px;border:1px solid #cfe0f7;border-radius:8px;font:inherit;font-size:14px;color:#13233c;outline:none;background:#f7faff}
.iti__country-list .acb-iti-search input:focus{border-color:#2585e8;box-shadow:0 0 0 3px rgba(37,133,232,.14);background:#fff}
.iti__country-list .acb-iti-hide{display:none!important}
.iti__country-list .acb-iti-empty{padding:12px 14px;color:#6b7c93;font-size:.86rem;text-align:center}
