/*
 * Da kiem tra truc tiep tren trang song (DevTools): khung gioi han be rong
 * thuc su la div.page-content-inner cua theme (max-width: 860px), nam trong
 * div.container rong toi 1200px - tuc theme da CHUA SAN 1200px kha dung,
 * chi la template trang thuong (page-content-inner) tu gioi han lai con
 * 860px. Div.entry-content (cha truc tiep cua form) con co overflow-x:hidden
 * nen moi cach "breakout" bang margin am/100vw deu bi cat mat noi dung -
 * day la ly do cach lam truoc khong hieu qua.
 * Cach dung: no ne khong "pha" ra khoi container, ma chi noi rong lai dung
 * .page-content-inner (theo class cua theme) cho khop voi .container (1200px)
 * - CSS nay chi duoc enqueue tren dung trang co shortcode [vcna_order_form]
 * nen khong anh huong cac trang khac dung chung class nay.
 */
.page-content-inner {
	max-width: 1200px !important;
}
.vcna-order-form {
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}
.vcna-of-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 24px;
	align-items: start;
}
.vcna-of-main {
	background: var(--white, #fff);
	border: 1px solid var(--border, #e5e8f0);
	border-radius: var(--radius, 10px);
	box-shadow: var(--shadow, 0 4px 16px rgba(16, 38, 92, .08));
	padding: 28px;
}
.vcna-of-side {
	display: flex;
	flex-direction: column;
	gap: 18px;
	position: sticky;
	top: 20px;
}
.vcna-of-section { margin-bottom: 24px; }
.vcna-of-section h3 {
	display: flex;
	align-items: center;
	font-size: 16px;
	color: var(--navy, #10265c);
	margin: 0 0 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--border, #e5e8f0);
}
.vcna-of-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--orange, #f5821f);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}
.vcna-of-row { margin-bottom: 14px; }
.vcna-of-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* Cot "Kich thuoc/DVT" can nhieu cho hon (3 o so + 1 select) so voi 2 cot con
 * lai (moi cot chi 1 o so + 1 select) nen chia ty le rong hon thay vi chia
 * deu 3 phan bang nhau. */
.vcna-of-row--3 { display: grid; grid-template-columns: 0.85fr 0.85fr 1.5fr; gap: 14px; }
.vcna-of-row--locations {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
	gap: 10px;
}
.vcna-of-row[hidden] { display: none; }
.vcna-of-field { display: flex; flex-direction: column; gap: 6px; }
.vcna-of-field label { font-size: 13px; font-weight: 600; color: var(--navy, #10265c); }
.vcna-of-field .req { color: var(--orange, #f5821f); }

.vcna-of-field-group { display: flex; flex-direction: column; gap: 6px; }
.vcna-of-field-group > label { font-size: 13px; font-weight: 600; color: var(--navy, #10265c); }
.vcna-of-stop-list { display: flex; flex-direction: column; gap: 8px; }
/* Moi diem lay/giao la 1 hang ngang: o nhap dia chi (rong het co the) + cum nut
 * "+"/"x" nho ngay ben phai (thay vi nut chu to nam rieng ben duoi danh sach). */
.vcna-of-stop { display: flex; align-items: center; gap: 6px; }
.vcna-of-stop .vcna-of-autocomplete-field { flex: 1 1 auto; min-width: 0; }
.vcna-of-stop-actions { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.vcna-of-stop-icon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	flex: 0 0 auto;
	border-radius: 50%;
	font-size: 16px;
	line-height: 1;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.vcna-of-add-stop-icon {
	border: 1px dashed var(--orange, #f5821f);
	background: rgba(245, 130, 31, .08);
	color: var(--orange, #f5821f);
}
.vcna-of-add-stop-icon:hover { background: var(--orange, #f5821f); color: #fff; }
.vcna-of-remove-stop {
	border: 1px solid var(--border, #e5e8f0);
	background: var(--bg-gray, #f4f6fb);
	color: #c0392b;
	font-size: 18px;
}
.vcna-of-remove-stop:hover { background: #c0392b; border-color: #c0392b; color: #fff; }

.vcna-of-autocomplete-field { position: relative; }
.vcna-of-suggest {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 30;
	background: #fff;
	border: 1px solid var(--border, #e5e8f0);
	border-radius: 8px;
	margin-top: 4px;
	box-shadow: 0 8px 24px rgba(16, 38, 92, .14);
	max-height: 220px;
	overflow-y: auto;
}
.vcna-of-suggest-item {
	padding: 9px 12px;
	font-size: 13px;
	color: var(--navy, #10265c);
	cursor: pointer;
	border-bottom: 1px solid var(--border, #e5e8f0);
}
.vcna-of-suggest-item:last-child { border-bottom: none; }
.vcna-of-suggest-item:hover { background: var(--bg-gray, #f4f6fb); }

.vcna-order-form input[type="text"],
.vcna-order-form input[type="tel"],
.vcna-order-form input[type="number"],
.vcna-order-form input[type="date"],
.vcna-order-form select,
.vcna-order-form textarea {
	width: 100%;
	border: 1px solid var(--border, #e5e8f0);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	font-family: inherit;
	color: var(--navy, #10265c);
	background: #fff;
	/* Trinh duyet mac dinh ve input[date] cao/thap khac cac input khac tuy
	 * font-family ke thua - dat cung line-height/height voi cac o con lai
	 * (VD input[text]) de dong deu tren cung 1 hang. */
	line-height: 1.3;
}
.vcna-order-form input[type="date"]::-webkit-calendar-picker-indicator {
	cursor: pointer;
	opacity: .6;
	filter: invert(20%) sepia(54%) saturate(4997%) hue-rotate(2deg) brightness(96%) contrast(96%);
}
.vcna-order-form input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }
.vcna-order-form input:focus,
.vcna-order-form select:focus,
.vcna-order-form textarea:focus {
	outline: none;
	border-color: var(--orange, #f5821f);
}

.vcna-of-radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vcna-of-radio-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	border: 2px solid var(--border, #e5e8f0);
	border-radius: 10px;
	padding: 14px 16px 14px 40px;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.vcna-of-radio-card input[type="radio"] {
	position: absolute;
	left: 14px;
	top: 16px;
	width: 16px;
	height: 16px;
	accent-color: var(--orange, #f5821f);
}
.vcna-of-radio-title { font-size: 14px; font-weight: 700; color: var(--navy, #10265c); }
.vcna-of-radio-desc { font-size: 12px; color: #6b7690; }
.vcna-of-radio-check {
	display: none;
	position: absolute;
	top: 10px;
	right: 10px;
	width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--orange, #f5821f);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}
.vcna-of-radio-card:has(input:checked) {
	border-color: var(--orange, #f5821f);
	background: rgba(245, 130, 31, .06);
}
.vcna-of-radio-card:has(input:checked) .vcna-of-radio-check { display: flex; }
.vcna-of-radio-group.has-error .vcna-of-radio-card {
	border-color: #c0392b;
}

.vcna-of-hint {
	font-size: 12px;
	color: #6b7690;
	background: var(--bg-gray, #f4f6fb);
	border-radius: 8px;
	padding: 10px 12px;
	margin: 4px 0 0;
}

.vcna-of-extra-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px dashed var(--border, #e5e8f0);
	background: var(--bg-gray, #f4f6fb);
	color: var(--navy, #10265c);
	font-size: 13px;
	font-weight: 600;
	border-radius: 8px;
	padding: 8px 14px;
	cursor: pointer;
}
.vcna-of-extra-toggle:hover { border-color: var(--orange, #f5821f); color: var(--orange, #f5821f); }
.vcna-of-extra-toggle[aria-expanded="true"]::after { content: ''; }
.vcna-of-extra-panel {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 10px;
	padding: 12px 14px;
	background: var(--bg-gray, #f4f6fb);
	border: 1px solid var(--border, #e5e8f0);
	border-radius: 8px;
}
.vcna-of-extra-panel[hidden] { display: none; }
.vcna-of-extra-item { font-weight: 400 !important; justify-content: space-between; }
.vcna-of-extra-hint { margin-left: auto; color: var(--orange, #f5821f); font-weight: 700; font-size: 12px; }

.vcna-of-volume-readout {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(245, 130, 31, .08);
	border: 1px dashed var(--orange, #f5821f);
	border-radius: 8px;
	padding: 10px 12px;
	min-height: 42px;
	font-weight: 800;
	font-size: 15px;
	color: var(--orange, #f5821f);
}

.vcna-of-image-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.vcna-of-image-add {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 96px;
	height: 96px;
	border: 1px dashed var(--border, #e5e8f0);
	border-radius: 8px;
	background: var(--bg-gray, #f4f6fb);
	color: var(--navy, #10265c);
	cursor: pointer;
	text-align: center;
	padding: 6px;
}
.vcna-of-image-add:hover { border-color: var(--orange, #f5821f); color: var(--orange, #f5821f); }
.vcna-of-image-add-icon { font-size: 20px; font-weight: 700; line-height: 1; }
.vcna-of-image-add-text { font-size: 12px; font-weight: 600; }
.vcna-of-image-add-hint { font-size: 9px; color: #6b7690; }
.vcna-of-image-item {
	position: relative;
	width: 96px;
	height: 96px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--border, #e5e8f0);
}
.vcna-of-image-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcna-of-image-remove {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: none;
	background: rgba(0, 0, 0, .6);
	color: #fff;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
}

.vcna-of-privacy { font-size: 12px; color: #6b7690; margin: 10px 0 0; }

.vcna-of-summary {
	background: var(--white, #fff);
	border: 1px solid var(--border, #e5e8f0);
	border-radius: var(--radius, 10px);
	box-shadow: var(--shadow, 0 4px 16px rgba(16, 38, 92, .08));
	overflow: hidden;
}
.vcna-of-summary-head {
	background: var(--navy, #10265c);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	padding: 14px 16px;
	text-transform: uppercase;
	letter-spacing: .3px;
}
.vcna-of-summary-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.vcna-of-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	font-size: 13px;
	padding-bottom: 8px;
	border-bottom: 1px dashed var(--border, #e5e8f0);
}
.vcna-of-summary-row:last-child { border-bottom: none; padding-bottom: 0; }
.vcna-of-summary-row[hidden] { display: none; }
.vcna-of-summary-lbl { color: #6b7690; flex: 0 0 auto; }
.vcna-of-summary-val { color: var(--navy, #10265c); font-weight: 700; text-align: right; }

.vcna-of-price-box {
	background: rgba(245, 130, 31, .08);
	border: 1px solid var(--orange, #f5821f);
	border-radius: var(--radius, 10px);
	padding: 16px;
	text-align: center;
}
.vcna-of-price-title { font-size: 12px; font-weight: 700; color: var(--navy, #10265c); letter-spacing: .4px; }
.vcna-of-price-value { font-size: 22px; font-weight: 800; color: var(--orange, #f5821f); margin: 6px 0; }

/* Nut "Gui don hang / Yeu cau bao gia" + dong bao mat - dat LONG trong khung
 * "GIA CUOC THAM KHAO" (thay vi nam rieng duoi form) nen tu dinh nghia mau
 * doc lap voi .btn-primary/.btn-navy toan site, khop mau cam cua khung. */
.vcna-of-price-box .btn-price-submit {
	display: block;
	width: 100%;
	margin-top: 14px;
	background: var(--orange, #f5821f);
	border: 1px solid var(--orange, #f5821f);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}
.vcna-of-price-box .btn-price-submit:hover { filter: brightness(.94); }
.vcna-of-price-box .vcna-of-privacy { margin-top: 10px; }

.vcna-of-why,
.vcna-of-help {
	background: var(--white, #fff);
	border: 1px solid var(--border, #e5e8f0);
	border-radius: var(--radius, 10px);
	box-shadow: var(--shadow, 0 4px 16px rgba(16, 38, 92, .08));
	padding: 16px;
}
.vcna-of-why-head,
.vcna-of-help-head { font-weight: 700; color: var(--navy, #10265c); font-size: 14px; margin-bottom: 10px; text-transform: uppercase; }
.vcna-of-why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vcna-of-why-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--navy, #10265c); }
.vcna-of-why-check { color: #1e9e5a; font-weight: 800; flex: 0 0 auto; }
.vcna-of-help p { font-size: 13px; color: #6b7690; margin: 0 0 12px; }
.vcna-of-help-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--border, #e5e8f0);
	border-radius: 10px;
	padding: 10px 12px;
	color: var(--navy, #10265c);
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	margin-bottom: 8px;
	transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.vcna-of-help-btn:last-child { margin-bottom: 0; }
.vcna-of-help-btn:hover { transform: translateY(-1px); border-color: var(--orange, #f5821f); }
.vcna-of-help-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(245, 130, 31, .12);
	color: var(--orange, #f5821f);
}
.vcna-of-help-icon svg { width: 17px; height: 17px; fill: currentColor; }
.vcna-of-help-btn--zalo {
	background: rgba(0, 104, 255, .08);
	border-color: #0068ff;
	color: #0068ff;
}
.vcna-of-help-btn--zalo:hover { border-color: #0068ff; }
.vcna-of-help-btn--zalo .vcna-of-help-icon { background: rgba(0, 104, 255, .14); color: #0068ff; }
.vcna-of-help-text { display: flex; flex-direction: column; gap: 1px; }
.vcna-of-help-label { font-size: 11px; font-weight: 600; color: #6b7690; text-transform: uppercase; letter-spacing: .3px; }
.vcna-of-help-btn--zalo .vcna-of-help-label { color: #0068ff; opacity: .7; }

.vcna-of-vat { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vcna-of-checkbox { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy, #10265c); cursor: pointer; }
.vcna-of-checkbox input { width: 16px; height: 16px; accent-color: var(--orange, #f5821f); }
.vcna-of-vat select#vcna-vat-rate { width: auto; }

.vcna-of-inline { display: flex; gap: 8px; }
.vcna-of-inline input { flex: 1 1 0; min-width: 0; }
.vcna-of-inline select { flex: 0 0 auto; width: auto; }
.vcna-of-inline--dim input { flex: 1 1 0; min-width: 56px; }
.vcna-of-inline--dim select { flex: 0 0 68px; }
.vcna-of-inline--dim.has-error input {
	border-color: #c0392b;
	background: rgba(192, 57, 43, .05);
}

.vcna-of-estimate {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px;
	background: rgba(245, 130, 31, .08);
	border: 1px dashed var(--orange, #f5821f);
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 12px;
}
.vcna-of-estimate-label { font-size: 13px; color: var(--navy, #10265c); font-weight: 600; }
.vcna-of-estimate-distance { font-size: 12px; font-weight: 400; color: #6b7690; margin-left: 4px; }
.vcna-of-estimate-value { font-size: 16px; font-weight: 800; color: var(--orange, #f5821f); }

.vcna-of-warn {
	background: rgba(245, 130, 31, .08);
	border: 1px solid var(--orange, #f5821f);
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 18px;
}
.vcna-of-warn p { margin: 0 0 10px; font-size: 13px; color: var(--navy, #10265c); }

/* Khung "Nen chuyen bao xe" nam LONG trong hop "GIA CUOC THAM KHAO" (sidebar) -
 * bo bg/border rieng (hop cha da co san) de tranh 2 lop mau cam long nhau, chi
 * ke 1 duong phan cach mong o tren va can le trai (hop cha dang text-align:center). */
.vcna-of-price-box .vcna-of-warn {
	background: none;
	border: none;
	border-top: 1px dashed var(--orange, #f5821f);
	border-radius: 0;
	margin: 12px 0 0;
	padding: 12px 0 0;
	text-align: left;
}
.vcna-of-price-box .vcna-of-warn .btn { width: 100%; }

.vcna-of-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.vcna-of-actions .btn { flex: 1 1 auto; text-align: center; cursor: pointer; }

.vcna-of-msg { min-height: 20px; font-size: 13px; margin-top: 10px; color: #c0392b; }
.vcna-of-msg.is-success { color: #1e9e5a; }

.vcna-of-success {
	margin-top: 20px;
	padding: 20px;
	border-radius: 10px;
	background: var(--navy, #10265c);
	color: #fff;
	text-align: center;
}
.vcna-of-success h3 { color: #fff; margin: 0 0 6px; }
.vcna-of-success p { color: #cfd8ef; margin: 0 0 14px; }
.vcna-of-success-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.vcna-of-share-hint { margin-top: 12px !important; font-size: 12px; color: #cfe8ff !important; }

@media (max-width: 960px) {
	.vcna-of-layout { grid-template-columns: 1fr; }
	.vcna-of-side { position: static; }
	.vcna-of-row--3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.vcna-order-form { padding: 0 12px; }
	.vcna-of-main { padding: 18px; }
	.vcna-of-row--2 { grid-template-columns: 1fr; }
	.vcna-of-row--3 { grid-template-columns: 1fr; }
	.vcna-of-row--locations { grid-template-columns: 1fr; }
	.vcna-of-radio-group { grid-template-columns: 1fr; }
	.vcna-of-inline--dim { flex-wrap: wrap; }
	.vcna-of-actions .btn { flex: 1 1 100%; }
}
