/* ==========================================================================
   KarressMe Auth Forms - login & register styling
   ========================================================================== */

.kme-auth-form-wrap {
	max-width: 420px;
	margin: 0 auto;
	background: var(--kme-surface, #FFFFFF);
	border: 1px solid var(--kme-gold, #C9A227);
	border-radius: 12px;
	padding: 32px;
}

.kme-auth-form label,
.kme-auth-form-wrap form p label {
	display: block;
	color: var(--kme-ink, #2E1B3D);
	font-family: 'Playfair Display', Georgia, serif;
	margin-top: 16px;
	margin-bottom: 6px;
}

.kme-auth-form input[type="text"],
.kme-auth-form input[type="email"],
.kme-auth-form input[type="password"],
.kme-auth-form input[type="date"],
.kme-auth-form-wrap form p input {
	width: 100%;
	background: var(--kme-bg, #FBE4D8);
	color: var(--kme-ink, #2E1B3D);
	border: 1px solid var(--kme-gold, #C9A227);
	border-radius: 6px;
	padding: 10px 12px;
	font-family: Inter, Arial, sans-serif;
	box-sizing: border-box;
}

.kme-auth-form button,
.kme-auth-form-wrap form p.submit input,
.kme-auth-form-wrap input[type="submit"] {
	margin-top: 22px;
	width: 100%;
	background: linear-gradient(135deg, var(--kme-gold, #C9A227), #8a6f37);
	color: var(--kme-bg, #FBE4D8);
	border: none;
	padding: 13px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-family: 'Playfair Display', Georgia, serif;
	cursor: pointer;
	font-size: 15px;
}

.kme-field-note {
	color: var(--kme-ink, #2E1B3D);
	opacity: 0.7;
	font-size: 12px;
	margin-top: 4px;
}

.kme-form-message {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 18px;
	font-family: Inter, Arial, sans-serif;
	font-size: 14px;
}

.kme-form-error {
	background: rgba(217, 67, 92, 0.15);
	border-left: 3px solid var(--kme-wine, #BC090D);
	color: #f0e6d6;
}

.kme-form-success {
	background: rgba(76, 175, 125, 0.15);
	border-left: 3px solid var(--kme-emerald, #3F7A5C);
	color: #f0e6d6;
}

.kme-auth-links {
	text-align: center;
	margin-top: 20px;
	color: var(--kme-ink, #2E1B3D);
	font-family: Inter, Arial, sans-serif;
	font-size: 14px;
}

.kme-auth-links a {
	color: var(--kme-gold, #C9A227);
	text-decoration: none;
}

.kme-auth-links a:hover {
	text-decoration: underline;
}

.kme-already-logged-in {
	text-align: center;
	color: var(--kme-ink, #2E1B3D);
	font-family: 'Playfair Display', Georgia, serif;
}

.kme-dob-row {
	display: flex;
	gap: 10px;
}

.kme-dob-row select {
	flex: 1;
	background: var(--kme-aubergine, #1a0a14);
	color: var(--kme-cream, #f0e6d6);
	border: 1px solid var(--kme-gold, #c4a05a);
	border-radius: 6px;
	padding: 10px 8px;
	font-family: Inter, Arial, sans-serif;
	box-sizing: border-box;
}


/* ==========================================================================
   PEACH & ROSE PASS - match the Love Wall / Love Frames palette,
   and fix two contrast bugs (dark DOB selects, unreadable messages).
   ========================================================================== */

.kme-auth-form-wrap {
	max-width: 468px;
	margin: 48px auto;
	background: #ffffff;
	border: 1px solid #f5cfdd;
	border-radius: 20px;
	padding: 40px 34px;
	box-shadow: 0 18px 44px rgba(79, 44, 99, 0.10), 0 2px 6px rgba(79, 44, 99, 0.05);
}

.kme-auth-form label,
.kme-auth-form-wrap form p label {
	color: #4f2c63;
	font-size: 12px;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	font-family: Inter, Arial, sans-serif;
	font-weight: 600;
	margin-top: 20px;
	margin-bottom: 7px;
}

.kme-auth-form input[type="text"],
.kme-auth-form input[type="email"],
.kme-auth-form input[type="password"],
.kme-auth-form input[type="date"],
.kme-auth-form-wrap form p input,
.kme-dob-row select {
	background: #fffaf6 !important;
	color: #4f2c63 !important;
	border: 1px solid #f0bdd1 !important;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 15px;
	line-height: 1.3;
	box-shadow: none;
	transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.kme-auth-form input:focus,
.kme-auth-form-wrap form p input:focus,
.kme-dob-row select:focus {
	outline: none;
	background: #ffffff !important;
	border-color: #e8457a !important;
	box-shadow: 0 0 0 3px rgba(232, 69, 122, 0.16);
}

.kme-auth-form input::placeholder,
.kme-auth-form-wrap form p input::placeholder {
	color: #b394ab;
}

.kme-auth-form button,
.kme-auth-form-wrap form p.submit input,
.kme-auth-form-wrap input[type="submit"] {
	margin-top: 26px;
	background: linear-gradient(135deg, #f7c46a, #e8a33a 52%, #d98f28);
	color: #4a2c10;
	border-radius: 999px;
	padding: 14px 22px;
	font-size: 15px;
	letter-spacing: 0.02em;
	box-shadow: 0 10px 22px rgba(217, 143, 40, 0.28);
	transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.kme-auth-form button:hover,
.kme-auth-form-wrap form p.submit input:hover,
.kme-auth-form-wrap input[type="submit"]:hover {
	filter: brightness(1.04);
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(217, 143, 40, 0.34);
}

.kme-field-note {
	color: #7d5872;
	opacity: 1;
	font-size: 12.5px;
	line-height: 1.5;
	margin-top: 6px;
}

/* BUGFIX: cream text on a near-white panel made these unreadable. */
.kme-form-message {
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.5;
}

.kme-form-error {
	background: #fdeaef !important;
	border-left: 3px solid #d0355f !important;
	color: #8a1f3d !important;
}

.kme-form-success {
	background: #e9f6ef !important;
	border-left: 3px solid #3f7a5c !important;
	color: #1f5a40 !important;
}

.kme-auth-links {
	color: #7d5872;
	margin-top: 24px;
	line-height: 1.7;
}

.kme-auth-links a {
	color: #e8457a;
	font-weight: 600;
}

.kme-already-logged-in {
	color: #4f2c63;
	font-size: 20px;
}

.kme-dob-row {
	gap: 8px;
}

@media (max-width: 520px) {
	.kme-auth-form-wrap {
		margin: 24px 14px;
		padding: 28px 20px;
		border-radius: 16px;
	}
	.kme-dob-row {
		flex-wrap: wrap;
	}
	.kme-dob-row select {
		min-width: 30%;
	}
}

/* ==========================================================================
PEACH & ROSE PASS 2 - driven by real logged-out visitor screenshots.
Fixes: show/hide password control, gender dropdown, Chrome autofill blue.
========================================================================== */

/* BUGFIX: every <button> in the form was inheriting the full-width gold
   submit styling, so the show/hide password control rendered as a wide
   pale bar stacked underneath each password field. Scoped to explicit
   type="button" so the real submit button is never touched. */
.kme-auth-form button[type="button"],
.kme-auth-form-wrap button[type="button"],
.kme-auth-form .kme-pw-toggle,
.kme-auth-form .kme-toggle-password,
.kme-auth-form .kme-show-password {
width: auto !important;
min-width: 0 !important;
float: right;
position: relative;
z-index: 3;
margin: -42px 12px 0 0 !important;
padding: 4px 6px !important;
background: none !important;
background-image: none !important;
border: 0 !important;
box-shadow: none !important;
color: #b0769a !important;
font-size: 15px;
line-height: 1;
opacity: .8;
cursor: pointer;
transition: color .16s ease, opacity .16s ease;
}

.kme-auth-form button[type="button"]:hover,
.kme-auth-form-wrap button[type="button"]:hover {
color: #e8457a !important;
opacity: 1;
transform: none;
filter: none;
}

/* the floated toggle must not collapse the card */
.kme-auth-form-wrap form::after,
.kme-auth-form::after {
content: "";
display: table;
clear: both;
}

/* BUGFIX: only the date-of-birth row was restyled, so the Gender dropdown
   stayed default white/grey and broke the set. Cover every select. */
.kme-auth-form select,
.kme-auth-form-wrap select {
width: 100%;
background: #fffaf6 !important;
color: #4f2c63 !important;
border: 1px solid #f0bdd1 !important;
border-radius: 10px;
padding: 12px 14px;
font-family: Inter, Arial, sans-serif;
font-size: 15px;
line-height: 1.3;
box-sizing: border-box;
transition: border-color .18s ease, box-shadow .18s ease;
}

.kme-dob-row select {
padding: 12px 8px;
}

.kme-auth-form select:focus,
.kme-auth-form-wrap select:focus {
outline: none;
border-color: #e8457a !important;
box-shadow: 0 0 0 3px rgba(232, 69, 122, 0.16);
}

/* BUGFIX: Chrome autofill painted saved usernames and passwords on a blue
   background, which broke the peach field set on first load. */
.kme-auth-form input:-webkit-autofill,
.kme-auth-form input:-webkit-autofill:hover,
.kme-auth-form input:-webkit-autofill:focus,
.kme-auth-form-wrap input:-webkit-autofill {
-webkit-box-shadow: 0 0 0 1000px #fffaf6 inset !important;
box-shadow: 0 0 0 1000px #fffaf6 inset !important;
-webkit-text-fill-color: #4f2c63 !important;
caret-color: #4f2c63;
border: 1px solid #f0bdd1 !important;
}

.kme-auth-form input:-webkit-autofill:focus,
.kme-auth-form-wrap input:-webkit-autofill:focus {
-webkit-box-shadow: 0 0 0 1000px #ffffff inset, 0 0 0 3px rgba(232, 69, 122, 0.16) !important;
box-shadow: 0 0 0 1000px #ffffff inset, 0 0 0 3px rgba(232, 69, 122, 0.16) !important;
border-color: #e8457a !important;
}

/* in-card links were rendering dark plum instead of the rose accent */
.kme-auth-links a,
.kme-auth-form-wrap a {
color: #e8457a !important;
font-weight: 600;
text-decoration: none;
}

.kme-auth-links a:hover,
.kme-auth-form-wrap a:hover {
text-decoration: underline;
}
