/* =========================================================
   Login & Anmeldung – Login-Seite (Theme My Login)
   SSV Aurach Design-Modul (ehemals Customizer „Zusätzliches CSS“)
   Werte mit var(--ssvd-…) sind unter Einstellungen → SSV Design änderbar.
   ========================================================= */

/* -------------------------------------------------
   Theme My Login auch auf Login-/Fehlerseite schön stylen
------------------------------------------------- */
/* Login-Container */
body .tml,
body .theme-my-login {
	background: var(--ssvd-846bcbb6, #ffffff);
	padding: 24px;
	border-radius: var(--ssvd-d4d7542b, 12px);
	box-shadow: 0 8px 22px rgba(0,0,0,0.08);
	margin-bottom: 30px;
}
/* Labels */
body .tml label,
body .theme-my-login label {
	display: block;
	font-weight: var(--ssvd-eb1620e2, 700);
	color: var(--ssvd-d1548340, #222222);
	margin-bottom: 6px;
}
/* Felder */
body .tml input[type="text"],
body .tml input[type="email"],
body .tml input[type="password"],
body .theme-my-login input[type="text"],
body .theme-my-login input[type="email"],
body .theme-my-login input[type="password"] {
	width: 100% !important;
	height: 48px;
	border: 1px solid #d7d7d7;
	border-radius: var(--ssvd-0fecd60f, 8px);
	padding: 0 14px;
	font-size: var(--ssvd-56c5d83b, 16px);
	margin-bottom: 16px;
	box-sizing: border-box;
}
/* Fokus */
body .tml input[type="text"]:focus,
body .tml input[type="email"]:focus,
body .tml input[type="password"]:focus,
body .theme-my-login input[type="text"]:focus,
body .theme-my-login input[type="email"]:focus,
body .theme-my-login input[type="password"]:focus {
	border-color: #725585;
	outline: none;
	box-shadow: 0 0 0 3px rgba(114, 85, 133, 0.12);
}
/* Button */
body .tml input[type="submit"],
body .tml button,
body .tml .button,
body .tml .tml-button,
body .theme-my-login input[type="submit"],
body .theme-my-login button,
body .theme-my-login .button,
body .theme-my-login .tml-button {
	background: var(--ssvd-06d444e6, #725585) !important;
	color: var(--ssvd-5358a876, #ffffff) !important;
	border: none !important;
	border-radius: var(--ssvd-972433c0, 8px) !important;
	padding: 12px 22px !important;
	font-size: var(--ssvd-ef718ec3, 16px) !important;
	font-weight: var(--ssvd-c2d4bd5e, 700) !important;
	cursor: pointer;
}
body .tml input[type="submit"]:hover,
body .tml button:hover,
body .tml .button:hover,
body .tml .tml-button:hover,
body .theme-my-login input[type="submit"]:hover,
body .theme-my-login button:hover,
body .theme-my-login .button:hover,
body .theme-my-login .tml-button:hover {
	background: var(--ssvd-4ebbe11f, #604b78) !important;
}
/* Links */
body .tml a,
body .theme-my-login a {
	color: var(--ssvd-ee0e9282, #725585);
	font-weight: var(--ssvd-67893e04, 600);
	text-decoration: none;
}
body .tml a:hover,
body .theme-my-login a:hover {
	text-decoration: underline;
}
/* Fehlermeldung schön machen */
body .tml .tml-errors,
body .tml .message,
body .tml .error,
body .theme-my-login .tml-errors,
body .theme-my-login .message,
body .theme-my-login .error {
	background: var(--ssvd-3e5df925, #fff4f4) !important;
	border-left: 5px solid #d93025 !important;
	color: var(--ssvd-487d4fec, #222) !important;
	padding: 16px 18px !important;
	border-radius: var(--ssvd-bd898817, 8px) !important;
	margin: 0 0 20px 0 !important;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
/* Listen in Fehlermeldung */
body .tml .tml-errors li,
body .theme-my-login .tml-errors li {
	margin: 0;
}
/* Theme My Login Fehlermeldung nur einmal gestalten */
body.page-id-1195 .tml .tml-errors,
body.page-id-1195 .tml .message,
body.page-id-1195 .tml .error {
	background: var(--ssvd-943382a8, #fff4f4) !important;
	border-left: 5px solid #d93025 !important;
	color: var(--ssvd-787f8bb1, #222222) !important;
	padding: 16px 18px !important;
	border-radius: var(--ssvd-a03783cf, 10px) !important;
	margin: 0 0 20px 0 !important;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}
/* Inneres Element neutralisieren */
body.page-id-1195 .tml .tml-errors > *,
body.page-id-1195 .tml .message > *,
body.page-id-1195 .tml .error > * {
	background: var(--ssvd-45b68160, transparent) !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
/* Listen/Absätze innen sauber */
body.page-id-1195 .tml .tml-errors ul,
body.page-id-1195 .tml .tml-errors ol,
body.page-id-1195 .tml .tml-errors li,
body.page-id-1195 .tml .tml-errors p,
body.page-id-1195 .tml .message ul,
body.page-id-1195 .tml .message ol,
body.page-id-1195 .tml .message li,
body.page-id-1195 .tml .message p,
body.page-id-1195 .tml .error ul,
body.page-id-1195 .tml .error ol,
body.page-id-1195 .tml .error li,
body.page-id-1195 .tml .error p {
	background: var(--ssvd-c3e658fb, transparent) !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}
/* Theme My Login Seiten ohne Sidebar */
body.tml-action-login #sidebar,
body.tml-action-lostpassword #sidebar,
body.tml-action-register #sidebar,
body.tml-action-login .sidebar,
body.tml-action-lostpassword .sidebar,
body.tml-action-register .sidebar,
body.tml-action-login .rightsidebar,
body.tml-action-lostpassword .rightsidebar,
body.tml-action-register .rightsidebar,
body.tml-action-login aside,
body.tml-action-lostpassword aside,
body.tml-action-register aside,
body.tml-action-login .widget-area,
body.tml-action-lostpassword .widget-area,
body.tml-action-register .widget-area {
	display: none !important;
}
/* Inhaltsbereich auf volle Breite */
body.tml-action-login .content_sidebar,
body.tml-action-lostpassword .content_sidebar,
body.tml-action-register .content_sidebar,
body.tml-action-login .site-main,
body.tml-action-lostpassword .site-main,
body.tml-action-register .site-main,
body.tml-action-login .content-area,
body.tml-action-lostpassword .content-area,
body.tml-action-register .content-area,
body.tml-action-login #sitemain,
body.tml-action-lostpassword #sitemain,
body.tml-action-register #sitemain {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
}
/* Container sauber zentrieren */
body.tml-action-login .container.content-area,
body.tml-action-lostpassword .container.content-area,
body.tml-action-register .container.content-area {
	max-width: 1100px !important;
	width: 100% !important;
	margin: 0 auto !important;
}
/* Theme des Sports-Club Layouts überschreiben */
body.tml-action-login .middle-align.content_sidebar > #sitemain,
body.tml-action-lostpassword .middle-align.content_sidebar > #sitemain,
body.tml-action-register .middle-align.content_sidebar > #sitemain {
	width: 100% !important;
	float: none !important;
}
/* Falls Sidebar-Spalte Platz reserviert */
body.tml-action-login .middle-align.content_sidebar > #sidebar,
body.tml-action-lostpassword .middle-align.content_sidebar > #sidebar,
body.tml-action-register .middle-align.content_sidebar > #sidebar {
	display: none !important;
	width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}
/* Theme My Login: doppelte Fehlermeldungsbox bei Login-Fehlern beheben */
body.tml-action-login .tml-alerts {
	background: var(--ssvd-f3708b5c, #fff4f4) !important;
	border-left: 5px solid #d93025 !important;
	border-radius: var(--ssvd-e0d6b3fa, 10px) !important;
	padding: 16px 18px !important;
	margin: 0 0 20px 0 !important;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}
body.tml-action-login .tml-alerts .tml-errors {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	background: var(--ssvd-9394bb94, transparent) !important;
	border: none !important;
	box-shadow: none !important;
}
body.tml-action-login .tml-alerts .tml-errors li,
body.tml-action-login .tml-alerts .tml-error {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	background: var(--ssvd-0e55acb3, transparent) !important;
	border: none !important;
	box-shadow: none !important;
}
body.tml-action-login .tml-alerts .tml-errors li::marker,
body.tml-action-login .tml-alerts .tml-error::marker {
	content: "" !important;
}
body.tml-action-login .tml-alerts a {
	color: var(--ssvd-fc3e4879, #725585) !important;
	font-weight: var(--ssvd-a45f8df1, 600);
}
/* Kleiner grüner Login-Hinweis */
.ssv-login-success {
	background: var(--ssvd-e8499cb5, #eaf7ee);
	border-left: 4px solid #2e9b57;
	color: var(--ssvd-ef40e31b, #1f5f36);
	padding: 12px 16px;
	border-radius: var(--ssvd-3d00ddb8, 8px);
	margin: 0 0 18px 0;
	font-size: var(--ssvd-9ebd9a1e, 16px);
	font-weight: var(--ssvd-f7ccf1f8, 600);
	line-height: 1.5;
}
/* Text wenn ausgeloggt */
.ssv-login-status-text-only {
	font-size: var(--ssvd-e8e836da, 18px);
	font-weight: var(--ssvd-ad7e9c38, 600);
	color: var(--ssvd-20840e34, #222222);
	margin: 0 0 18px 0;
}
/* Abmelden-Button oben rechts */
.ssv-logout-top-wrap {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 12px 0;
}
.ssv-logout-top-button {
	display: inline-block;
	background: var(--ssvd-4c6cf31f, #725585);
	color: var(--ssvd-ffdfe5f6, #ffffff) !important;
	padding: 10px 18px;
	border-radius: var(--ssvd-5a68ca4f, 8px);
	font-weight: var(--ssvd-20d2f836, 700);
	text-decoration: none;
}
.ssv-logout-top-button:hover {
	background: var(--ssvd-1c8e5896, #604b78);
}
