/* ============================================================
   BVH DORSTEN
   MANNSCHAFTSKASSE - APP.CSS

   Technologie:
   .NET 10 / Blazor / MudBlazor

   Design:
   Mobile First
   BVH Dorsten Vereinsfarben

   ============================================================ */


/* ============================================================
   01. FARBEN UND DESIGN-VARIABLEN
   ============================================================ */

:root {
    --bvh-green: #17765E;
    --bvh-green-dark: #105543;
    --bvh-green-light: #E8F4EE;
    --bvh-dark: #25283D;
    --bvh-dark-light: #343850;
    --bvh-gold: #D6A43A;
    --bvh-background: #F4F6F8;
    --bvh-white: #FFFFFF;
    --bvh-border: #E6E9EF;
    --bvh-text: #25283D;
    --bvh-text-secondary: #657083;
    --bvh-success: #21855B;
    --bvh-error: #D64545;
    --bvh-warning: #D6A43A;
    --bvh-radius: 14px;
    --bvh-radius-large: 16px;
    --bvh-shadow: 0 2px 12px rgba(37, 40, 61, 0.04);
    --bvh-mobile-nav-height: 72px;
}


/* ============================================================
   02. GRUNDLAYOUT
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-width: 320px;
    margin: 0;
    background: var(--bvh-background);
    color: var(--bvh-text);
    font-family: "Roboto", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    touch-action: manipulation;
}

a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 2px solid var(--bvh-green);
    outline-offset: 3px;
}


/* ============================================================
   03. HAUPTINHALT
   ============================================================ */

.bvh-main-content {
    background: var(--bvh-background);
    min-height: 100vh;
    min-width: 0;
}

    .bvh-main-content .mud-container {
        width: 100%;
        min-width: 0;
    }

.bvh-home,
.bvh-players-page {
    width: 100%;
    min-width: 0;
}


/* ============================================================
   04. APPBAR
   ============================================================ */

.bvh-appbar {
    background: var(--bvh-white) !important;
    color: var(--bvh-dark) !important;
    border-bottom: 1px solid var(--bvh-border);
    box-shadow: none !important;
}

.bvh-app-title {
    color: var(--bvh-dark);
    font-weight: 700;
    letter-spacing: -0.2px;
}

.bvh-appbar .mud-icon-button {
    color: var(--bvh-green);
}


/* ============================================================
   05. DESKTOP-SEITENMENÜ
   ============================================================ */

.bvh-drawer {
    background: var(--bvh-dark) !important;
    color: var(--bvh-white) !important;
    border-right: none !important;
}

.bvh-drawer-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 15px 20px;
    text-align: center;
}

.bvh-logo {
    width: 90px;
    height: 110px;
    object-fit: contain;
    margin-bottom: 15px;
}

.bvh-club-name {
    color: var(--bvh-white);
    font-weight: 700;
}

.bvh-club-subtitle {
    color: #B6BECD;
    margin-top: 4px;
}


/* ============================================================
   06. DESKTOP-NAVIGATION
   ============================================================ */

.bvh-drawer .mud-nav-link {
    color: #D5DBE5 !important;
    border-radius: 10px;
    margin: 4px 12px;
    padding: 12px 15px;
    min-height: 46px;
    transition: background-color 0.2s ease;
}

.bvh-drawer .mud-nav-link-icon {
    color: #9EA7B8 !important;
}

.bvh-drawer .mud-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--bvh-white) !important;
}

    .bvh-drawer .mud-nav-link:hover .mud-nav-link-icon {
        color: var(--bvh-white) !important;
    }

.bvh-drawer .mud-nav-link.active {
    background: var(--bvh-green) !important;
    color: var(--bvh-white) !important;
}

    .bvh-drawer .mud-nav-link.active .mud-nav-link-icon {
        color: var(--bvh-white) !important;
    }


/* ============================================================
   07. MOBILE BOTTOM NAVIGATION
   ============================================================ */

.bvh-mobile-nav {
    display: none;
}

.bvh-mobile-nav-item {
    text-decoration: none;
}


/* ============================================================
   08. SEITENHEADER
   ============================================================ */

