/* DAH-HM | Passwortansichten Anmeldeseiten | CSS | Version 1.4 | Stand 30.07.2026 */
/* ======================================================================
   Juniorinnen: Beiträge 9307 und 8448
   Junioren: Beiträge 9310 und 1015
   Die Gestaltung greift ausschließlich im gesperrten Zustand.
   ====================================================================== */

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) {
    --dah-password-red: #e90000;
    --dah-password-red-dark: #b90000;
    --dah-password-blue: #40709b;
    --dah-password-blue-light: #4488cc;
    --dah-password-accent: #da9694;
    --dah-password-accent-soft: #f8eeee;
    --dah-password-accent-rgb: 218, 150, 148;
    --dah-password-text: #252525;
    --dah-password-text-soft: #555d65;
    --dah-password-border: #e1e6eb;

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 760px);
    max-width: 760px;
    margin: clamp(24px, 5vw, 56px) auto;
    padding: clamp(30px, 5vw, 48px);
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 8%, rgba(var(--dah-password-accent-rgb), 0.14), transparent 28%),
        linear-gradient(145deg, #ffffff 0%, #fbfcfd 100%);
    border: 1px solid var(--dah-password-border);
    border-left: 5px solid var(--dah-password-accent);
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(26, 35, 44, 0.10);
}

/* Juniorinnen-Farbwelt */
body.dah-password-page-locked.dah-password-page-juniorinnen
article:is(#post-9307, #post-8448) {
    --dah-password-accent: #da9694;
    --dah-password-accent-soft: #f8eeee;
    --dah-password-accent-rgb: 218, 150, 148;
}

/* Junioren-Farbwelt */
body.dah-password-page-locked.dah-password-page-junioren
article:is(#post-9310, #post-1015) {
    --dah-password-accent: #40709b;
    --dah-password-accent-soft: #eef5fb;
    --dah-password-accent-rgb: 64, 112, 155;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015),
