/* AKPP77 Callback Form */

.akpp77-cb-block {
	max-width: 360px;
	width: 100%;
}

.akpp77-cb-block--button {
	max-width: none;
	display: inline-block;
}

.akpp77-cb-form--card {
	background: rgba(10, 12, 16, 0.88);
	border-radius: 12px;
	padding: 22px 20px 18px;
	box-sizing: border-box;
}

.akpp77-cb-form__title {
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 14px;
	line-height: 1.3;
}

.akpp77-cb-field {
	display: block;
	margin: 0 0 12px;
}

.akpp77-cb-phone {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	padding: 0 12px;
	min-height: 48px;
}

.akpp77-cb-phone--light {
	background: #f3f4f6;
	border-color: #e5e7eb;
}

.akpp77-cb-phone__prefix {
	flex: 0 0 auto;
	color: #9ca3af;
	font-weight: 600;
	font-size: 15px;
}

.akpp77-cb-phone--light .akpp77-cb-phone__prefix {
	color: #6b7280;
}

.akpp77-cb-phone__flag {
	width: 18px;
	height: 12px;
	border-radius: 2px;
	background: linear-gradient(
		to bottom,
		#fff 0 33%,
		#0039a6 33% 66%,
		#d52b1e 66% 100%
	);
	flex: 0 0 auto;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.akpp77-cb-input {
	flex: 1 1 auto;
	width: 100%;
	border: 0;
	background: transparent;
	color: #f3f4f6;
	font-size: 15px;
	line-height: 1.3;
	outline: none;
	padding: 12px 0;
	box-sizing: border-box;
}

.akpp77-cb-form--card .akpp77-cb-field > .akpp77-cb-input {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	padding: 12px 14px;
	min-height: 48px;
}

.akpp77-cb-phone--light .akpp77-cb-input {
	color: #111827;
}

.akpp77-cb-input::placeholder {
	color: #9ca3af;
}

.akpp77-cb-phone.is-disabled {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
}

.akpp77-cb-phone.is-disabled .akpp77-cb-input {
	cursor: not-allowed;
}

.akpp77-cb-submit,
.akpp77-cb-open-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	border: 0;
	border-radius: 8px;
	background: var(--akpp77-cb-accent, #B21900);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: filter 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
	text-decoration: none;
	box-sizing: border-box;
	padding: 0 16px;
}

.akpp77-cb-open-btn {
	width: auto;
	padding: 0 22px;
}

.akpp77-cb-submit:hover:not(:disabled),
.akpp77-cb-open-btn:hover:not(:disabled) {
	filter: brightness(0.95);
}

.akpp77-cb-submit:disabled,
.akpp77-cb-submit.is-consent-locked {
	opacity: 0.45;
	cursor: not-allowed;
	filter: none;
}

.akpp77-cb-submit:disabled[data-sending='1'] {
	opacity: 0.7;
	cursor: wait;
}

.akpp77-cb-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 12px;
	color: #9ca3af;
	font-size: 12px;
	line-height: 1.35;
	cursor: pointer;
}

.akpp77-cb-consent input {
	margin-top: 2px;
	flex: 0 0 auto;
}

.akpp77-cb-consent a {
	color: var(--akpp77-cb-accent, #B21900);
	text-decoration: underline;
}

.akpp77-cb-consent--modal {
	color: #6b7280;
}

.akpp77-cb-consent--modal a {
	color: #111827;
}

.akpp77-cb-msg {
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.4;
}

.akpp77-cb-msg.is-ok {
	color: #059669;
}

.akpp77-cb-msg.is-err {
	color: #dc2626;
}

.akpp77-cb-form--card .akpp77-cb-msg.is-ok {
	color: #34d399;
}

.akpp77-cb-form--card .akpp77-cb-msg.is-err {
	color: #fca5a5;
}

.akpp77-cb-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

/* Overlay / modal */
.akpp77-cb-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 12vh 16px 24px;
	box-sizing: border-box;
}

.akpp77-cb-overlay[hidden] {
	display: none !important;
}

html.akpp77-cb-lock,
html.akpp77-cb-lock body {
	overflow: hidden;
}

.akpp77-cb-modal {
	position: relative;
	width: 100%;
	max-width: 360px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
	padding: 28px 24px 22px;
	box-sizing: border-box;
}

.akpp77-cb-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: transparent;
	color: #9ca3af;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}

.akpp77-cb-modal__title {
	margin: 0 0 6px;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 700;
	color: #111827;
	padding-right: 24px;
}

.akpp77-cb-modal__hours {
	margin: 0 0 16px;
	font-size: 14px;
	color: #6b7280;
}

.akpp77-cb-time {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.akpp77-cb-select,
.akpp77-cb-time-input {
	border: 1px solid #e5e7eb;
	background: #f9fafb;
	border-radius: 8px;
	min-height: 42px;
	padding: 0 10px;
	font-size: 14px;
	color: #111827;
}

.akpp77-cb-select {
	flex: 1 1 auto;
}

.akpp77-cb-time__at {
	color: #6b7280;
	font-size: 14px;
}

.akpp77-cb-time-input {
	flex: 0 0 auto;
	width: 110px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

@media (max-width: 480px) {
	.akpp77-cb-overlay {
		padding-top: 10vh;
	}

	.akpp77-cb-modal {
		padding: 24px 18px 18px;
	}
}