.bvh-dashboard-header {
    background: var(--bvh-white);
    border: 1px solid var(--bvh-border);
    border-radius: var(--bvh-radius-large);
    box-shadow: var(--bvh-shadow);
}

.bvh-home-header,
.bvh-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.bvh-home-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

    .bvh-home-brand > div {
        min-width: 0;
    }

.bvh-home-logo {
    width: 58px;
    height: 68px;
    object-fit: contain;
    flex-shrink: 0;
}

.bvh-dashboard-avatar {
    background: var(--bvh-white) !important;
    border: 1px solid var(--bvh-border);
    padding: 5px;
}

.bvh-dashboard-title {
    color: var(--bvh-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
    overflow-wrap: anywhere;
}

.bvh-dashboard-subtitle {
    color: var(--bvh-text-secondary);
    margin-top: 4px;
}


/* ============================================================
   09. DASHBOARD KARTEN
   ============================================================ */

.bvh-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bvh-white);
    border: 1px solid var(--bvh-border);
    border-radius: var(--bvh-radius-large);
    padding: 24px;
    height: 100%;
    min-width: 0;
    box-shadow: var(--bvh-shadow);
}

.bvh-card-title {
    color: var(--bvh-text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.bvh-card-value {
    color: var(--bvh-dark);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 10px;
    overflow-wrap: anywhere;
}

.bvh-card-green {
    border-left: 4px solid var(--bvh-green);
}

.bvh-card-gold {
    border-left: 4px solid var(--bvh-gold);
}

.bvh-card-dark {
    border-left: 4px solid var(--bvh-dark);
}

.bvh-money-value {
    font-size: clamp(16px, 1.7vw, 28px);
    overflow-wrap: anywhere;
}


/* ============================================================
   10. KASSENBESTAND
   ============================================================ */

.bvh-balance-card {
    height: 100%;
    min-width: 0;
    border-radius: var(--bvh-radius-large);
    background: linear-gradient( 135deg, var(--bvh-green) 0%, var(--bvh-green-dark) 100% );
    color: var(--bvh-white);
    box-shadow: var(--bvh-shadow);
}

.bvh-balance-label {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.bvh-balance-value {
    color: var(--bvh-white);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.bvh-balance-hint {
    color: rgba(255, 255, 255, 0.78);
}


/* ============================================================
   11. ALLGEMEINE INHALTSKARTEN
   ============================================================ */

.bvh-section-paper {
    background: var(--bvh-white);
    border: 1px solid var(--bvh-border);
    border-radius: var(--bvh-radius-large);
    box-shadow: var(--bvh-shadow);
    height: 100%;
    min-width: 0;
}

.bvh-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

    .bvh-section-heading .mud-typography {
        min-width: 0;
    }


/* ============================================================
   12. BUTTONS
   ============================================================ */

.bvh-button-primary {
    background: var(--bvh-green) !important;
    color: var(--bvh-white) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}

.bvh-section-paper .mud-button-filled-primary {
    border-radius: 10px;
}

.bvh-refresh-button,
.bvh-add-player-button {
    border-radius: 10px !important;
    min-height: 44px;
}

.bvh-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .bvh-quick-actions .mud-button-root {
        min-height: 44px;
        border-radius: 10px;
        font-weight: 600;
    }


/* ============================================================
   13. TABELLEN
   ============================================================ */

.bvh-table {
    background: transparent;
    border-radius: 14px;
    overflow: hidden;
}

    .bvh-table .mud-table-head {
        background: #F8FAFB;
    }

    .bvh-table .mud-table-cell {
        border-bottom: 1px solid var(--bvh-border);
    }

.bvh-section-paper .mud-table {
    background: transparent;
}

.bvh-section-paper .mud-table-row:hover {
    background-color: #F4F8F6;
}

.bvh-section-paper .mud-avatar {
    font-weight: 600;
}


/* ============================================================
   14. FORMULARE
   ============================================================ */

.bvh-section-paper .mud-input-outlined {
    border-radius: 10px;
}

.bvh-form-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.bvh-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

    .bvh-form-actions .mud-button-root {
        min-height: 46px;
        border-radius: 10px;
    }


/* ============================================================
   15. DASHBOARD BUCHUNGSLISTEN
   ============================================================ */

.bvh-desktop-list {
    display: block;
}

.bvh-mobile-list {
    display: none;
}

.bvh-mobile-entry,
.bvh-open-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--bvh-border);
    min-width: 0;
}

    .bvh-mobile-entry:last-child,
    .bvh-open-item:last-child {
        border-bottom: none;
    }

.bvh-mobile-entry-info,
.bvh-open-info {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.bvh-mobile-amount,
.bvh-open-amount {
    font-weight: 700;
    white-space: nowrap;
}

.bvh-open-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}


/* ============================================================
   16. SPIELERVERWALTUNG
   ============================================================ */

.bvh-players-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.bvh-player-search {
    width: 350px;
    max-width: 100%;
}

.bvh-players-desktop {
    display: block;
}

.bvh-players-mobile {
    display: none;
}


/* ============================================================
   17. MOBILE SPIELERKARTEN
   ============================================================ */

.bvh-mobile-player-card {
    padding: 16px;
    background: var(--bvh-white);
    border: 1px solid var(--bvh-border);
    border-left: 4px solid var(--bvh-green);
    border-radius: 14px;
    min-width: 0;
}

.bvh-mobile-player-header {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex-wrap: wrap;
}

.bvh-mobile-player-info {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.bvh-mobile-player-actions {
    display: flex;
    gap: 10px;
}

    .bvh-mobile-player-actions .mud-button-root {
        flex: 1;
        min-width: 0;
        min-height: 46px;
        font-size: 12px;
        border-radius: 10px;
    }


/* ============================================================
   18. TABLET UND SMARTPHONE
   ============================================================ */

@media (max-width: 959.98px) {

    /* Seitenmenü ausblenden */

    .bvh-desktop-only {
        display: none !important;
    }

    /* Hauptinhalt */

    .bvh-main-content {
        margin-left: 0 !important;
        padding-bottom: calc( var(--bvh-mobile-nav-height) + env(safe-area-inset-bottom) + 24px ) !important;
    }

    /* Appbar */

    .bvh-appbar {
        padding-left: 8px;
        padding-right: 8px;
    }

    /* Mobile Navigation */

    .bvh-mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: space-around;
        min-height: var(--bvh-mobile-nav-height);
        padding-bottom: env(safe-area-inset-bottom);
        background: var(--bvh-dark);
        border-top: 2px solid var(--bvh-green);
        z-index: 1400;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    }

    .bvh-mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        flex: 1;
        min-width: 0;
        min-height: 60px;
        padding: 6px 2px;
        color: #C4CAD5;
        text-decoration: none;
        font-size: 11px;
        font-weight: 500;
        text-align: center;
    }

        .bvh-mobile-nav-item .mud-icon-root {
            font-size: 24px;
        }

        .bvh-mobile-nav-item.active {
            color: var(--bvh-white);
            background: var(--bvh-green);
        }

            .bvh-mobile-nav-item.active .mud-icon-root {
                color: var(--bvh-white);
            }

    /* Große Touch-Flächen */

    .bvh-mobile-full-button {
        width: 100%;
        min-height: 48px;
    }

    /* Eingabefelder */

    .mud-input-control {
        max-width: 100%;
    }
}


/* ============================================================
   19. SMARTPHONE
   ============================================================ */

@media (max-width: 767px) {

    /* Seitenheader */

    .bvh-home-header,
    .bvh-page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .bvh-home-logo {
        width: 48px;
        height: 58px;
    }

    .bvh-dashboard-title {
        font-size: 1.35rem !important;
        line-height: 1.25;
    }

    .bvh-dashboard-subtitle {
        font-size: 12px;
    }

    .bvh-dashboard-header {
        padding: 16px !important;
    }

    .bvh-refresh-button,
    .bvh-add-player-button {
        width: 100%;
        min-height: 48px;
    }

    /* Karten */

    .bvh-card {
        padding: 14px;
        border-radius: 14px;
    }

    .bvh-card-title {
        font-size: 12px;
    }

    .bvh-card-value {
        font-size: 23px;
        margin-top: 6px;
    }

    .bvh-money-value {
        font-size: clamp(15px, 4vw, 22px);
    }

    /* Kassenbestand */

    .bvh-balance-card {
        padding: 20px !important;
    }

    .bvh-balance-value {
        font-size: 2rem;
    }

    /* Schnellaktionen */

    .bvh-quick-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

        .bvh-quick-actions .mud-button-root {
            width: 100%;
            min-width: 0;
            min-height: 48px;
            font-size: 12px;
        }

    /* Inhaltskarten */

    .bvh-section-paper {
        padding: 16px !important;
        border-radius: 14px;
    }

    .bvh-section-heading {
        flex-wrap: wrap;
    }

    /* Mobile Buchungsliste */

    .bvh-desktop-list {
        display: none;
    }

    .bvh-mobile-list {
        display: block;
    }

    .bvh-mobile-entry,
    .bvh-open-item {
        gap: 10px;
    }

    .bvh-mobile-entry-info,
    .bvh-open-info {
        font-size: 13px;
    }

    .bvh-mobile-amount,
    .bvh-open-amount {
        font-size: 13px;
    }

    /* Spielerverwaltung */

    .bvh-players-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .bvh-player-search {
        width: 100%;
    }

    .bvh-players-desktop {
        display: none;
    }

    .bvh-players-mobile {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .bvh-mobile-player-card {
        padding: 14px;
    }

    .bvh-mobile-player-header {
        gap: 10px;
    }

    .bvh-mobile-player-actions {
        gap: 8px;
    }

        .bvh-mobile-player-actions .mud-button-root {
            min-height: 48px;
            font-size: 11px;
            padding-left: 6px;
            padding-right: 6px;
        }

    /* Formulare */

    .bvh-form-actions {
        flex-direction: column-reverse;
    }

        .bvh-form-actions .mud-button-root {
            width: 100%;
            min-height: 48px;
        }
}


/* ============================================================
   20. KLEINE SMARTPHONES
   ============================================================ */

@media (max-width: 375px) {

    .bvh-home-logo {
        width: 42px;
        height: 50px;
    }

    .bvh-dashboard-title {
        font-size: 1.2rem !important;
    }

    .bvh-card {
        padding: 12px;
    }

    .bvh-card-title {
        font-size: 11px;
    }

    .bvh-card-value {
        font-size: 20px;
    }

    .bvh-money-value {
        font-size: 15px;
    }

    .bvh-mobile-nav-item {
        font-size: 10px;
    }

        .bvh-mobile-nav-item .mud-icon-root {
            font-size: 22px;
        }

    .bvh-mobile-player-actions .mud-button-root {
        font-size: 10px;
    }
}


/* ============================================================
   21. SAFE AREA FÜR IPHONE
   ============================================================ */

@supports (padding-bottom: env(safe-area-inset-bottom)) {

    @media (max-width: 959.98px) {

        .bvh-mobile-nav {
            padding-bottom: env(safe-area-inset-bottom);
        }
    }
}


/* ============================================================
   22. ANIMATIONEN
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {

    .bvh-card,
    .bvh-mobile-player-card,
    .bvh-section-paper {
        transition: box-shadow 0.2s ease, border-color 0.2s ease;
    }

        .bvh-card:hover,
        .bvh-mobile-player-card:hover {
            box-shadow: 0 6px 20px rgba(37, 40, 61, 0.08);
        }
}
/* ============================================================
   BVH APPBAR - RESPONSIVE
============================================================ */

/* Desktop */

.bvh-desktop-menu-button {
    display: flex;
    align-items: center;
}

.bvh-desktop-club-chip {
    display: flex;
    align-items: center;
}

.bvh-mobile-appbar-logo {
    display: none;
}

/* Smartphone und Tablet */

@media (max-width: 959.98px) {

    .bvh-desktop-menu-button {
        display: none !important;
    }

    .bvh-desktop-club-chip {
        display: none !important;
    }

    .bvh-mobile-appbar-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 44px;
    }

        .bvh-mobile-appbar-logo img {
            width: 34px;
            height: 40px;
            object-fit: contain;
        }

    .bvh-app-title {
        font-size: 1rem !important;
        font-weight: 700;
    }
}

/* ==========================================
   BVH PAYPAL IMPORT
========================================== */

.bvh-paypal-page {
    width: 100%;
    min-width: 0;
}

/* ==========================================
   UPLOAD BEREICH
========================================== */

.bvh-paypal-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 28px 20px;
    border: 2px dashed #17765E;
    border-radius: 16px;
    background: #F4F9F6;
    text-align: center;
    gap: 10px;
    transition: background 0.2s ease;
}

    .bvh-paypal-upload-area:hover {
        background: #EAF5EE;
    }

