/* Customer sign in / register pages */

.account-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 30px;
	max-width: 1000px;
	margin: 0 auto;
}

@media (min-width: 992px) {
	.account-wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; }
}

.account-card {
	border: 1px solid var(--color-gray-300, #dfe3e8);
	border-radius: 16px;
	background: #fff;
	padding: 40px;
}

@media (max-width: 575px) {
	.account-card { padding: 24px 16px; }
}

.account-card h3 { padding-bottom: 6px; }

.account-sub { color: var(--color-gray-600, #637381); padding-bottom: 28px; }

.account-form { display: flex; flex-direction: column; gap: 18px; }

.account-field label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	padding-bottom: 6px;
	color: var(--color-gray-800, #212b36);
}

.account-input {
	position: relative;
}

.account-input input {
	width: 100%;
	border: 1px solid var(--color-gray-300, #dfe3e8);
	border-radius: 80px;
	padding: 13px 18px;
	font-size: 16px; /* 16px stops iOS zooming into the field */
	background: #fff;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.account-input input:focus {
	border-color: var(--color-primary, #3498db);
	box-shadow: 0 0 0 3px rgba(52, 152, 219, .18);
}

.account-input input[aria-invalid="true"] {
	border-color: var(--color-error, #cb0233);
}

.account-input .toggle-pass {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--color-gray-600, #637381);
	cursor: pointer;
	background: transparent;
	border: 0;
}

.account-input .toggle-pass:hover { background: rgba(145, 158, 171, .12); }

.account-input input.has-toggle { padding-right: 52px; }

.account-hint { font-size: 13px; color: var(--color-gray-600, #637381); padding-top: 6px; }

.account-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.account-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--color-primary, #3498db); }
.account-check a { color: var(--color-primary, #3498db); font-weight: 600; }

.account-submit { width: 100%; justify-content: center; padding-top: 14px; padding-bottom: 14px; border-radius: 80px; }
.account-submit[disabled] { opacity: .65; cursor: wait; }

.account-alert {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 20px;
}

.account-alert.error { background: var(--color-error-lighter, #fcd1ca); color: var(--color-error-dark, #ae013c); }
.account-alert.success { background: var(--color-success-lighter, #e9fcd4); color: var(--color-success-dark, #229a16); }
.account-alert i { font-size: 20px; line-height: 20px; flex: none; }

.account-alt { text-align: center; padding-top: 24px; font-size: 15px; }
.account-alt a, .account-link { color: var(--color-primary, #3498db); font-weight: 700; }
.account-alt a:hover, .account-link:hover { text-decoration: underline; }

.account-perks {
	border-radius: 16px;
	background: var(--color-primary-lighter, #b9e9ff);
	padding: 40px 32px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.account-perks h4 { padding-bottom: 4px; }

.account-perk { display: flex; gap: 14px; align-items: flex-start; }
.account-perk span {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}
.account-perk h6 { padding-bottom: 2px; }
.account-perk p { font-size: 14px; }
