
/* ==================================================
   BELLEGRAVES · MOURNING VEIL
   ACCOUNT PANEL
   ================================================== */

:root {
    --mv-account-bg: #241b23;
    --mv-account-wine: #633746;
    --mv-account-gold: #bd9677;
    --mv-account-text: #ead9cd;
    --mv-account-muted: #bba7a3;
    --mv-account-border: rgba(197,148,119,.35);
}

/* ================================================
   HAUPTPANEL
   ================================================ */

#header #panel.mv-member-panel {
    width: calc(100% - 32px);
    max-width: 1200px;

    margin: 14px auto 20px !important;
    padding: 0 !important;

    overflow: visible !important;

    border: 1px solid var(--mv-account-border) !important;
    border-radius: 24px !important;

    background:
        linear-gradient(
            110deg,
            #39252e 0%,
            #261d25 55%,
            #1c171e 100%
        ) !important;

    box-shadow:
        0 15px 35px rgba(0,0,0,.25),
        inset 0 1px rgba(255,229,204,.05) !important;
}

/* ================================================
   OBERE LEISTE
   ================================================ */

#panel.mv-member-panel .upper {
    background: transparent !important;

    margin: 0 !important;
    padding: 14px 20px !important;

    border-bottom: 1px solid var(--mv-account-border);
}

#panel.mv-member-panel .upper > .wrapper {
    width: 100%;
    max-width: none;

    margin: 0 !important;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 14px 24px;
}

/* ================================================
   SUCHFELD
   ================================================ */

#panel.mv-member-panel #search {
    flex: 0 1 255px;

    display: flex;
    align-items: center;
    gap: 8px;

    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

#panel.mv-member-panel #search form {
    display: flex;
    align-items: center;
    gap: 8px;

    width: 100%;
    margin: 0;
}

#panel.mv-member-panel #search input.textbox,
#panel.mv-member-panel #search input[type="text"] {
    width: 100%;
    min-width: 0;

    margin: 0 !important;
    padding: 10px 15px !important;

    background: rgba(17,14,19,.8) !important;

    border: 1px solid var(--mv-account-border) !important;
    border-radius: 30px !important;

    color: var(--mv-account-text) !important;

    font-size: 13px;
}

#panel.mv-member-panel #search input.button,
#panel.mv-member-panel #search input[type="submit"] {
    flex: 0 0 auto;

    padding: 10px 15px !important;
    margin: 0 !important;

    border: 1px solid var(--mv-account-border) !important;
    border-radius: 30px !important;

    color: var(--mv-account-text) !important;
    background: var(--mv-account-wine) !important;

    font-size: 12px;
    cursor: pointer;
}

/* ================================================
   WILLKOMMENSBEREICH
   ================================================ */

#panel.mv-member-panel .mv-account-welcome {
    flex: 1 1 350px;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    gap: 12px 22px;
}

.mv-account-identity {
    display: flex;
    flex-direction: column;

    gap: 3px;
    min-width: 0;
}

.mv-account-eyebrow {
    display: block;

    font-family: Georgia, serif;
    font-size: 10px;
    font-weight: normal;

    color: var(--mv-account-gold);

    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.mv-account-greeting {
    display: block;

    color: var(--mv-account-text);

    font-family: Georgia, serif;
    font-size: 13px;
    line-height: 1.6;
}

.mv-account-greeting a {
    color: #e6b9b1 !important;
    text-decoration: none;
}

/* ================================================
   ABMELDEN
   ================================================ */

#panel.mv-member-panel .mv-account-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 16px;

    border: 1px solid var(--mv-account-border);
    border-radius: 30px;

    color: var(--mv-account-text) !important;
    background: rgba(20,15,21,.55);

    font-size: 11px;
    white-space: nowrap;
    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease;
}

#panel.mv-member-panel .mv-account-logout:hover {
    background: rgba(131,71,89,.5);
    color: #fff !important;
}

