/**
 * Ultra Media - Kundenkonto: Bestellungen, Rechnungen, Gutschriften,
 * Retouren und Passwort
 * Version 4.1.133
 */

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

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

.um-account-page__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-page__intro p,
.um-account-detail__hero p {
    margin: 4px 0 0;
    color: #6f6f6f;
    font-size: 13px;
    line-height: 1.5;
}

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

/* Uebersichten */
.um-account-records__list {
    display: grid;
    gap: 16px;
}

.um-account-record {
    overflow: hidden;
    border: 1px solid #d9c6b1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(35, 30, 25, 0.045);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.um-account-record:hover {
    border-color: #c5ac8f;
    box-shadow: 0 8px 22px rgba(35, 30, 25, 0.08);
    transform: translateY(-1px);
}

.um-account-record__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 20px;
    border-bottom: 1px solid #e7e2dd;
    background: #f7f6f4;
}

.um-account-record__type {
    display: block;
    margin: 0 0 3px;
    color: #8b745f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.um-account-record__number {
    margin: 0;
    color: #222;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
}

.um-account-record__date {
    color: #555;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.um-account-record__body {
    padding: 20px;
}

.um-account-record__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.um-account-record__facts--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.um-account-record__fact {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #ece7e1;
    border-radius: 7px;
    background: #fcfbfa;
}

.um-account-record__fact span {
    margin: 0 0 4px;
    color: #838383;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.um-account-record__fact strong {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.um-account-record__fact--status strong {
    color: #715d49;
}

.um-account-record__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 9px;
    margin: 16px 0 0;
}

.um-account-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 1px solid #c5ac8f !important;
    border-radius: 5px !important;
    background: #c5ac8f !important;
    color: #222 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.um-account-button:hover,
.um-account-button:focus {
    border-color: #b89b7a !important;
    background: #bfa483 !important;
    color: #111 !important;
}

.um-account-button--secondary {
    border-color: #d4cec7 !important;
    background: #fff !important;
    color: #333 !important;
}

.um-account-button--secondary:hover,
.um-account-button--secondary:focus {
    border-color: #a98c6e !important;
    background: #f7f6f4 !important;
}

.um-account-empty {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 210px;
    padding: 34px 20px;
    border: 1px dashed #d9c6b1;
    border-radius: 10px;
    background: #fbfaf8;
    color: #777;
    text-align: center;
}

.um-account-empty strong {
    color: #333;
    font-size: 17px;
}

.um-account-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #c5ac8f;
    color: #222;
    font-size: 18px;
}

.um-account-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 20px 0 0;
}

.um-account-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    margin: 0 !important;
    padding: 0 10px;
    border: 1px solid #d4cec7;
    border-radius: 5px;
    background: #fff;
    color: #333;
    text-decoration: none;
}

.um-account-pagination__link:hover,
.um-account-pagination__link.is-current {
    border-color: #c5ac8f;
    background: #c5ac8f;
    color: #222;
}

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

.um-account-detail__hero h2 {
    margin: 3px 0 0;
    color: #222;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
}

.um-account-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
    align-items: start;
    gap: 18px;
}

.um-account-detail__main,
.um-account-detail__aside {
    min-width: 0;
}

.um-account-detail__aside {
    position: sticky;
    top: 24px;
}

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

.um-account-card__header {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 78px;
    padding: 17px 20px;
    border-bottom: 1px solid #e6e1dc;
    background: #f7f6f4;
}

.um-account-card__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-card__header h3,
.um-account-summary-card h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}

.um-account-card__header p {
    margin: 4px 0 0;
    color: #777;
    font-size: 12px;
    line-height: 1.45;
}

.um-account-card__body {
    padding: 20px;
    color: #555;
    font-size: 13px;
    line-height: 1.55;
}

.um-account-card__body > strong:first-child {
    display: block;
    margin: 0 0 7px;
    color: #333;
    font-size: 14px;
}

