/**
 * Ultra Media - Kundenkonto / Meine Daten
 * Version 4.1.132
 */

.um-account-profile,
.um-account-profile * {
    box-sizing: border-box;
}

.um-account-profile {
    width: 100%;
    margin: 0 0 42px;
}

.um-account-profile__form {
    width: 100%;
    margin: 0;
}

.um-account-profile__panel {
    width: 100%;
}

.um-account-profile__intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 18px;
    padding: 18px 22px;
    border: 1px solid #e2ded9;
    border-radius: 10px;
    background: #f7f6f4;
}

.um-account-profile__intro p {
    margin: 3px 0 0;
    color: #6f6f6f;
    font-size: 13px;
    line-height: 1.5;
}

.um-account-profile__eyebrow {
    display: block;
    color: #8b745f;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.um-account-profile__change-state {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    color: #777;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.um-account-profile__change-state.is-dirty {
    color: #8b5a23;
}

.um-account-profile__change-state.is-saving {
    color: #333;
}

.um-account-profile__groups {
    counter-reset: um-account-section;
    display: grid;
    gap: 18px;
}

.um-account-profile__section {
    counter-increment: um-account-section;
    overflow: hidden;
    border: 1px solid #d9c6b1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(35, 30, 25, 0.045);
}

.um-account-profile__section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 82px;
    padding: 18px 22px;
    border-bottom: 1px solid #e6e1dc;
    background: #f7f6f4;
}

.um-account-profile__section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #c5ac8f;
    color: #222;
    font-size: 14px;
    font-weight: 700;
}

.um-account-profile__section-number::before {
    content: counter(um-account-section);
}

.um-account-profile__section-heading {
    min-width: 0;
}

.um-account-profile .um-account-profile__section .card-title {
    margin: 0 !important;
    padding: 0 0 6px !important;
    border: 0 !important;
    border-bottom: 1px solid #c5ac8f !important;
    color: #333;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.3;
}

.um-account-profile__section-description {
    margin: 5px 0 0;
    color: #777;
    font-size: 12px;
    line-height: 1.45;
}

.um-account-profile .um-account-profile__section-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    width: 100%;
    margin: 0;
    padding: 22px !important;
    background: #fff;
}

.um-account-profile__field {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0 !important;
    line-height: normal !important;
}

.um-account-profile__field.is-full,
.um-account-profile__field:has(textarea) {
    grid-column: 1 / -1;
}

.um-account-profile__field.is-hidden {
    display: none !important;
}

.um-account-profile__field > label {
    float: none !important;
    width: auto !important;
    margin: 0 0 7px !important;
    color: #555;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

.um-account-profile__field > label sup {
    position: static;
    color: #9a372e;
    font-size: 11px;
    line-height: inherit;
}

.um-account-profile__control {
    display: block;
    width: 100%;
    min-width: 0;
}

.um-account-profile__control > input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.um-account-profile__control > select,
.um-account-profile__control > textarea,
.um-account-profile__control .Feld:not([type="checkbox"]):not([type="radio"]) {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 46px;
    margin: 0 !important;
    padding: 10px 13px !important;
    border: 1px solid #d4cec7 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #333 !important;
    font-family: inherit;
    font-size: 13px !important;
    line-height: 1.35 !important;
    box-shadow: none !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.um-account-profile__control > textarea,
.um-account-profile__control textarea.Feld {
    min-height: 105px;
    resize: vertical;
}

.um-account-profile__control > select,
.um-account-profile__control select.Feld,
.um-account-profile select.Feld[size="1"] {
    width: 100% !important;
    cursor: pointer;
}

.um-account-profile__control > input:not([type="checkbox"]):not([type="radio"]):focus,
.um-account-profile__control > select:focus,
.um-account-profile__control > textarea:focus,
.um-account-profile__control .Feld:focus {
    outline: 0 !important;
    border-color: #a98c6e !important;
    box-shadow: 0 0 0 3px rgba(197, 172, 143, 0.2) !important;
}

.um-account-profile__field.is-check .um-account-profile__control {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid #d4cec7;
    border-radius: 7px;
    background: #fff;
}

.um-account-profile__field.is-check input[type="checkbox"],
.um-account-profile__field.is-check input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 8px 0 0 !important;
    accent-color: #c5ac8f;
}

.um-account-profile__actions {
    position: static;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 18px 0 0;
    padding: 14px 16px;
    border: 1px solid #d9c6b1;
    border-radius: 9px;
    background: rgba(247, 246, 244, 0.98);
    box-shadow: 0 8px 24px rgba(34, 29, 24, 0.12);
}

.um-account-profile .anmeldung_pflichtfelder_hinweis {
    margin: 0;
    color: #777;
    font-size: 12px;
}

.um-account-profile__save {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 44px;
    margin: 0 !important;
    padding: 0 22px !important;
    border-color: #c5ac8f !important;
    background: #c5ac8f !important;
    color: #111 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.um-account-profile__save:hover,
.um-account-profile__save:focus {
    border-color: #b39778 !important;
    background: #bfa181 !important;
    color: #111 !important;
}

.um-account-profile__save[disabled] {
    opacity: 0.65;
    cursor: wait;
}

.um-account-profile > form > .success,
.um-account-profile > form > .error,
.um-account-profile__form > .success,
.um-account-profile__form > .error {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.5;
}

.um-account-profile__form > .success {
    border: 1px solid #bad7ae;
    background: #edf7e8;
    color: #26743a;
}

.um-account-profile__form > .error {
    border: 1px solid #e1b8b5;
    background: #fff0ef;
    color: #8f2923;
}

/* Kundenkonto-Navigation im gleichen ruhigen Card-Stil. */
body.um-account-profile-page .tri_sidebar.columns.three {
    position: sticky;
    top: 20px;
    margin-top: 54px;
}

body.um-account-profile-page ul.konto-nav {
    overflow: hidden;
    border: 1px solid #e2ded9;
    border-radius: 9px;
    background: #f7f6f4;
    box-shadow: 0 2px 8px rgba(35, 30, 25, 0.055);
}

body.um-account-profile-page ul.konto-nav li a {
    position: relative;
    padding: 11px 16px;
    color: #444;
    font-size: 13px;
    text-decoration: none;
}

body.um-account-profile-page ul.konto-nav li.active a,
body.um-account-profile-page ul.konto-nav li a:hover {
    background: #eee7df;
    color: #111;
    text-decoration: none;
}

body.um-account-profile-page ul.konto-nav li.active a::before {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #c5ac8f;
    content: "";
}

@media screen and (max-width: 1100px) {
    body.um-account-profile-page .tri_sidebar.columns.three {
        position: static;
        margin-top: 0;
    }
}

@media screen and (max-width: 767px) {
    .um-account-profile__intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 16px;
    }

    .um-account-profile__change-state {
        white-space: normal;
    }

    .um-account-profile__section-header {
        min-height: 72px;
        padding: 15px 16px;
    }

    .um-account-profile .um-account-profile__section-body {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 17px 16px !important;
    }

    .um-account-profile__field,
    .um-account-profile__field.is-full {
        grid-column: auto;
    }

    .um-account-profile__actions {
        position: static;
        align-items: stretch;
        flex-direction: column;
        padding: 14px;
        box-shadow: none;
    }

    .um-account-profile__save {
        width: 100%;
    }
}
