/* =========================================================
   APPLICATION UCP – GRUNDLAYOUT
   ========================================================= */

#application-ucp-page {
    --aucp-bg: #160d08;
    --aucp-panel: #1c100a;
    --aucp-panel-soft: #24140c;
    --aucp-panel-light: #302014;
    --aucp-line: #50321d;
    --aucp-line-soft: #3f2818;
    --aucp-accent: #98602d;
    --aucp-accent-light: #c58b45;
    --aucp-gold: #d6a363;
    --aucp-gold-light: #ead0a1;
    --aucp-text: #d9c4a5;
    --aucp-muted: #9d856b;

    width: 100%;
    max-width: 1120px;
    margin: 20px auto 40px;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;

    color: var(--aucp-text);
    background: var(--aucp-bg);

    border-top: 1px solid var(--aucp-line);
    border-right: 1px solid var(--aucp-line-soft);
    border-bottom: 1px solid var(--aucp-line);
    border-left: 4px solid #8c572a;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.30),
        inset 0 0 35px rgba(0, 0, 0, 0.18);

    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

#application-ucp-page,
#application-ucp-page *,
#application-ucp-page *::before,
#application-ucp-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HAUPTÜBERSCHRIFT
   ========================================================= */

.application-ucp-headline {
    width: 100%;
    min-height: 76px;
    padding: 15px 22px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    background:
        linear-gradient(
            90deg,
            rgba(58, 36, 22, 0.96),
            rgba(36, 20, 12, 0.96)
        );

    border-bottom: 1px solid #68401f;
}

.application-ucp-headline-text {
    min-width: 0;
}

.application-ucp-headline-text span {
    display: block;
    margin-bottom: 2px;

    color: #9e805d;

    font-family: "Spectral SC", Georgia, serif;
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.application-ucp-headline-text strong {
    display: block;

    color: var(--aucp-gold);

    font-family: "Spectral SC", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.application-ucp-headline-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: var(--aucp-accent-light);
    background: var(--aucp-panel-soft);

    border: 1px solid #68401f;

    font-size: 18px;
}


/* =========================================================
   EINLEITUNG
   ========================================================= */

.application-ucp-intro {
    width: 100%;
    padding: 15px 22px;

    color: #bba589;
    background: rgba(28, 16, 10, 0.88);

    border-bottom: 1px solid var(--aucp-line);

    font-family: Georgia, serif;
    font-size: 13px;
    line-height: 175%;
}


/* =========================================================
   INHALTSBEREICH
   ========================================================= */

.applucp-con {
    width: 100%;
    margin: 0;
    padding: 20px;

    display: grid;
    gap: 16px;

    background:
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 10px,
            rgba(197, 139, 69, 0.012) 10px,
            rgba(197, 139, 69, 0.012) 11px
        ),
        #1a0f09;
}


/* =========================================================
   KATEGORIEN
   ========================================================= */

.application-ucp-categories {
    width: 100%;
    min-width: 0;
}

.application-ucp-categories:empty {
    display: none;
}

.application-ucp-categories > div,
.application-ucp-categories > nav,
.application-ucp-categories > ul {
    width: 100%;
    margin: 0;
}

.application-ucp-categories ul {
    padding: 0;

    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    list-style: none;
}

.application-ucp-categories li {
    margin: 0;
}