.um-account-summary-card {
    padding: 20px;
}

.um-account-summary-card h3 {
    padding: 0 0 12px;
    border-bottom: 1px solid #ddd7d0;
}

.um-account-summary-card__tax {
    margin: 14px 0;
    color: #777;
    font-size: 12px;
    line-height: 1.5;
}

.um-account-summary-card__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 0 0;
    border-top: 1px solid #e3ddd6;
}

.um-account-summary-card__total span {
    color: #555;
    font-size: 14px;
}

.um-account-summary-card__total strong {
    color: #222;
    font-size: 20px;
    white-space: nowrap;
}

.um-account-line-items {
    width: 100%;
}

.um-account-line-items__header,
.um-account-line-item {
    display: grid;
    align-items: center;
    gap: 12px;
}

.um-account-line-items__header {
    padding: 11px 16px;
    border-bottom: 1px solid #ddd7d0;
    background: #fbfaf8;
    color: #777;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.um-account-line-items__header--order,
.um-account-line-item--order {
    grid-template-columns: 48px minmax(180px, 1fr) 70px 115px 125px;
}

.um-account-line-items__header--invoice,
.um-account-line-item--invoice {
    grid-template-columns: 48px minmax(180px, 1fr) 65px 70px 110px 120px;
}

.um-account-line-item {
    min-height: 76px;
    padding: 14px 16px;
    border-bottom: 1px solid #e7e2dd;
    color: #444;
    font-size: 12px;
}

.um-account-line-item:last-child {
    border-bottom: 0;
}

.um-account-line-item__product {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.um-account-line-item__product strong {
    color: #222;
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.um-account-line-item__product span {
    margin: 3px 0 0;
    color: #777;
    font-size: 11px;
    line-height: 1.4;
}

.um-account-line-item__value {
    text-align: right;
    white-space: nowrap;
}

.um-account-line-item__position {
    color: #777;
}

.um-account-line-item__value--total {
    color: #222;
    font-weight: 700;
}

.um-account-inline-textarea {
    width: 100%;
    min-height: 62px;
    margin: 8px 0 0;
    padding: 8px 10px;
    border: 1px solid #d4cec7;
    border-radius: 6px;
}

.um-account-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 18px 0 0;
}

.um-account-address-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}

.um-account-address-list > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 9px 0;
    border-bottom: 1px solid #eee9e4;
}

.um-account-address-list > div span {
    margin: 0 0 3px;
    color: #888;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.um-account-address-list > div strong {
    color: #444;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.um-account-note {
    padding: 14px 16px;
    border: 1px solid #e2ded9;
    border-radius: 7px;
    background: #fbfaf8;
    color: #666;
}

.um-account-upload-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.um-account-upload-form input[type="file"] {
    flex: 1 1 260px;
    min-height: 44px;
    padding: 8px;
    border: 1px solid #d4cec7;
    border-radius: 7px;
    background: #fff;
}

/* Passwort */
.um-account-password__form {
    width: 100%;
}

.um-account-password__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.um-account-password__body .um-account-field:first-child {
    grid-column: 1 / -1;
}

.um-account-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.um-account-field > label {
    margin: 0 0 7px;
    color: #555;
    font-size: 12px;
    font-weight: 600;
}

.um-account-password__control {
    position: relative;
}

.um-account-password__control input {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 10px 92px 10px 13px;
    border: 1px solid #d4cec7;
    border-radius: 7px;
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 13px;
}

.um-account-password__control input:focus {
    outline: 0;
    border-color: #a98c6e;
    box-shadow: 0 0 0 3px rgba(197, 172, 143, 0.2);
}

.um-account-password__toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    min-height: 32px;
    padding: 0 9px;
    border: 0;
    border-left: 1px solid #ddd7d0;
    background: transparent;
    color: #666;
    font-size: 11px;
    cursor: pointer;
    transform: translateY(-50%);
}

