/* [geno-auth] shortcode styles */

.geno-auth-wrap,
.geno-auth-wrap * {
	font-family: 'Century Gothic', Helvetica, Arial, Lucida, sans-serif !important;
	box-sizing: border-box;
}

/* ── Card ── */
.geno-auth-form {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	background: #ffffff;
	border-radius: 16px;
	padding: 44px 48px 40px;
	box-shadow: 0 4px 32px rgba( 0, 0, 0, 0.08 );
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* ── Field ── */
.geno-auth-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.geno-auth-label {
	font-size: 14px;
	font-weight: 600 !important;
	color: #101828 !important;
}

.geno-auth-label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.geno-auth-forgot {
	font-size: 13px;
	color: #c41230 !important;
	text-decoration: none !important;
	font-weight: 500 !important;
}

.geno-auth-forgot:hover {
	text-decoration: underline !important;
}

/* ── Input wrap ── */
.geno-auth-input-wrap {
	display: flex;
	align-items: center;
	gap: 0;
	border: 1.5px solid #e0dbd6;
	border-radius: 10px;
	background: #ffffff;
	transition: border-color 0.18s, box-shadow 0.18s;
	overflow: hidden;
}

.geno-auth-input-wrap:focus-within {
	border-color: #c41230;
	box-shadow: 0 0 0 3px rgba( 196, 18, 48, 0.1 );
}

.geno-auth-icon {
	display: flex;
	align-items: center;
	padding: 0 12px;
	color: #aaa;
	flex-shrink: 0;
}

.geno-auth-input-wrap:focus-within .geno-auth-icon {
	color: #c41230;
}

.geno-auth-input {
	flex: 1;
	border: none !important;
	outline: none !important;
	background: transparent !important;
	padding: 13px 10px 13px 0 !important;
	font-size: 15px !important;
	color: #101828 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	-webkit-appearance: none;
	appearance: none;
}

.geno-auth-input::placeholder {
	color: #bbb !important;
}

/* ── Password toggle button ── */
.geno-auth-pw-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: none !important;
	background: transparent !important;
	color: #aaa;
	cursor: pointer;
	flex-shrink: 0;
	padding: 0 !important;
	transition: color 0.15s;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.geno-auth-pw-toggle:hover {
	color: #c41230;
}

/* ── Password hint ── */
.geno-auth-hint {
	margin: 0 !important;
	font-size: 12px !important;
	color: #9ca3af !important;
}

/* ── Remember me checkbox ── */
.geno-auth-remember {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 14px !important;
	color: #4a5565 !important;
	font-weight: 400 !important;
}

.geno-auth-remember input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: #c41230;
	cursor: pointer;
	flex-shrink: 0;
}

/* ── Error message ── */
.geno-auth-error {
	background: #fff5f6;
	border: 1px solid #fca5a5;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px !important;
	color: #991b1b !important;
}

.geno-auth-error[hidden] {
	display: none !important;
}

/* ── Submit button ── */
.geno-auth-submit {
	display: block !important;
	width: 100% !important;
	padding: 15px 20px !important;
	border: none !important;
	border-radius: 10px !important;
	background: #c41230 !important;
	color: #ffffff !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	transition: background 0.18s, opacity 0.18s !important;
	letter-spacing: 0.01em !important;
	text-align: center !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

.geno-auth-submit:hover:not( :disabled ) {
	background: #a50f27 !important;
}

.geno-auth-submit:disabled,
.geno-auth-submit.geno-loading {
	opacity: 0.65 !important;
	cursor: wait !important;
}

/* ── Divider ── */
.geno-auth-divider {
	height: 1px;
	background: #e5e7eb;
	margin: 4px 0;
}

/* ── Switch / terms ── */
.geno-auth-switch,
.geno-auth-terms {
	margin: 0 !important;
	text-align: center;
	font-size: 14px !important;
	color: #6b7280 !important;
}

.geno-auth-switch a,
.geno-auth-terms a,
.geno-auth-toggle-link {
	color: #c41230 !important;
	text-decoration: none !important;
	font-weight: 600 !important;
}

.geno-auth-switch a:hover,
.geno-auth-terms a:hover,
.geno-auth-toggle-link:hover {
	text-decoration: underline !important;
}

/* ── Info / success state (e.g. "check your email") ── */
.geno-auth-error--info {
	background: #f0fdf4 !important;
	border-color: #86efac !important;
	color: #166534 !important;
}

/* ── Email verification panel ── */
.geno-auth-verify-panel {
	padding: 8px 0 4px;
	text-align: center;
}

.geno-auth-verify-msg {
	margin: 0 0 4px !important;
	font-size: 15px !important;
	color: #374151 !important;
	line-height: 1.6 !important;
}

/* ── Resend link row ── */
.geno-auth-resend-row {
	margin-top: 6px !important;
}

/* ── Responsive ── */
@media ( max-width: 640px ) {
	.geno-auth-form {
		padding: 28px 20px 24px;
		border-radius: 12px;
	}
}