.application-ucp-categories a:link,
.application-ucp-categories a:visited,
.application-ucp-categories a:active {
    min-height: 38px;
    padding: 9px 14px;

    display: inline-flex;
    align-items: center;

    color: #bea27e;
    background: rgba(36, 20, 12, 0.78);

    border: 1px solid rgba(197, 139, 69, 0.16);
    border-left: 3px solid #70451f;

    font-family: "Spectral SC", Georgia, serif;
    font-size: 11px;
    line-height: 145%;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.application-ucp-categories a:hover,
.application-ucp-categories a.active {
    color: #efd0a3;
    background: #302014;
    border-left-color: #b97839;
}


/* =========================================================
   INFORMATIONSBEREICH
   ========================================================= */

.application-ucp-infos {
    width: 100%;
    min-width: 0;
}

.application-ucp-infos:empty {
    display: none;
}

.application-ucp-infos > div,
.application-ucp-infos > table,
.application-ucp-infos > fieldset {
    width: 100%;
    margin: 0;
}

.application-ucp-infos .error,
.application-ucp-infos .error_message {
    padding: 12px 15px;

    color: #e0c3a0;
    background: #351b13;

    border: 1px solid #75402f;
    border-left: 4px solid #a95a43;

    font-size: 13px;
    line-height: 160%;
}


/* =========================================================
   PROFILFELDER
   ========================================================= */

.application-ucp-fields {
    width: 100%;
    min-width: 0;

    display: grid;
    gap: 16px;
}

.application-ucp-fields > br {
    display: none;
}

.applucp-con__item {
    width: 100%;
    min-width: 0;

    display: grid;
}


/* =========================================================
   EINZELNE FELDBOX
   ========================================================= */

.application-ucp-fields fieldset,
.application-ucp-fields > div,
.application-ucp-fields > table {
    max-width: 100%;
}

.application-ucp-fields fieldset {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;

    color: var(--aucp-text);
    background: rgba(28, 16, 10, 0.88);

    border-top: 1px solid var(--aucp-line);
    border-right: 1px solid var(--aucp-line-soft);
    border-bottom: 1px solid var(--aucp-line);
    border-left: 3px solid var(--aucp-accent);

    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
}

.application-ucp-fields fieldset legend {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 11px 14px;

    display: block;

    color: #c99559;
    background:
        linear-gradient(
            90deg,
            rgba(58, 36, 22, 0.72),
            rgba(36, 20, 12, 0.68)
        );

    border: 0;
    border-bottom: 1px solid #68401f;

    font-family: "Spectral SC", Georgia, serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* =========================================================
   KATEGORIEÜBERSCHRIFTEN DES PLUGINS
   ========================================================= */

.application-ucp-fields .thead,
.application-ucp-fields .tcat,
.application-ucp-fields .applucp-headline,
.application-ucp-fields .application_ucp_headline {
    padding: 11px 14px;

    color: #c99559;
    background:
        linear-gradient(
            90deg,
            rgba(58, 36, 22, 0.72),
            rgba(36, 20, 12, 0.68)
        );

    border: 0;
    border-bottom: 1px solid #68401f;
    border-left: 3px solid var(--aucp-accent);

    font-family: "Spectral SC", Georgia, serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* =========================================================
   TABELLEN DER GENERIERTEN FELDER
   ========================================================= */

.application-ucp-fields table {
    width: 100%;
    max-width: 100%;
    margin: 0;

    border-collapse: collapse;
    table-layout: auto;

    color: var(--aucp-text);
    background: rgba(28, 16, 10, 0.84);

    border-top: 1px solid var(--aucp-line);
    border-right: 1px solid var(--aucp-line-soft);
    border-bottom: 1px solid var(--aucp-line);
    border-left: 3px solid var(--aucp-accent);
}

.application-ucp-fields table td {
    padding: 10px 12px;

    color: var(--aucp-text);

    border-bottom: 1px solid rgba(197, 139, 69, 0.12);

    font-size: 13px;
    line-height: 160%;
    vertical-align: middle;
}

.application-ucp-fields table tr:last-child td {
    border-bottom: 0;
}

.application-ucp-fields .trow1,
.application-ucp-fields .trow2 {
    color: var(--aucp-text);
    background: rgba(28, 16, 10, 0.82);
}


/* =========================================================
   LABEL
   ========================================================= */

.app_ucp_label {
    width: 100%;
    margin: 0 0 7px;

    display: block;

    color: #c99559;

    font-family: "Spectral SC", Georgia, serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 145%;
    letter-spacing: 0.7px;
    text-align: left;
    text-transform: uppercase;
}

.app_ucp_label .smalltext,
.application-ucp-fields .smalltext {
    display: block;
    margin-top: 3px;

    color: #9f896e;

    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 155%;
    letter-spacing: 0;
    text-transform: none;
}


/* =========================================================
   EINGABEFELDER
   ========================================================= */

#application-ucp-page input.textbox,
#application-ucp-page input[type="text"],
#application-ucp-page input[type="number"],
#application-ucp-page input[type="date"],
#application-ucp-page input[type="email"],
#application-ucp-page input[type="url"],
#application-ucp-page input[type="password"],
#application-ucp-page select,
#application-ucp-page textarea {
    width: 100%;
    max-width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 9px 11px;

    color: #dbc4a6;
    background: var(--aucp-bg);

    border: 1px solid #57361f;
    border-radius: 0;

    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

#application-ucp-page textarea {
    min-height: 145px;

    resize: vertical;

    font-family: Georgia, serif;
    line-height: 175%;
}

#application-ucp-page input:focus,
#application-ucp-page select:focus,
#application-ucp-page textarea:focus {
    border-color: #9e6935;

    box-shadow:
        0 0 0 1px rgba(197, 139, 69, 0.18);
}

#application-ucp-page input::placeholder,
#application-ucp-page textarea::placeholder {
    color: #75614d;
}


