/**
 * Tiger Front-end Account — theme-neutral, low-specificity form styling.
 * Brand-scoped class names so themes can safely override.
 */
.tiger-account {
	max-width: 420px;
	margin: 0 auto 1.5em;
}

.tiger-account--register {
	margin-top: 1.5em;
}

.tiger-account__form {
	display: flex;
	flex-direction: column;
	gap: 1em;
	padding: 1.5em;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 10px;
	background: #fff;
}

.tiger-account__field {
	display: flex;
	flex-direction: column;
	gap: .35em;
	margin: 0;
	position: relative;
}

.tiger-account__field label {
	font-weight: 600;
	font-size: .9em;
}

.tiger-account__field input[type="text"],
.tiger-account__field input[type="email"],
.tiger-account__field input[type="password"],
.tiger-account__field input[type="tel"],
.tiger-account__field select,
.tiger-account__field textarea {
	width: 100%;
	padding: .6em .75em;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	box-sizing: border-box;
	font: inherit;
}

.tiger-account__field input:focus,
.tiger-account__field select:focus,
.tiger-account__field textarea:focus {
	outline: none;
	border-color: var(--tiger-account-accent, #ec7002);
	box-shadow: 0 0 0 3px rgba(236, 112, 2, .15);
}

/* Two-column field pairing (name, city/postcode); collapses on narrow screens. */
.tiger-account__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1em;
}

@media ( max-width: 480px ) {
	.tiger-account__row {
		grid-template-columns: 1fr;
	}
}

.tiger-account__field--inline {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	font-size: .9em;
}

.tiger-account__field--inline label {
	font-weight: 400;
}

.tiger-account__field--password .tiger-account__toggle {
	position: absolute;
	right: .5em;
	top: 2em;
	width: 1.6em;
	height: 1.6em;
	border: 0;
	background: transparent;
	cursor: pointer;
	opacity: .55;
}

.tiger-account__field--password .tiger-account__toggle::before {
	content: "\1F441"; /* eye */
}

.tiger-account__button {
	width: 100%;
	padding: .7em 1em;
	border: 0;
	border-radius: 6px;
	background: var(--tiger-account-accent, #ec7002);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: filter .15s ease;
}

.tiger-account__button:hover {
	filter: brightness(.92);
}

.tiger-account__fieldset {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 1em;
	margin: 0;
}

.tiger-account__fieldset legend {
	font-weight: 600;
	padding: 0 .4em;
}

.tiger-account__hint {
	margin: 0;
	font-size: .82em;
	color: #6b7280;
}

.tiger-account__match {
	font-size: .82em;
}

.tiger-account__match.is-bad { color: #b91c1c; }
.tiger-account__match.is-ok  { color: #15803d; }

.tiger-account__logout {
	display: inline-block;
	margin-top: .5em;
	font-size: .9em;
}

/* Honeypot — kept out of view but reachable by bots that ignore CSS. */
.tiger-account__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.tiger-account-notice {
	padding: .75em 1em;
	border-radius: 6px;
	margin-bottom: 1em;
	font-size: .92em;
}

.tiger-account-notice--error {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.tiger-account-notice--success {
	background: #f0fdf4;
	color: #15803d;
	border: 1px solid #bbf7d0;
}