/* ================================================
   UNTERE BENUTZERLEISTE
   ================================================ */

#panel.mv-member-panel .lower {
    background: transparent !important;

    margin: 0 !important;
    padding: 10px 20px 14px !important;

    border: 0 !important;
}

#panel.mv-member-panel .lower > .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    width: 100%;
    max-width: none;
    margin: 0;

    gap: 10px 22px;
}

.mv-account-administration,
.mv-account-shortcuts {
    min-width: 0;
}

/* ================================================
   MENÜLISTEN
   ================================================ */

#panel.mv-member-panel .mv-account-actions ul.menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;

    width: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    gap: 7px;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    float: none !important;
    list-style: none;
}

#panel.mv-member-panel .mv-account-actions ul.menu li {
    float: none !important;

    margin: 0 !important;
    padding: 0 !important;
}

#panel.mv-member-panel .mv-account-actions ul.menu li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding: 8px 13px !important;

    border: 1px solid var(--mv-account-border) !important;
    border-radius: 30px !important;

    background: rgba(94,52,67,.35) !important;

    color: var(--mv-account-text) !important;

    font-family: Georgia, serif;
    font-size: 11px;
    font-weight: normal;
    line-height: 1.4;
    letter-spacing: .5px;

    text-decoration: none !important;
    white-space: normal;

    transition:
        background .2s ease,
        border-color .2s ease;
}

#panel.mv-member-panel .mv-account-actions ul.menu li a:hover {
    background: rgba(127,73,89,.6) !important;
    border-color: rgba(224,171,132,.6) !important;
    color: #fff !important;
}

/* ================================================
   GÄSTE
   ================================================ */

#panel.mv-member-panel .mv-guest-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;
}

#panel.mv-member-panel .mv-guest-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 9px 18px;

    border: 1px solid var(--mv-account-border);
    border-radius: 30px;

    color: var(--mv-account-text) !important;

    font-family: Georgia, serif;
    font-size: 12px;

    text-decoration: none;
}

#panel.mv-member-panel .mv-guest-login {
    background: rgba(24,17,23,.75);
}

#panel.mv-member-panel .mv-guest-register {
    background: linear-gradient(
        120deg,
        #784354,
        #583140
    );
}

#panel.mv-member-panel .mv-guest-actions a:hover {
    background: #875268;
    color: #fff !important;
}

/* ================================================
   FOKUS
   ================================================ */

#panel.mv-member-panel a:focus-visible,
#panel.mv-member-panel input:focus-visible {
    outline: 2px solid #d7ae88 !important;
    outline-offset: 3px;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 900px) {

    #panel.mv-member-panel .upper > .wrapper,
    #panel.mv-member-panel .lower > .wrapper {
        justify-content: center;
    }

    #panel.mv-member-panel #search {
        flex: 1 1 260px;
        max-width: 400px;
    }

    #panel.mv-member-panel .mv-account-welcome {
        flex: 1 1 300px;
        justify-content: center;
    }

    #panel.mv-member-panel .mv-account-actions ul.menu {
        justify-content: center;
    }
}

@media (max-width: 600px) {

    #header #panel.mv-member-panel {
        width: calc(100% - 18px);
        border-radius: 18px !important;
    }

    #panel.mv-member-panel .upper,
    #panel.mv-member-panel .lower {
        padding: 12px !important;
    }

    #panel.mv-member-panel .upper > .wrapper,
    #panel.mv-member-panel .lower > .wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    #panel.mv-member-panel #search {
        flex: none;
        width: 100%;
        max-width: none;
    }

    #panel.mv-member-panel .mv-account-welcome {
        flex: none;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .mv-account-identity {
        align-items: center;
    }

    #panel.mv-member-panel .mv-account-actions ul.menu {
        justify-content: center;
    }

    #panel.mv-member-panel .mv-account-actions ul.menu li a {
        font-size: 10px;
        padding: 8px 10px !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    #panel.mv-member-panel a {
        transition: none !important;
    }
}
