.awr-wrap {
	max-width: 720px;
	margin: 0 auto;
	background: #141414;
	color: #f5f5f5;
	padding: 24px;
	border-radius: 10px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.awr-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	flex-wrap: wrap;
	gap: 10px;
}

.awr-title-block {
	margin-bottom: 18px;
}

.awr-title {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 6px;
	color: #ffffff;
}

.awr-subtitle {
	margin: 0;
	color: #a3a3a3;
	font-size: 14px;
}

.awr-title-block .awr-subtitle {
	margin: 0;
}

.awr-btn-register {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: transparent;
	color: #ffffff !important;
	padding: 0 20px;
	height: 46px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	border: 1px solid #3a3a3a;
	cursor: pointer;
	font-family: inherit;
	white-space: nowrap;
	box-sizing: border-box;
}

.awr-btn-register:hover {
	border-color: #555555;
	color: #ffffff !important;
}

.awr-search-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.awr-input {
	flex: 1;
	min-width: 0;
	height: 46px;
	background: #1a1a1a;
	border: 1px solid var(--awr-primary, #2dd4bf);
	color: var(--awr-input-text, #f5f5f5);
	padding: 0 14px;
	border-radius: 8px;
	font-size: 15px;
	box-sizing: border-box;
}

.awr-input::placeholder {
	color: var(--awr-input-placeholder, #737373);
	opacity: 1;
}

.awr-input:focus {
	outline: none;
	box-shadow: 0 0 0 2px var(--awr-primary, #2dd4bf);
}

.awr-btn-search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: red;
	color: white;
	border: none;
	padding: 0 22px;
	height: 46px;
	border-radius: 8px;
	font-weight: 700;
	cursor: pointer;
	font-size: 14px;
	white-space: nowrap;
	box-sizing: border-box;
}

.awr-btn-search:hover {
	opacity: 0.9;
}

.awr-verify-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	background: #1a1a1a;
	border: 1px solid #3a3a3a;
	border-radius: 8px;
	color: #ffffff;
	box-sizing: border-box;
}

.awr-result-box {
	background: #2b2410;
	border: 1px solid #ca8a04;
	color: #fde68a;
	padding: 14px 16px;
	border-radius: 8px;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.awr-result-box.awr-success {
	background: #0f2b1c;
	border-color: #16a34a;
	color: #bbf7d0;
}

/* ---------------- RESULT ANIMATION ---------------- */
.awr-anim-in {
	animation: awr-pop-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes awr-pop-in {
	0% {
		opacity: 0;
		transform: translateY(10px) scale(0.96);
	}
	60% {
		opacity: 1;
		transform: translateY(-2px) scale(1.01);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.awr-result-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	min-width: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	animation: awr-icon-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;
}

.awr-result-icon svg {
	width: 15px;
	height: 15px;
}

.awr-result-box.awr-success .awr-result-icon {
	background: rgba(22, 163, 74, 0.18);
}

@keyframes awr-icon-pop {
	0% {
		opacity: 0;
		transform: scale(0.3);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

.awr-card {
	background: #1a1a1a;
	border: 1px solid #2a2a2a;
	border-radius: 10px;
	padding: 18px 20px;
}

.awr-card-row {
	animation: awr-row-in 0.35s ease both;
}

.awr-card-subheading {
	margin: 18px 0 10px;
	padding-top: 14px;
	border-top: 1px solid #2a2a2a;
	color: var(--awr-primary, #2dd4bf);
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.awr-card-images {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 16px;
	margin-top: 4px;
}

.awr-card-image-item {
	display: flex;
	flex-direction: column;
	animation: awr-pop-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
	background: #1f1f1f;
	border: 1px solid #2a2a2a;
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.awr-card-image-item:hover {
	border-color: var(--awr-primary, #2dd4bf);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.awr-card-image-item:nth-child(1) { animation-delay: 0.05s; }
.awr-card-image-item:nth-child(2) { animation-delay: 0.1s; }
.awr-card-image-item:nth-child(3) { animation-delay: 0.15s; }
.awr-card-image-item:nth-child(4) { animation-delay: 0.2s; }
.awr-card-image-item:nth-child(5) { animation-delay: 0.25s; }

.awr-card-image-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	cursor: zoom-in;
	overflow: hidden;
	background: #141414;
	display: block;
	border: none;
	padding: 0;
}

.awr-card-image-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.awr-card-image-item:hover .awr-card-image-frame img {
	transform: scale(1.08);
}

.awr-card-image-zoom {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.25);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.awr-card-image-item:hover .awr-card-image-zoom {
	opacity: 1;
}

.awr-card-image-zoom svg {
	width: 22px;
	height: 22px;
	color: #fff;
}

.awr-card-image-label {
	display: block;
	padding: 8px 10px;
	font-size: 12px;
	color: #d4d4d4;
	text-align: center;
	border-top: 1px solid #2a2a2a;
	background: #1a1a1a;
}

/* ---------------- IMAGE LIGHTBOX ---------------- */
.awr-lightbox-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	animation: awr-fade-in 0.2s ease both;
}

@keyframes awr-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.awr-lightbox-overlay img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	animation: awr-pop-in 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.awr-lightbox-close {
	position: fixed;
	top: 18px;
	right: 24px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: none;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.awr-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.22);
}

.awr-card-row:nth-child(1) { animation-delay: 0.03s; }
.awr-card-row:nth-child(2) { animation-delay: 0.06s; }
.awr-card-row:nth-child(3) { animation-delay: 0.09s; }
.awr-card-row:nth-child(4) { animation-delay: 0.12s; }
.awr-card-row:nth-child(5) { animation-delay: 0.15s; }
.awr-card-row:nth-child(6) { animation-delay: 0.18s; }
.awr-card-row:nth-child(7) { animation-delay: 0.21s; }
.awr-card-row:nth-child(8) { animation-delay: 0.24s; }
.awr-card-row:nth-child(9) { animation-delay: 0.27s; }

@keyframes awr-row-in {
	0% {
		opacity: 0;
		transform: translateX(-6px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

.awr-card h4 {
	margin: 0 0 12px;
	color: var(--awr-primary, #2dd4bf);
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.awr-card-check-icon {
	width: 22px;
	height: 22px;
	min-width: 22px;
	background: rgba(45, 212, 191, 0.15);
	color: var(--awr-primary, #2dd4bf);
}

.awr-card-check-icon svg {
	width: 13px;
	height: 13px;
}

.awr-card-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #262626;
	font-size: 14px;
}

.awr-card-row:last-child {
	border-bottom: none;
}

.awr-card-row span:first-child {
	color: #a3a3a3;
}

.awr-card-row span:last-child {
	font-weight: 600;
	color: #f5f5f5;
}

/* ---------- Register Form ---------- */

.awr-register-wrap {
	max-width: 620px;
}

.awr-section-title {
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	margin: 24px 0 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid #2a2a2a;
}

.awr-dealer-info-box {
	background: #1a1a1a;
	border: 1px solid #2a2a2a;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 6px;
}

.awr-dealer-info-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid #262626;
	font-size: 14px;
}

.awr-dealer-info-row:last-child {
	border-bottom: none;
}

.awr-dealer-info-row span:first-child {
	color: #a3a3a3;
}

.awr-dealer-info-row span:last-child {
	color: #fff;
	font-weight: 600;
	text-align: right;
}

.awr-dealer-info-note {
	margin: 8px 0 0;
	font-size: 12px;
	color: #737373;
}

.awr-field {
	margin-bottom: 16px;
}

.awr-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
	color: #f5f5f5;
}

.awr-required {
	color: #ef4444;
}

.awr-field input[type="text"],
.awr-field input[type="email"],
.awr-field input[type="tel"],
.awr-field input[type="date"],
.awr-field select {
	width: 100%;
	background: #1a1a1a;
	border: 1px solid #333333;
	color: var(--awr-input-text, #f5f5f5);
	padding: 10px 12px;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
}

.awr-field input::placeholder {
	color: var(--awr-input-placeholder, #737373);
	opacity: 1;
}

/* File upload fields - front/back image style */
.awr-field input[type="file"] {
	width: 100%;
	box-sizing: border-box;
	background: #1a1a1a;
	border: 1px dashed #3a3a3a;
	color: #a3a3a3;
	padding: 18px 14px;
	border-radius: 8px;
	font-size: 13px;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.awr-field input[type="file"]:hover {
	border-color: var(--awr-primary, #2dd4bf);
}

.awr-field input[type="file"]::file-selector-button {
	background: var(--awr-primary, #2dd4bf);
	color: #0a0a0a;
	border: none;
	padding: 7px 14px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 12px;
	margin-right: 12px;
	cursor: pointer;
}

.awr-upload-group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 16px;
}

.awr-upload-group .awr-field {
	margin-bottom: 0;
}

.awr-field input:focus,
.awr-field select:focus {
	outline: none;
	border-color: var(--awr-primary, #2dd4bf);
}

.awr-field small {
	display: block;
	margin-top: 4px;
	color: #737373;
	font-size: 12px;
}

.awr-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

/* ---------- Header Nav Auth Button ---------- */

.awr-nav-auth-group {
	display: inline-flex;
	gap: 8px;
}

.awr-nav-btn,
.awr-nav-logout {
	display: inline-block;
	background: var(--awr-nav-btn-bg, #2dd4bf);
	color: var(--awr-nav-btn-text, #0a0a0a) !important;
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 13px;
	text-decoration: none !important;
	white-space: nowrap;
	border: none;
	cursor: pointer;
	font-family: inherit;
}

.awr-nav-btn-alt {
	background: transparent;
	border: 1px solid var(--awr-nav-btn-bg, #2dd4bf);
	color: var(--awr-nav-btn-bg, #2dd4bf) !important;
}

.awr-nav-auth-item {
	list-style: none;
	display: inline-flex;
	align-items: center;
	margin-left: 10px;
}

/* ---------- Dealer Auth (Login / Register - stacked) ---------- */

.awr-auth-wrap {
	max-width: 460px;
}

.awr-auth-divider {
	display: flex;
	align-items: center;
	text-align: center;
	color: #737373;
	font-size: 12px;
	margin: 22px 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.awr-auth-divider::before,
.awr-auth-divider::after {
	content: '';
	flex: 1;
	border-bottom: 1px solid #2a2a2a;
}

.awr-auth-divider span {
	padding: 0 12px;
	white-space: nowrap;
}

/* ---------- Popup Modal ---------- */

.awr-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 99999;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	overflow-y: auto;
	padding: 40px 16px;
	box-sizing: border-box;
}

.awr-modal-box {
	position: relative;
	width: 100%;
	max-width: 460px;
	margin: auto;
}

.awr-modal-box .awr-wrap {
	max-width: 100%;
}

.awr-modal-close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--awr-primary, #2dd4bf);
	color: #0a0a0a;
	border: none;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
	font-weight: 700;
}

/* ---------- Responsive ---------- */

@media (max-width: 782px) {
	.awr-wrap {
		padding: 18px;
		border-radius: 0;
	}

	.awr-header-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.awr-btn-register {
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}

	.awr-two-col {
		grid-template-columns: 1fr;
	}

	.awr-upload-group {
		grid-template-columns: 1fr;
	}

	.awr-search-row {
		flex-direction: column;
		align-items: stretch;
	}

	.awr-search-row .awr-input,
	.awr-search-row .awr-btn-search,
	.awr-search-row .awr-btn-register {
		width: 100%;
	}

	.awr-btn-search {
		padding: 12px;
	}

	.awr-card-row {
		flex-direction: column;
		gap: 2px;
	}

	.awr-nav-auth-group {
		flex-wrap: wrap;
	}
}

@media (max-width: 480px) {
	.awr-title {
		font-size: 19px;
	}

	.awr-modal-overlay {
		padding: 20px 12px;
	}
}

.awr-btn-submit {
	background: var(--awr-btn-bg, #2563eb);
	color: var(--awr-btn-text, #ffffff);
	border: none;
	padding: 12px 26px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	width: 100%;
}

.awr-btn-submit:hover {
	opacity: 0.92;
}

.awr-btn-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}



/* Force all AWR input typed text white */
.awr-input,
.awr-field input,
.awr-field select,
.awr-search-row input {
	color: #ffffff !important;
	caret-color: #ffffff;
}

/* Keep placeholder grey */
.awr-input::placeholder,
.awr-field input::placeholder {
	color: #737373 !important;
}

/* Browser autofill fix (Chrome) */
.awr-input:-webkit-autofill,
.awr-field input:-webkit-autofill {
	-webkit-text-fill-color: #ffffff !important;
	box-shadow: 0 0 0px 1000px #1a1a1a inset !important;
}