.bvh-paypal-file-input {
    display: block;
    width: 100%;
    max-width: 360px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #DCE3E7;
    border-radius: 10px;
    background: white;
    font-size: 14px;
    color: #25283D;
}

    .bvh-paypal-file-input::file-selector-button {
        padding: 10px 14px;
        margin-right: 12px;
        border: none;
        border-radius: 8px;
        background: #17765E;
        color: white;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
    }

/* ==========================================
   TRANSAKTIONSAUSWAHL
========================================== */

.bvh-paypal-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #17765E;
    cursor: pointer;
}

    .bvh-paypal-checkbox:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

.bvh-paypal-selection-actions {
    flex-wrap: wrap;
    gap: 8px;
}

/* ==========================================
   MOBILE TRANSAKTIONSKARTEN
========================================== */

.bvh-paypal-mobile-header {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
    min-width: 0;
}

.bvh-paypal-mobile-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 44px;
}

.bvh-paypal-mobile-info {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.bvh-paypal-mobile-header .mud-typography {
    overflow-wrap: anywhere;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 767.98px) {

    .bvh-paypal-upload-area {
        padding: 22px 12px;
        border-radius: 12px;
    }

    .bvh-paypal-file-input {
        font-size: 13px;
        max-width: 100%;
    }

        .bvh-paypal-file-input::file-selector-button {
            padding: 10px;
            margin-right: 6px;
        }

    .bvh-paypal-checkbox {
        width: 24px;
        height: 24px;
    }

    .bvh-paypal-selection-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

        .bvh-paypal-selection-actions .mud-button-root {
            width: 100%;
            min-height: 44px;
        }
}

@media (max-width: 374.98px) {

    .bvh-paypal-mobile-header {
        gap: 6px;
    }

    .bvh-paypal-file-input {
        padding: 8px;
    }
}

/* ==========================================
   BVH PAYPAL - AUTOMATISCHE SPIELERERKENNUNG
========================================== */

.bvh-paypal-suggestion-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #E1E6EA;
}

    .bvh-paypal-suggestion-row:last-child {
        border-bottom: none;
    }