/* =========================================================
   CHECKBOXEN UND RADIOBUTTONS
   ========================================================= */

#application-ucp-page input[type="checkbox"],
#application-ucp-page input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0 6px 0 0;

    vertical-align: middle;

    accent-color: #a96a2d;
}

#application-ucp-page label {
    color: #bea88c;

    font-size: 13px;
    line-height: 155%;
}


/* =========================================================
   SELECT2
   ========================================================= */

#application-ucp-page .select2-container {
    width: 100% !important;
    max-width: 100%;
}

#application-ucp-page .select2-container .select2-choice,
#application-ucp-page .select2-container-multi .select2-choices {
    min-height: 40px;

    color: #dbc4a6;
    background: var(--aucp-bg);

    border: 1px solid #57361f;
    border-radius: 0;
    box-shadow: none;
}

#application-ucp-page
.select2-container-multi
.select2-choices
.select2-search-choice {
    margin: 4px;
    padding: 6px 8px 6px 21px;

    color: #d9bd98;
    background: #342013;

    border: 1px solid #68401f;
    border-radius: 0;
    box-shadow: none;

    font-size: 12px;
}


/* =========================================================
   ALTE CUSTOM-ÜBERSCHRIFTEN NEUTRALISIEREN
   ========================================================= */

#application-ucp-page h1,
#application-ucp-page h3,
#application-ucp-page h7,
#application-ucp-page h8,
#application-ucp-page h9,
#application-ucp-page h13 {
    margin: 0;
    padding: 0;

    display: inline;

    color: inherit;
    background: transparent;

    border: 0;

    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}


/* =========================================================
   BUTTONBEREICH
   ========================================================= */

.applucp-con__item.applucp-buttons {
    width: 100%;
    padding: 15px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(28, 16, 10, 0.94),
            rgba(36, 20, 12, 0.92)
        );

    border-top: 1px solid var(--aucp-line);
    border-right: 1px solid var(--aucp-line-soft);
    border-bottom: 1px solid var(--aucp-line);
    border-left: 3px solid var(--aucp-accent);
}

.application-ucp-extend,
.application-ucp-save,
.application-ucp-additional-save {
    min-width: 0;
    text-align: center;
}

.application-ucp-extend:empty,
.application-ucp-additional-save:empty {
    display: none;
}


/* =========================================================
   BUTTONS
   ========================================================= */

#application-ucp-page input.button,
#application-ucp-page input[type="submit"],
#application-ucp-page button,
#application-ucp-page .button {
    min-height: 40px;
    padding: 9px 16px;

    color: #d8af78;
    background: #2f1c10;

    border: 1px solid #70451f;
    border-radius: 0;

    font-family: "Spectral SC", Georgia, serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.7px;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

