/* SHHD Antarësia – im Stil von shoqatadoberdoll.ch */
.shhd-ant {
	--shhd-green: #1c661a;
	--shhd-green-dk: #134a12;
	--shhd-green-bg: #e8f3e7;
	--shhd-navy: #012068;
	--shhd-text: #1f2a37;
	--shhd-muted: #6b7280;
	--shhd-line: #e3e7ee;
	--shhd-soft: #f6f8fb;
	--shhd-amber-bg: #fff7e6;
	--shhd-amber: #8a5a00;
	--shhd-radius: 14px;
	max-width: 1080px;
	margin: 0 auto;
	padding: 32px 20px 56px;
	color: var(--shhd-text);
	font-size: 16px;
	line-height: 1.5;
	box-sizing: border-box;
}
.shhd-ant *, .shhd-ant *::before, .shhd-ant *::after { box-sizing: border-box; }
.shhd-ant [hidden] { display: none !important; }
.shhd-ant .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.shhd-testbanner { background: var(--shhd-amber-bg); color: var(--shhd-amber); border: 1px dashed #e0b860; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; font-weight: 600; }

/* Zugang */
.shhd-access { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; margin-bottom: 18px; }
.shhd-access__user { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; font-size: 14px; color: var(--shhd-muted); }
.shhd-login { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--shhd-line); border-radius: var(--shhd-radius); padding: 20px; box-shadow: 0 10px 30px rgba(1, 32, 104, .08); }
.shhd-login form p { margin: 0 0 12px; }
.shhd-login label { display: block; font-size: 14px; font-weight: 600; color: var(--shhd-navy); margin-bottom: 4px; }
.shhd-login input[type="text"], .shhd-login input[type="password"] { width: 100%; padding: 10px 12px; border: 1px solid #cfd6e2; border-radius: 10px; font-size: 16px; }
.shhd-login .login-remember label { display: flex; align-items: center; gap: 8px; font-weight: 400; color: var(--shhd-text); }
.shhd-login .login-submit input[type="submit"] { width: 100%; background: var(--shhd-green); color: #fff; border: 0; border-radius: 25px; padding: 11px 18px; font-weight: 600; font-size: 16px; cursor: pointer; }
.shhd-login .login-submit input[type="submit"]:hover { background: var(--shhd-green-dk); }

/* Buttons */
.shhd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--shhd-green); color: #fff !important; border: 2px solid var(--shhd-green); border-radius: 25px; padding: 9px 20px; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; text-decoration: none !important; transition: background .15s, color .15s; }
.shhd-btn:hover { background: var(--shhd-green-dk); border-color: var(--shhd-green-dk); }
.shhd-btn:disabled { opacity: .45; cursor: not-allowed; }
.shhd-btn--ghost { background: transparent; color: var(--shhd-green) !important; }
.shhd-btn--ghost:hover { background: var(--shhd-green-bg); color: var(--shhd-green-dk) !important; border-color: var(--shhd-green); }
.shhd-btn--danger { background: #5b6472; border-color: #5b6472; }
.shhd-btn--danger:hover { background: #3f4652; border-color: #3f4652; }
.shhd-btn--sm { padding: 6px 14px; font-size: 14px; border-width: 1.5px; }
.shhd-btn:focus-visible, .shhd-input:focus-visible, .shhd-segbtn:focus-visible, .shhd-mitem:focus-visible, .shhd-tab:focus-visible { outline: 3px solid rgba(28, 102, 26, .35); outline-offset: 2px; }

/* Öffentliche Liste */
.shhd-title { font-family: Poppins, sans-serif; color: var(--shhd-navy); font-size: clamp(28px, 4vw, 38px); font-weight: 700; margin: 0 0 6px; line-height: 1.15; }
.shhd-title::after { content: ""; display: block; width: 60px; height: 3px; background: #f0762b; margin-top: 14px; }
.shhd-lead { color: var(--shhd-navy); font-weight: 600; margin: 14px 0 24px; }
.shhd-empty, .shhd-noresult { background: var(--shhd-soft); border: 1px solid var(--shhd-line); border-radius: var(--shhd-radius); padding: 22px; text-align: center; color: var(--shhd-muted); }
.shhd-search { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px; }
.shhd-search .shhd-input { flex: 1 1 320px; }
.shhd-count { margin: 0; color: var(--shhd-muted); font-size: 14px; }
.shhd-input { width: 100%; padding: 12px 16px; border: 1px solid #cfd6e2; border-radius: 25px; font-size: 16px; background: #fff; color: var(--shhd-text); }
.shhd-input--sm { padding: 6px 10px; border-radius: 8px; font-size: 14px; }

.shhd-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--shhd-line); border-radius: var(--shhd-radius); overflow: hidden; background: #fff; }
.shhd-row { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: center; gap: 16px; padding: 12px 18px; border-top: 1px solid var(--shhd-line); margin: 0; }
.shhd-row:first-child { border-top: 0; }
.shhd-row:nth-child(even) { background: #fafbfd; }
.shhd-name { font-size: 16px; color: var(--shhd-text); overflow-wrap: anywhere; }
.shhd-name strong { color: var(--shhd-navy); font-weight: 700; }
.shhd-cells { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shhd-cell { display: flex; flex-direction: column; align-items: stretch; gap: 3px; min-width: 0; }
.shhd-bar { display: block; background: var(--shhd-green); color: #fff; border-radius: 999px; padding: 5px 10px; font-size: 13px; font-weight: 700; text-align: center; white-space: nowrap; }
.shhd-amt { display: block; text-align: center; font-size: 13px; color: var(--shhd-green-dk); font-weight: 600; }
.shhd-year { display: block; text-align: center; border: 1px solid var(--shhd-line); border-radius: 999px; padding: 4px 10px; font-size: 13px; color: var(--shhd-muted); background: #fff; }
.shhd-dash { display: block; text-align: center; color: #b7bec9; font-size: 13px; }

@media (max-width: 640px) {
	.shhd-ant { padding: 20px 14px 40px; }
	.shhd-row { grid-template-columns: 1fr; gap: 8px; padding: 14px; }
	.shhd-cells { gap: 8px; }
	.shhd-access { align-items: stretch; }
	.shhd-access__toggle { align-self: flex-end; }
	.shhd-login { max-width: none; }
}

/* Vorstandsbereich */
.shhd-admin { background: #fff; border: 1px solid var(--shhd-line); border-radius: var(--shhd-radius); box-shadow: 0 10px 30px rgba(1, 32, 104, .06); padding: 22px; margin-bottom: 40px; }
.shhd-admin__title { font-family: Poppins, sans-serif; color: var(--shhd-navy); font-size: 24px; margin: 0 0 2px; }
.shhd-muted { color: var(--shhd-muted); }
.shhd-small { font-size: 13px; }
.shhd-block { display: block; }
.shhd-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0; border-bottom: 1px solid var(--shhd-line); }
.shhd-tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; font-weight: 600; color: var(--shhd-muted); cursor: pointer; font-size: 15px; }
.shhd-tab.is-active { color: var(--shhd-green); border-bottom-color: var(--shhd-green); }
.shhd-notice { border-radius: 10px; padding: 10px 14px; margin: 0 0 14px; background: var(--shhd-soft); border: 1px solid var(--shhd-line); }
.shhd-notice p { margin: 0 0 4px; }
.shhd-notice--ok { background: var(--shhd-green-bg); border-color: #b9dbb7; color: var(--shhd-green-dk); }
.shhd-notice--warn { background: var(--shhd-amber-bg); border-color: #f0d49a; color: var(--shhd-amber); }
.shhd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 22px; }
.shhd-mlist { list-style: none; margin: 8px 0 0; padding: 0; max-height: 520px; overflow: auto; border: 1px solid var(--shhd-line); border-radius: 10px; }
.shhd-mitem { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-top: 1px solid var(--shhd-line); cursor: pointer; margin: 0; }
.shhd-mitem:first-child { border-top: 0; }
.shhd-mitem:hover { background: var(--shhd-soft); }
.shhd-mitem.is-active { background: var(--shhd-green-bg); }
.shhd-mname { min-width: 0; overflow-wrap: anywhere; }
.shhd-mname strong { color: var(--shhd-navy); }
.shhd-chips { display: flex; gap: 4px; flex-shrink: 0; }
.shhd-chip { font-size: 11px; padding: 2px 6px; border-radius: 999px; border: 1px solid var(--shhd-line); color: var(--shhd-muted); white-space: nowrap; }
.shhd-chip.is-paid { background: var(--shhd-green); border-color: var(--shhd-green); color: #fff; }
.shhd-card { border: 1px solid var(--shhd-line); border-radius: var(--shhd-radius); padding: 18px; background: #fff; }
.shhd-dname { font-family: Poppins, sans-serif; color: var(--shhd-navy); margin: 0; font-size: 20px; }
.shhd-label { font-weight: 700; color: var(--shhd-navy); margin: 16px 0 8px; font-size: 14px; }
.shhd-seg { display: flex; gap: 8px; flex-wrap: wrap; }
.shhd-segbtn { flex: 1 1 0; min-width: 90px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 10px; border: 1.5px solid #cfd6e2; border-radius: 12px; background: #fff; cursor: pointer; color: var(--shhd-text); font-size: 15px; font-weight: 600; }
.shhd-segbtn:hover { border-color: var(--shhd-green); }
.shhd-segbtn.is-active { border-color: var(--shhd-green); background: var(--shhd-green-bg); color: var(--shhd-green-dk); box-shadow: inset 0 0 0 1px var(--shhd-green); }
.shhd-segs { font-size: 12px; font-weight: 400; color: var(--shhd-muted); }
.shhd-exinfo { margin: 14px 0 0; font-size: 14px; }
.shhd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.shhd-confirm { width: 100%; background: var(--shhd-amber-bg); border: 1px solid #f0d49a; border-radius: 10px; padding: 12px; }
.shhd-confirm p { margin: 0; color: var(--shhd-amber); }
.shhd-confirm .shhd-actions { margin-top: 10px; }
.shhd-preview { margin: 16px 0 0; padding: 10px 12px; background: var(--shhd-soft); border-radius: 10px; font-size: 14px; }
.shhd-history { margin-top: 14px; font-size: 14px; }
.shhd-history summary { cursor: pointer; font-weight: 600; color: var(--shhd-navy); }
.shhd-log { margin: 8px 0 0; padding-left: 18px; }
.shhd-log li { margin: 3px 0; }
.shhd-form .shhd-input { border-radius: 10px; }
.shhd-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shhd-field { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.shhd-field label { font-weight: 600; font-size: 14px; color: var(--shhd-navy); }
.shhd-dup { margin-top: 16px; }
.shhd-duplist { list-style: none; padding: 0; margin: 0 0 12px; }
.shhd-duplist li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--shhd-line); }
.shhd-file { font-size: 14px; }
.shhd-summary { margin-top: 16px; }
.shhd-tablewrap { overflow: auto; max-height: 560px; border: 1px solid var(--shhd-line); border-radius: 10px; margin-top: 10px; }
.shhd-ptable { width: 100%; border-collapse: collapse; font-size: 13px; margin: 0; }
.shhd-ptable th, .shhd-ptable td { padding: 6px 8px; border-bottom: 1px solid var(--shhd-line); text-align: left; vertical-align: top; }
.shhd-ptable th { position: sticky; top: 0; background: var(--shhd-soft); color: var(--shhd-navy); z-index: 1; }
.shhd-ptable td.is-ok { color: var(--shhd-green-dk); font-weight: 600; }
.shhd-ptable td.is-badval, .shhd-ptable td.is-conflict { background: var(--shhd-amber-bg); color: var(--shhd-amber); }
.shhd-ptable td.is-empty { color: #9aa3af; }
.shhd-ptable tr.is-invalid td, .shhd-ptable tr.is-skip td { opacity: .55; }
.shhd-notes { min-width: 200px; }
.shhd-flag { display: block; font-size: 12px; margin-bottom: 2px; }
.shhd-flag--warn { color: var(--shhd-amber); }
.shhd-flag--info { color: var(--shhd-muted); }

@media (max-width: 820px) {
	.shhd-grid { grid-template-columns: 1fr; }
	.shhd-mlist { max-height: 320px; }
	.shhd-admin { padding: 16px; }
}
@media (max-width: 520px) {
	.shhd-row2 { grid-template-columns: 1fr; }
}


/* Theme-Overrides (Hello/Elementor stylt alle Buttons global) */
.shhd-ant button { text-transform: none !important; letter-spacing: normal !important; box-shadow: none; font-family: inherit; }
.shhd-ant button.shhd-tab, .shhd-ant button.shhd-tab:hover, .shhd-ant button.shhd-tab:focus { background: transparent !important; color: var(--shhd-muted) !important; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important; padding: 10px 14px !important; }
.shhd-ant button.shhd-tab.is-active { color: var(--shhd-green) !important; border-bottom-color: var(--shhd-green) !important; }
.shhd-ant button.shhd-segbtn, .shhd-ant button.shhd-segbtn:focus { background: #fff !important; color: var(--shhd-text) !important; border: 1.5px solid #cfd6e2 !important; border-radius: 12px !important; padding: 9px 10px !important; }
.shhd-ant button.shhd-segbtn:hover { background: #fff !important; border-color: var(--shhd-green) !important; color: var(--shhd-text) !important; }
.shhd-ant button.shhd-segbtn.is-active, .shhd-ant button.shhd-segbtn.is-active:hover { background: var(--shhd-green-bg) !important; color: var(--shhd-green-dk) !important; border-color: var(--shhd-green) !important; box-shadow: inset 0 0 0 1px var(--shhd-green) !important; }
.shhd-ant button.shhd-segbtn .shhd-segs { color: var(--shhd-muted); }
.shhd-ant button.shhd-btn, .shhd-ant a.shhd-btn { background: var(--shhd-green) !important; color: #fff !important; border: 2px solid var(--shhd-green) !important; border-radius: 25px !important; padding: 9px 20px !important; }
.shhd-ant button.shhd-btn:hover, .shhd-ant a.shhd-btn:hover { background: var(--shhd-green-dk) !important; border-color: var(--shhd-green-dk) !important; }
.shhd-ant button.shhd-btn--sm, .shhd-ant a.shhd-btn--sm { padding: 6px 14px !important; border-width: 1.5px !important; }
.shhd-ant button.shhd-btn--ghost, .shhd-ant a.shhd-btn--ghost { background: transparent !important; color: var(--shhd-green) !important; }
.shhd-ant button.shhd-btn--ghost:hover, .shhd-ant a.shhd-btn--ghost:hover { background: var(--shhd-green-bg) !important; color: var(--shhd-green-dk) !important; }
.shhd-ant button.shhd-btn--danger { background: #5b6472 !important; border-color: #5b6472 !important; }
.shhd-ant button.shhd-btn--danger:hover { background: #3f4652 !important; border-color: #3f4652 !important; }
.shhd-ant button.shhd-btn:disabled { opacity: .45; }

/* Teilzahlung und Wohnort */
.shhd-loc { color: var(--shhd-muted); font-size: .92em; }
.shhd-cell.is-partial .shhd-bar { background: #cfe8cd; color: var(--shhd-green-dk); white-space: normal; line-height: 1.25; }
.shhd-chip.is-partial { background: #cfe8cd; border-color: #a9d3a6; color: var(--shhd-green-dk); }
.shhd-partial-input { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.shhd-partial-input .shhd-input { max-width: 140px; border-radius: 10px; padding: 8px 12px; }
.shhd-locedit { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.shhd-locedit .shhd-input { max-width: 240px; border-radius: 10px; padding: 7px 12px; font-size: 14px; }
.shhd-ptable td.is-partial { background: #eef7ed; color: var(--shhd-green-dk); font-weight: 600; }

/* Zahlungsbalken */
.shhd-paybar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--shhd-green-bg); border: 1px solid #b9dbb7; border-left: 5px solid var(--shhd-green); border-radius: var(--shhd-radius); padding: 16px 20px; margin: 0 0 22px; }
.shhd-paybar__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.shhd-paybar__text strong { font-family: Poppins, sans-serif; color: var(--shhd-navy); font-size: 18px; }
.shhd-paybar__text span { color: var(--shhd-green-dk); font-size: 14px; font-weight: 600; }
.shhd-paybar__actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) {
	.shhd-paybar { flex-direction: column; align-items: stretch; padding: 14px; }
	.shhd-paybar__actions { flex-direction: column; }
	.shhd-paybar__actions .shhd-btn { width: 100%; }
}