.bvh-paypal-suggestion-info {
    flex: 1 1 auto;
    min-width: 0;
}

    .bvh-paypal-suggestion-info .mud-typography {
        overflow-wrap: anywhere;
    }

.bvh-paypal-suggestion-row .mud-button-root {
    flex-shrink: 0;
    min-height: 40px;
}

@media (max-width: 767.98px) {

    .bvh-paypal-suggestion-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .bvh-paypal-suggestion-info {
        flex-basis: 100%;
    }

    .bvh-paypal-suggestion-row .mud-button-root {
        margin-left: auto;
        min-height: 44px;
    }
}

/* ==========================================
   BVH DORSTEN - AUTHENTIFIZIERUNG
========================================== */

.bvh-auth-layout {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: #25283D;
}

.bvh-auth-background {
    position: fixed;
    width: 600px;
    height: 600px;
    top: -350px;
    right: -250px;
    border-radius: 50%;
    background: rgba(23, 118, 94, 0.15);
    pointer-events: none;
}

.bvh-auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}


/* ==========================================
   LOGIN-KARTE
========================================== */

.bvh-login-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bvh-login-card {
    width: 100%;
    max-width: 440px;
    padding: 36px;
    background: #FFFFFF;
    border: 1px solid #E3E9E6;
    border-radius: 22px;
    box-shadow: 0 15px 45px rgba(37, 40, 61, 0.08);
    position: relative;
}


