/* ===================================================== */
/* BM MANAGER LOGIN */
/* Eigene Login-Seite ohne wp-login.php Abhängigkeit */
/* ===================================================== */

html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
}

body.bm-login {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: #fff;
	color: #111827;
}

/* ===================================================== */
/* LAYOUT */
/* ===================================================== */

.bm-login-shell {
	position: relative;
	display: flex;
	min-height: 100vh;
	width: 100%;
	overflow: hidden;
}

/* Vertikale Linie */
.bm-login-shell::after {
	content: "";
	position: absolute;
	top: 50%;
	left: calc(100% - 520px);
	transform: translate(-50%, -50%);
	width: 2px;
	height: 80%;
	background: linear-gradient(
		to bottom,
		transparent,
		rgba(0, 0, 0, 0.08),
		transparent
	);
	pointer-events: none;
}

/* ===================================================== */
/* GLOW SYSTEM */
/* ===================================================== */

.bm-section-glow {
	position: relative;
	overflow: hidden;
}

.bm-section-glow::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background: linear-gradient(
		90deg,
		rgba(196, 138, 58, 0.12) 0%,
		rgba(196, 138, 58, 0.08) 18%,
		rgba(196, 138, 58, 0.04) 36%,
		rgba(196, 138, 58, 0.02) 52%,
		rgba(196, 138, 58, 0) 70%
	);
}

.bm-section-glow::after {
	content: "";
	position: absolute;
	width: 700px;
	height: 700px;
	top: -260px;
	left: -260px;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
	background: radial-gradient(
		circle,
		rgba(196, 138, 58, 0.14) 0%,
		rgba(196, 138, 58, 0.08) 25%,
		rgba(196, 138, 58, 0.04) 45%,
		rgba(196, 138, 58, 0.015) 65%,
		rgba(196, 138, 58, 0) 80%
	);
	filter: blur(40px);
}

.bm-section-glow > * {
	position: relative;
	z-index: 1;
}

/* ===================================================== */
/* LEFT */
/* ===================================================== */

.bm-login-left {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}

.bm-login-left-inner {
	width: 100%;
	max-width: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	box-sizing: border-box;
}

.bm-login-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	text-decoration: none;
}

.bm-login-logo {
	max-width: 650px;
	width: 100%;
	height: auto;
	display: block;
	filter:
		drop-shadow(0 18px 45px rgba(0, 0, 0, 0.32))
		drop-shadow(0 60px 120px rgba(0, 0, 0, 0.28));
}

/* ===================================================== */
/* RIGHT */
/* ===================================================== */

.bm-login-right {
	width: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 120px;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(4px);
}

.bm-login-right-inner {
	width: 100%;
	max-width: 360px;
}

/* ===================================================== */
/* HEADLINE */
/* ===================================================== */

.bm-login-heading {
	margin-bottom: 28px;
}

.bm-login-heading h1 {
	margin: 0 0 10px 0;
	font-size: 34px;
	line-height: 1.1;
	font-weight: 700;
	color: #1f2937;
	letter-spacing: -0.02em;
}

.bm-login-heading p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #6b7280;
}

/* ===================================================== */
/* FORM */
/* ===================================================== */

.bm-login-form {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
}

.bm-login-form-group {
	margin-bottom: 14px;
}

.bm-login-form-group label {
	display: block;
	margin-bottom: 6px;
	color: #374151;
	font-size: 14px;
	font-weight: 500;
}

.bm-login-form input[type="text"],
.bm-login-form input[type="email"],
.bm-login-form input[type="password"] {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #c48a3a;
	border-radius: 6px;
	background: #ffffff;
	color: #111827;
	font-size: 16px;
	box-sizing: border-box;
	box-shadow:
		0 6px 18px rgba(0, 0, 0, 0.12),
		0 2px 6px rgba(0, 0, 0, 0.06);
	transition: all 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
}

.bm-login-form input[type="text"]:hover,
.bm-login-form input[type="email"]:hover,
.bm-login-form input[type="password"]:hover {
	transform: translateY(-1px);
	border: 1px solid #c48a3a;
	border-radius: 6px;
	box-shadow:
		0 6px 18px rgba(0, 0, 0, 0.12),
		0 2px 6px rgba(0, 0, 0, 0.06);
}

.bm-login-form input[type="text"]:focus,
.bm-login-form input[type="email"]:focus,
.bm-login-form input[type="password"]:focus {
	border-color: #d18f34;
	outline: none;
	box-shadow:
		0 6px 18px rgba(0, 0, 0, 0.12),
		0 2px 6px rgba(0, 0, 0, 0.06);
}

.bm-login-form input:-webkit-autofill,
.bm-login-form input:-webkit-autofill:hover,
.bm-login-form input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px #ffffff inset;
	-webkit-text-fill-color: #111827;
	transition: background-color 9999s ease-in-out 0s;
}

/* ===================================================== */
/* PASSWORD FIELD */
/* ===================================================== */

.bm-login-password-wrap {
	position: relative;
}

.bm-login-password-wrap input[type="password"],
.bm-login-password-wrap input[type="text"] {
	padding-right: 48px;
}

.bm-login-password-toggle {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
	color: #2563eb;
	opacity: 0.9;
}

.bm-login-password-toggle:hover {
	opacity: 1;
}

.bm-login-password-toggle:focus {
	outline: none;
}

/* ===================================================== */
/* CHECKBOX / REMEMBER */
/* ===================================================== */

.bm-login-remember {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 8px 0 18px 0;
	font-size: 14px;
	color: #4b5563;
}

.bm-login-remember input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: #c48a3a;
}

/* ===================================================== */
/* BUTTON */
/* ===================================================== */

.bm-login-submit,
.bm-login-form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #d18f34, #b97821);
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.bm-login-submit:hover,
.bm-login-form button[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.bm-login-submit:focus,
.bm-login-form button[type="submit"]:focus {
	outline: none;
}

.bm-login-submit:disabled,
.bm-login-form button[type="submit"]:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* ===================================================== */
/* MESSAGES */
/* ===================================================== */

.bm-error,
.bm-success,
.bm-message {
	margin-bottom: 18px;
	padding: 14px 16px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.5;
	box-sizing: border-box;
}

.bm-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.bm-success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.bm-message {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1d4ed8;
}

/* ===================================================== */
/* LINKS */
/* ===================================================== */

.bm-login-links {
	margin-top: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 14px;
}

.bm-login-links a {
	color: #6b7280;
	text-decoration: none;
	transition: color 0.2s ease;
}

.bm-login-links a:hover {
	color: #1f2937;
}

/* ===================================================== */
/* MOBILE */
/* ===================================================== */

@media (max-width: 980px) {
	.bm-login-shell {
		flex-direction: column;
	}

	.bm-login-shell::after {
		display: none;
	}

	.bm-login-left {
		height: 220px;
		flex: none;
	}

	.bm-login-left-inner {
		padding: 20px;
	}

	.bm-login-right {
		width: 100%;
		padding: 24px 20px 40px;
		background: #fff;
		backdrop-filter: none;
	}

	.bm-login-logo {
		max-width: 160px;
	}
}




.bm-login-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}