#application-ucp-page input.button:hover,
#application-ucp-page input[type="submit"]:hover,
#application-ucp-page button:hover,
#application-ucp-page .button:hover {
    color: var(--aucp-bg);
    background: #d1a267;
    border-color: #d1a267;
}


/* =========================================================
   LINKS
   ========================================================= */

#application-ucp-page a:link,
#application-ucp-page a:visited,
#application-ucp-page a:active {
    color: #d1a064;
}

#application-ucp-page a:hover {
    color: #f0d3a7;
}


/* =========================================================
   ANZEIGE IM PROFIL UND POSTBIT
   ========================================================= */

.aucp_fieldContainer {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

.aucp_fieldContainer__item {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;

    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;

    color: #c7af90;
    background: rgba(36, 20, 12, 0.62);

    border-bottom: 1px solid rgba(197, 139, 69, 0.13);

    font-size: 13px;
    line-height: 155%;
}

.aucp_fieldContainer__item:last-child {
    border-bottom: 0;
}

.aucp_fieldContainer__item strong,
.aucp_fieldContainer__item b {
    color: #c99559;

    font-family: "Spectral SC", Georgia, serif;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


/* =========================================================
   SHOWTHREAD
   ========================================================= */

.aucp_showthread-wob {
    width: 100%;
    margin: 12px 0;
    padding: 14px;

    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;

    color: #d9c4a5;
    background:
        linear-gradient(
            110deg,
            rgba(197, 139, 69, 0.035),
            transparent 55%
        ),
        rgba(28, 16, 10, 0.86);

    border-top: 1px solid rgba(197, 139, 69, 0.20);
    border-right: 1px solid rgba(197, 139, 69, 0.10);
    border-bottom: 1px solid rgba(197, 139, 69, 0.20);
    border-left: 3px solid #98602d;
}

.aucp_showthread-wob__item {
    min-width: 0;
}

.aucp_showthread-wob__item:last-child {
    align-self: center;
}

.aucp_showthread-wob img {
    display: block;
    max-width: 100%;
    height: auto;

    border: 1px solid #79502b;

    outline: 3px solid rgba(22, 13, 8, 0.85);
    outline-offset: -4px;
}


/* =========================================================
   SCROLLBARS
   ========================================================= */

#application-ucp-page * {
    scrollbar-width: thin;
    scrollbar-color: #875326 #160d08;
}

#application-ucp-page *::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

#application-ucp-page *::-webkit-scrollbar-track {
    background: #160d08;
}

#application-ucp-page *::-webkit-scrollbar-thumb {
    background: #875326;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 750px) {

    .applucp-con__item.applucp-buttons {
        grid-template-columns: 1fr;
    }

    .application-ucp-extend,
    .application-ucp-save,
    .application-ucp-additional-save {
        width: 100%;
    }

    #application-ucp-page input.button,
    #application-ucp-page input[type="submit"],
    #application-ucp-page button,
    #application-ucp-page .button {
        width: 100%;
    }

    .aucp_showthread-wob {
        flex-wrap: wrap;
    }

}

@media screen and (max-width: 520px) {

    .application-ucp-headline {
        padding: 13px 15px;
    }

    .application-ucp-headline-text strong {
        font-size: 18px;
        letter-spacing: 1.4px;
    }

    .application-ucp-headline-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .application-ucp-intro {
        padding: 13px 15px;

        font-size: 12px;
    }

    .applucp-con {
        padding: 11px;
    }

    .application-ucp-fields table,
    .application-ucp-fields table tbody,
    .application-ucp-fields table tr,
    .application-ucp-fields table td {
        display: block;
        width: 100%;
    }

    .application-ucp-fields table td {
        padding: 8px 10px;
    }

    .aucp_fieldContainer__item {
        display: block;
    }

}

@media screen and (max-width: 390px) {

    .application-ucp-headline-icon {
        display: none;
    }

    .application-ucp-headline-text strong {
        font-size: 16px;
    }

}