/* ==========================================
   LOGO
========================================== */

.bvh-login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

    .bvh-login-logo img {
        width: 100px;
        height: 100px;
        object-fit: contain;
    }


/* ==========================================
   TITEL
========================================== */

.bvh-login-heading {
    text-align: center;
    margin-bottom: 30px;
}

    .bvh-login-heading h1 {
        margin: 0 0 10px;
        font-size: 28px;
        font-weight: 800;
        color: #25283D;
        letter-spacing: -0.5px;
    }

    .bvh-login-heading p {
        margin: 0;
        font-size: 14px;
        color: #7A8490;
        line-height: 1.6;
    }


/* ==========================================
   FORMULAR
========================================== */

.bvh-login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bvh-login-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .bvh-login-field label {
        color: #25283D;
        font-size: 14px;
        font-weight: 600;
    }

.bvh-login-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #D7DEDB;
    border-radius: 10px;
    outline: none;
    background: white;
    font-family: inherit;
    font-size: 15px;
    color: #25283D;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .bvh-login-input:focus {
        border-color: #17765E;
        box-shadow: 0 0 0 3px rgba(23, 118, 94, 0.12);
    }

    .bvh-login-input::placeholder {
        color: #A1A9B0;
    }


/* ==========================================
   VALIDIERUNG
========================================== */