body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) *,
body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) *::before,
body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) *::after {
    box-sizing: border-box;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015)::after {
    content: "";
    position: absolute;
    top: -84px;
    right: -92px;
    width: 220px;
    height: 220px;
    background: rgba(64, 112, 155, 0.045);
    border-radius: 50%;
    pointer-events: none;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-image {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 0 18px;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-image::before {
    content: "";
    position: absolute;
    width: 112px;
    height: 112px;
    background: var(--dah-password-accent-soft);
    border: 1px solid rgba(var(--dah-password-accent-rgb), 0.22);
    border-radius: 50%;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 78px;
    height: auto;
    margin: 0;
    padding: 0;
    filter: drop-shadow(0 8px 13px rgba(0, 0, 0, 0.12));
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .entry-header {
    margin: 0 0 26px;
    padding: 0;
    text-align: center;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .entry-title {
    position: relative;
    min-height: 104px;
    margin: 0;
    padding: 0 0 46px;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-align: center;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .entry-title::before {
    content: "Turnieranmeldung";
    display: block;
    color: var(--dah-password-text);
    font-family: inherit;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    text-align: center;
    text-wrap: balance;
}

body.dah-password-page-locked.dah-password-page-juniorinnen
article:is(#post-9307, #post-8448) .entry-title::before {
    content: "Turnieranmeldung Juniorinnen";
}

body.dah-password-page-locked.dah-password-page-junioren
article:is(#post-9310, #post-1015) .entry-title::before {
    content: "Turnieranmeldung Junioren";
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .entry-title::after {
    content: "Dachauer Hallenmeisterschaft 2027";
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    display: block;
    color: var(--dah-password-accent);
    font-family: inherit;
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .entry-header::after {
    content: "";
    display: block;
    width: min(420px, 86%);
    height: 2px;
    margin: 0 auto;
    background: linear-gradient(
        90deg,
        rgba(var(--dah-password-accent-rgb), 0.7) 0%,
        rgba(var(--dah-password-accent-rgb), 0.7) 100%
    );
    border-radius: 999px;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .entry-meta,
body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .entry-footer {
    display: none !important;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .entry-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form {
    position: relative;
    width: 100%;
    margin: 0;
    padding: clamp(24px, 4vw, 34px);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(64, 112, 155, 0.16);
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(32, 33, 36, 0.06);
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form::before {
    content: "Geschützter Zugang";
    display: block;
    margin: 0 0 8px;
    color: var(--dah-password-blue);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.11em;
    text-align: center;
    text-transform: uppercase;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form::after {
    content: "Die Anmeldung ist ausschließlich für Vereine und berechtigte Ansprechpartner zugänglich.";
    display: block;
    margin: 22px 0 0;
    padding: 13px 16px;
    color: var(--dah-password-text-soft);
    background: rgba(var(--dah-password-accent-rgb), 0.10);
    border-radius: 12px;
    font-size: 0.86rem;
    line-height: 1.5;
    text-align: center;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form > p:first-of-type:empty {
    display: none;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form p {
    margin: 0 0 18px;
    color: var(--dah-password-text-soft);
    font-size: 0.98rem;
    line-height: 1.6;
    text-align: center;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form p:last-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
    margin-bottom: 0;
    text-align: left;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form label {
    display: grid;
    gap: 7px;
    color: var(--dah-password-text);
    font-size: 0.88rem;
    font-weight: 700;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form input[type="password"] {
    width: 100%;
    min-width: 0;
    height: 48px;
    margin: 0;
    padding: 10px 14px 10px 44px;
    color: var(--dah-password-text);
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e90000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 20px 20px;
    border: 1px solid #cfd6dd;
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(32, 33, 36, 0.04);
    font: inherit;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form input[type="password"]:focus {
    outline: none;
    border-color: var(--dah-password-blue-light);
    box-shadow: 0 0 0 3px rgba(68, 136, 204, 0.16);
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form input[type="submit"] {
    min-height: 48px;
    margin: 0;
    padding: 11px 46px 11px 22px;
    color: #ffffff;
    background-color: var(--dah-password-red);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
    background-size: 18px 18px;
    border: 1px solid var(--dah-password-red);
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(233, 0, 0, 0.18);
    font: inherit;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition:
        transform 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form input[type="submit"]:hover,
body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form input[type="submit"]:focus-visible {
    background-color: var(--dah-password-red-dark);
    border-color: var(--dah-password-red-dark);
    box-shadow: 0 10px 22px rgba(185, 0, 0, 0.22);
    transform: translateY(-1px);
}

body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form input[type="submit"]:focus-visible {
    outline: 3px solid rgba(68, 136, 204, 0.30);
    outline-offset: 3px;
}

@media (max-width: 700px) {
    body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) {
        width: calc(100% - 24px);
        margin: 20px auto 36px;
        padding: 28px 22px 32px;
        border-left-width: 4px;
        border-radius: 19px;
    }

    body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form {
        padding: 24px 20px;
    }

    body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form p:last-child {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form input[type="submit"] {
        width: 100%;
    }
}

@media (max-width: 420px) {
    body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) {
        width: calc(100% - 16px);
        margin-top: 14px;
        padding: 24px 16px 28px;
        border-left-width: 3px;
        border-radius: 16px;
    }

    body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-image::before {
        width: 94px;
        height: 94px;
    }

    body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-image img {
        width: 66px;
    }

    body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .entry-title::before {
        font-size: 1.55rem;
    }

    body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form {
        padding: 21px 16px;
        border-radius: 15px;
    }

    body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form p {
        font-size: 0.93rem;
    }

    body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form::after {
        font-size: 0.82rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form input[type="password"],
    body.dah-password-page-locked article:is(#post-9307, #post-8448, #post-9310, #post-1015) .post-password-form input[type="submit"] {
        transition: none;
    }
}
