/* Road Tax Service — themed to brand colour #265A8A.
   Background is transparent so the form sits cleanly inside the Elementor hero. */
.rts-app {
	--rts-primary: #265A8A;       /* brand / theme colour — all accents */
	--rts-primary-dark: #1d4870;  /* hover */
	--rts-card: #ffffff;
	--rts-border: #e2e8ef;
	--rts-text: #16202b;
	--rts-muted: #5c6670;
	--rts-plate: #f4d11e;         /* number-plate yellow */
	--rts-error: #b3261e;         /* warning red (error messages only) */

	max-width: 560px;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--rts-text);
}

/* === LOADER FIX ===
   Makes the [hidden] attribute win over any display rule, so the spinner
   only shows while a request is actually running. */
.rts-app [hidden] { display: none !important; }

/* ---------- Step 1: plate + button row ---------- */
.rts-reg-row {
	display: flex;
	gap: 14px;
	align-items: stretch;
	flex-wrap: wrap;
}

.rts-plate {
	display: flex;
	align-items: stretch;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, .15);
	background: var(--rts-plate);
	flex: 1 1 280px;
	min-width: 240px;
}
.rts-plate__flag {
	background: var(--rts-primary);
	color: #fff;
	display: flex;
	align-items: center;
	padding: 0 12px;
	font-weight: 700;
	font-size: .7rem;
	letter-spacing: 1px;
}
.rts-plate__input {
	flex: 1;
	border: 0;
	background: var(--rts-plate);
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: center;
	padding: 14px 8px;
	color: #1a1a1a;
}
.rts-plate__input::placeholder { color: #8a8358; opacity: 1; }
.rts-plate__input:focus { outline: none; }

.rts-btn {
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: background .15s ease, transform .05s ease;
}
.rts-btn:active:not(:disabled) { transform: translateY(1px); }
.rts-btn:disabled { opacity: .5; cursor: not-allowed; }

.rts-btn--check {
	flex: 0 0 auto;
	padding: 0 30px;
	background: var(--rts-primary);
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
}
.rts-btn--check:hover { background: var(--rts-primary-dark); }

/* DVLA verification line */
.rts-verify {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	color: var(--rts-muted);
	font-size: .9rem;
}
.rts-verify__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--rts-primary);
	color: #fff;
	font-size: .65rem;
	font-weight: 700;
}

/* ---------- Step 2: confirm + options ---------- */
.rts-heading { font-size: 1.25rem; margin: 0 0 4px; font-weight: 700; }
.rts-heading--sm { margin-top: 22px; }
.rts-sub { color: var(--rts-muted); margin: 0 0 14px; }
.rts-sub--note { font-size: .85rem; }

.rts-back {
	background: none; border: 0; color: var(--rts-muted);
	cursor: pointer; padding: 0; margin-bottom: 14px; font-size: .9rem;
}

.rts-vehicle-card {
	display: flex; align-items: center; gap: 14px;
	background: var(--rts-card);
	border: 1px solid var(--rts-border);
	border-radius: 12px;
	padding: 14px 16px;
}
.rts-vehicle-card__plate {
	background: var(--rts-plate); color: #111;
	font-weight: 800; letter-spacing: 1px;
	padding: 8px 12px; border-radius: 6px;
}
.rts-vehicle-card__details { display: flex; flex-direction: column; }
.rts-vehicle-card__details span { color: var(--rts-muted); font-size: .85rem; }

.rts-options { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 18px; }
.rts-option {
	display: flex; justify-content: space-between; align-items: center;
	width: 100%; text-align: left;
	background: var(--rts-card);
	border: 2px solid var(--rts-border);
	border-radius: 12px;
	padding: 14px 16px;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.rts-option:hover { border-color: var(--rts-primary); }
.rts-option.is-selected {
	border-color: var(--rts-primary);
	box-shadow: 0 0 0 3px rgba(38, 90, 138, .15);
}
.rts-option__label { font-weight: 600; display: flex; flex-direction: column; color: var(--rts-text); }
.rts-option__price { font-weight: 700; text-align: right; display: flex; flex-direction: column; color: var(--rts-text); }
.rts-option__label small,
.rts-option__price small { color: var(--rts-muted); font-weight: 400; font-size: .78rem; }

.rts-btn--primary {
	width: 100%;
	padding: 14px 18px;
	background: var(--rts-primary);
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
}
.rts-btn--primary:hover:not(:disabled) { background: var(--rts-primary-dark); }

.rts-error { color: var(--rts-error); margin: 12px 0 0; font-size: .9rem; }

/* ---------- Spinner ---------- */
.rts-spinner { display: flex; justify-content: center; padding: 18px; }
.rts-spinner span {
	width: 28px; height: 28px; border-radius: 50%;
	border: 3px solid var(--rts-border);
	border-top-color: var(--rts-primary);
	animation: rts-spin .8s linear infinite;
}
@keyframes rts-spin { to { transform: rotate(360deg); } }
.rts-app { padding:0 !important; margin:0 !important; }
.rts-app [hidden] { display: none !important; }
.rts-reg-row { display: flex; }
.rts-plate { margin-bottom:0 !important; width:50%; }
.rts-btn { width: auto !important; margin: 10px; background-color: #265A8A !important; color: white; }
.rts-verify { margin-top:10px !important; display:flex; }
.rts-verify__icon {
	background-color: #265A8A;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.rts-verify__icon+span {
    padding-left: 0px;
    position: relative;
    bottom: 0;
    color: #265A8A !important;
    font-weight: bold;
}
/* .rts-verify > span { color: #265A8A !important; } */
.nav-item:hover .ekit-menu-nav-link { color: #265A8A !important; }
/* .ekit-menu-nav-link { padding:0 !important; margin: 0 20px; } */
.ekit-menu-nav-link:hover { 
	color: #265A8A !important;
    border-bottom: 1px solid #265A8A; 
}
.rts-lookup-btn:hover, button:hover {
	background-color: #265A8A !important;
}
[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    background-color: #265A8A !important;
    color: #fff;
    text-decoration: none;
}
.sp-testimonial-client-rating i.fa-star {
    color: #265A8A !important;
}
.elementor-element-ba94721 .elementor-button-link {
	padding: 20px 48px;
}
.tsi svg path{
	fill: #82827F !important;
}
.rts-option__label,
.rts-option__price {
	color: var(--rts-text);
}
.rts-option__label small,
.rts-option__price small {
	color: var(--rts-muted);
}
[type=button], [type=submit], button{
/* 	color: #82827F !important; */
}
@media(max-width:768px) {
	.sp-testimonial-item {
    padding: 20px !important;
    margin: 10px !important;
    max-width: 100% !important;
}
	.rts-reg-row {
    display: block !important;
}
	.rts-plate{
		width: 100% !important;
	}
	.rts-btn {
    width: 100% !important;
		margin: 10px 0;
	}
}

.rts-dd-fields {
	border: 1px solid #e2e8ef;
	border-radius: 12px;
	padding: 18px;
	margin: 18px 0;
	background: #fff;
}
.rts-dd-fields h3 { color: #265A8A; margin-top: 0; }
.rts-dd-note { font-size: .85rem; color: #5c6670; margin-bottom: 14px; }