.bvh-login-field .validation-message {
    color: #C62828;
    font-size: 12px;
}

.bvh-login-error {
    padding: 13px 15px;
    background: #FDECEC;
    border: 1px solid #F3CBCB;
    border-radius: 10px;
    color: #B3261E;
    font-size: 13px;
    line-height: 1.5;
}


/* ==========================================
   ANGEMELDET BLEIBEN
========================================== */

.bvh-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bvh-login-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #59636B;
    font-size: 13px;
    cursor: pointer;
}

    .bvh-login-remember input {
        width: 17px;
        height: 17px;
        accent-color: #17765E;
    }


/* ==========================================
   LOGIN-BUTTON
========================================== */

.bvh-login-button {
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 11px;
    background: #17765E;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

    .bvh-login-button:hover {
        background: #115D49;
    }

    .bvh-login-button:active {
        transform: scale(0.99);
    }

    .bvh-login-button:focus-visible {
        outline: 3px solid #D6A43A;
        outline-offset: 3px;
    }


/* ==========================================
   LOGIN-FUSSZEILE
========================================== */

.bvh-login-card-footer {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #EEF0F2;
    text-align: center;
}

    .bvh-login-card-footer p {
        margin: 4px 0;
        font-size: 12px;
        color: #7A8490;
        line-height: 1.5;
    }

    .bvh-login-card-footer a {
        color: #17765E;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
    }

        .bvh-login-card-footer a:hover {
            text-decoration: underline;
        }


/* ==========================================
   AUTH-FOOTER
========================================== */

.bvh-auth-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 18px;
    color: #B6BBCB;
    font-size: 12px;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    .bvh-auth-container {
        align-items: center;
        padding: 20px 14px;
    }

    .bvh-login-card {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .bvh-login-logo img {
        width: 82px;
        height: 82px;
    }

    .bvh-login-heading h1 {
        font-size: 24px;
    }

    .bvh-login-heading {
        margin-bottom: 24px;
    }
}

/* ==========================================
   LOGIN KARTE AUF DUNKLEM HINTERGRUND
========================================== */

.bvh-auth-layout .bvh-login-card {
    background: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* ==========================================
   BVH - BENUTZERMENÜ
========================================== */

.bvh-user-menu-button {
    margin-left: 12px;
    border-radius: 12px;
}

.bvh-user-menu-name {
    font-weight: 600;
    font-size: 13px;
    text-transform: none;
}

@media (max-width: 600px) {
    .bvh-user-menu-name {
        display: none;
    }

    .bvh-user-menu-button {
        margin-left: 4px;
        min-width: 40px;
    }
}