.um-account-password__strength,
.um-account-password__match {
    margin: 7px 0 0;
    color: #777;
    font-size: 11px;
}

.um-account-password__strength > span {
    display: block;
    width: 0;
    height: 3px;
    margin: 0 0 5px;
    border-radius: 2px;
    background: #c5ac8f;
    transition: width 0.2s ease, background 0.2s ease;
}

.um-account-password__strength.is-weak > span { width: 33%; background: #aa4a44; }
.um-account-password__strength.is-medium > span { width: 66%; background: #c58e37; }
.um-account-password__strength.is-strong > span { width: 100%; background: #4f8058; }
.um-account-password__match.is-match { color: #3d7148; }
.um-account-password__match.is-error { color: #9a372e; }

.um-account-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 18px 0 0;
    padding: 14px 16px;
    border: 1px solid #d9c6b1;
    border-radius: 9px;
    background: #f7f6f4;
}

.um-account-form-actions__hint {
    color: #777;
    font-size: 12px;
}

.um-account-message,
.um-account-page > .success,
.um-account-page > .error,
.um-account-password__form > .success,
.um-account-password__form > .error {
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid #cbdccf;
    border-radius: 7px;
    background: #edf6ef;
    color: #356440;
}

.um-account-password__form > .error,
.um-account-page > .error {
    border-color: #e1c5c2;
    background: #fbefee;
    color: #8e3832;
}

/* Kundenkonto-Menue und globale Bezeichnung */
body.um-account-area-page #tri_content .konto-nav,
body.um-account-area-page #tri_content .bereich_menu,
body.um-account-area-page #tri_content .menu_bereich {
    position: sticky;
    top: 24px;
}

@media screen and (max-width: 1100px) {
    .um-account-detail__layout {
        grid-template-columns: minmax(0, 1fr) 270px;
    }

    .um-account-line-items__header--order,
    .um-account-line-item--order {
        grid-template-columns: 42px minmax(150px, 1fr) 58px 100px 110px;
    }

    .um-account-line-items__header--invoice,
    .um-account-line-item--invoice {
        grid-template-columns: 42px minmax(145px, 1fr) 56px 58px 96px 105px;
    }
}

@media screen and (max-width: 900px) {
    .um-account-record__facts--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .um-account-detail__layout {
        grid-template-columns: 1fr;
    }

    .um-account-detail__aside {
        position: static;
    }

    .um-account-info-grid {
        grid-template-columns: 1fr;
    }

    .um-account-line-items__header {
        display: none;
    }

    .um-account-line-item,
    .um-account-line-item--order,
    .um-account-line-item--invoice {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 16px;
        padding: 16px;
    }

    .um-account-line-item__product {
        grid-column: 1 / -1;
    }

    .um-account-line-item__position,
    .um-account-line-item__value {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        text-align: right;
    }

    .um-account-line-item__position::before,
    .um-account-line-item__value::before {
        color: #888;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        content: attr(data-label);
    }
}

@media screen and (max-width: 767px) {
    .um-account-page__intro,
    .um-account-detail__hero,
    .um-account-record__header,
    .um-account-form-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .um-account-record__facts,
    .um-account-record__facts--three,
    .um-account-address-list,
    .um-account-password__body {
        grid-template-columns: 1fr;
    }

    .um-account-password__body .um-account-field:first-child {
        grid-column: auto;
    }

    .um-account-record__actions,
    .um-account-form-actions {
        align-items: stretch;
    }

    .um-account-record__actions .um-account-button,
    .um-account-form-actions .um-account-button {
        width: 100%;
    }

    .um-account-card__header {
        align-items: flex-start;
    }

    .um-account-line-item,
    .um-account-line-item--order,
    .um-account-line-item--invoice {
        grid-template-columns: 1fr;
    }

    body.um-account-area-page #tri_content .konto-nav,
    body.um-account-area-page #tri_content .bereich_menu,
    body.um-account-area-page #tri_content .menu_bereich {
        position: static;
    }
}
