/* =========================================================
   Alleshier UI – Shared / Clean Pill Design
   Datei: custom-ah-ui.css
   ========================================================= */


/* =========================================================
   1) DESIGN TOKENS / BASIS
   ========================================================= */

.ah-up{
    color: var(--ah-text);
    background:
        radial-gradient(1200px 420px at 35% -10%, rgba(245, 159, 0, .16), rgba(245, 159, 0, 0) 60%),
        var(--ah-page);
}

/* =========================================================
   2) HERO
   ========================================================= */

.ah-up .ah-up-hero{
    margin-bottom: var(--ah-hero-content-gap);
    background: linear-gradient(90deg, var(--ah-accent), var(--ah-accent-2));
    color: #fff;
    border-radius: 26px;
    box-shadow: 0 16px 38px rgba(255, 165, 0, .18);
    position: relative;
    overflow: hidden;
}

.ah-up .ah-up-hero::after{
    content: "";
    position: absolute;
    right: -6rem;
    bottom: -9rem;
    width: 22rem;
    height: 22rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    pointer-events: none;
}

.ah-up .ah-up-hero .title,
.ah-up .ah-up-hero .sub,
.ah-up .ah-up-hero .ah-hero-icon,
.ah-up .ah-up-hero .ah-unread-pill{
    position: relative;
    z-index: 1;
}

.ah-up .ah-up-hero .title{
    font-weight: 950;
}

.ah-up .ah-up-hero .sub{
    opacity: .85;
    font-weight: 600;
    max-width: 62ch;
}

.ah-up .ah-up-hero .ah-hero-icon{
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.ah-up .ah-up-hero .ah-hero-icon i{
    display: block;
    line-height: 1;
}


/* =========================================================
   3) PROFILE / USER CARDS
   ========================================================= */

.ah-up .ah-up-card{
    border: 1px solid var(--up-soft);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.ah-up .ah-up-head{
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--up-soft);
}

.ah-up .ah-up-head-row{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

.ah-up .ah-up-title,
.ah-up .ah-up-head h3{
    grid-column: 2;
    justify-self: center;
    font-weight: 800;
    color: rgba(0, 0, 0, .82);
    letter-spacing: .01em;
    margin: 0;
}

.ah-up .ah-up-tag{
    grid-column: 3;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .18rem .55rem;
    border-radius: 999px;
    font-weight: 900;
    font-size: .78rem;
    line-height: 1;
    color: #c87400;
    background: rgba(255, 165, 0, .14);
    border: 1px solid rgba(255, 165, 0, .25);
    box-shadow: none;
    cursor: default;
    pointer-events: none;
}

.ah-up .ah-up-badge-row{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem;
}

.ah-up .ah-up-content{
    padding: .5rem 1.5rem 1.5rem;
}

.ah-up .ah-up-footer{
    display: flex;
    justify-content: center;
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.ah-up .ah-up-actions{
    display: flex;
    justify-content: center;
    padding: .95rem 0 .25rem;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.ah-up .ah-up-shell{
    padding: 0 0 4rem;
}


/* =========================================================
   4) KEY-VALUE TABLES
   ========================================================= */

.ah-up .table-responsive{
    padding-left: .75rem;
}

.ah-up .ah-kv{
    width: 100%;
}

.ah-up .ah-kv td{
    padding: .55rem .35rem;
}

.ah-up .ah-kv td:first-child{
    width: 28%;
    white-space: nowrap;
    color: rgba(0, 0, 0, .58);
    font-weight: 700;
}

.ah-up .ah-kv td:last-child{
    color: rgba(0, 0, 0, .82);
    font-weight: 500;
}


/* =========================================================
   5) BUTTONS / PILLS
   ========================================================= */

.btn-pill,
.ah-up .btn-pill{
    border-radius: var(--ah-pill, 999px) !important;
    font-weight: 900 !important;
    padding: .72rem 1.05rem !important;
}

.ah-up .btn-ah{
    --bs-btn-bg: #FFA500;
    --bs-btn-border-color: #FFA500;
    --bs-btn-hover-bg: #f09a00;
    --bs-btn-hover-border-color: #f09a00;
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;

    border-radius: 999px;
    font-weight: 950;
    padding: .72rem 1.05rem;
    box-shadow: 0 14px 34px rgba(255, 165, 0, .22);
}

.ah-up .btn-ah:hover{
    box-shadow: 0 16px 34px rgba(255, 165, 0, .24);
    transform: translateY(-1px);
}

.ah-up .btn-ah:active{
    transform: translateY(0);
}

.ah-up .btn-ah:focus{
    box-shadow:
        0 0 0 .25rem rgba(255, 165, 0, .18),
        0 14px 34px rgba(255, 165, 0, .22);
}

.btn-ah-edit,
.btn-ah-cta{
    border-radius: 999px;
    font-weight: 950;
    padding: .72rem 1.10rem;
    background: linear-gradient(180deg,#d97706 0%,#b45309 100%);
    border: 1px solid rgba(0, 0, 0, .12);
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(217, 119, 6, .18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    text-decoration: none !important;
    white-space: nowrap;
    transition:
        transform .15s ease,
        box-shadow .18s ease,
        background .18s ease,
        border-color .18s ease;
}

.btn-ah-edit i,
.btn-ah-cta i{
    color: #fff !important;
}

.btn-ah-edit:hover,
.btn-ah-cta:hover{
    background: linear-gradient(180deg,#e5870f 0%,#c25a0b 100%);
    box-shadow: 0 14px 34px rgba(217, 119, 6, .22);
    transform: translateY(-1px);
}

.btn-ah-edit:active,
.btn-ah-cta:active{
    transform: translateY(0);
}

.btn-ah-edit:focus,
.btn-ah-cta:focus{
    box-shadow:
        0 0 0 .25rem rgba(255, 165, 0, .22),
        0 14px 34px rgba(217, 119, 6, .18);
    outline: none;
}

#mt-header .btn-ah-cta{
    height: 44px;
    padding: 0 1.05rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
}

#mt-header .btn-ah-cta i{
    line-height: 1;
    display: block;
}

.btn-ah-save{
    --bs-btn-color: #fff;
    --bs-btn-bg: #f59f00;
    --bs-btn-border-color: #f59f00;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #d88900;
    --bs-btn-hover-border-color: #d88900;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #c77800;
    --bs-btn-active-border-color: #c77800;

    border-radius: 999px;
    font-weight: 800;
    padding: .7rem 1.15rem;
    box-shadow: 0 10px 22px rgba(245, 159, 0, .20);
}

.btn-ah-back{
    border-radius: 999px;
    font-weight: 800;
    padding: .7rem 1.05rem;
}

.btn-ah-send{
    min-height: 46px;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ah-accent), #e08a00);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(245, 159, 0, .24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease;
}

.btn-ah-send:hover{
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(245, 159, 0, .30);
}

.btn-ah-send:disabled{
    opacity: .7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-ah-outline{
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .14);
    background: #fff;
    color: #111827;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.btn-ah-outline:hover{
    transform: translateY(-1px);
    border-color: rgba(245, 159, 0, .65);
    background: rgba(245, 159, 0, .08);
    color: #111827;
}
.btn-ah-send i,
.btn-ah-outline i{
    line-height: 1;
}

.profile-action-btn{
    width: 100%;
    max-width: 340px;
}


/* =========================================================
   6) ALERTS
   ========================================================= */

.ah-alert{
    border-radius: 18px;
    border: 0;
    box-shadow: var(--ah-shadow-sm);
}

.ah-up .alert{
    margin-bottom: 1rem;
}

.ah-up .alert.alert-success{
    background: rgba(25, 135, 84, .14) !important;
    border: 1px solid rgba(25, 135, 84, .22) !important;
    color: #0f5132 !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    padding: .85rem 1.1rem !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .06);
}


/* =========================================================
   7) PROFILE / LOGO AREAS
   ========================================================= */

.ah-logo{
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 220px;
    margin-inline: auto;
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, .10);
    background:
        radial-gradient(circle at top right, rgba(245, 159, 0, .10), transparent 35%),
        #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .06);
}

.ah-logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
}

.ah-logo-actions .btn{
    justify-content: flex-start;
}

.btn-logo-delete{
    background: #fff;
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, .28);
    box-shadow: none;
    justify-content: flex-start;
}

.btn-logo-delete:hover{
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}


/* =========================================================
   8) MODALS
   ========================================================= */

.modal-backdrop{
    z-index: 20000 !important;
}

.modal{
    z-index: 20010 !important;
}

.modal .modal-dialog{
    position: relative;
    z-index: 20020 !important;
    pointer-events: auto;
}

.modal .modal-content{
    position: relative;
    z-index: 20030 !important;
    pointer-events: auto;
    border: 0;
    border-radius: 22px;
    box-shadow: 0 26px 80px rgba(15, 23, 42, .22);
    overflow: hidden;
}

body.modal-open{
    overflow: hidden;
}

.ah-delete-logo-modal{
    z-index: 20010 !important;
}

.ah-modal-icon{
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, .10);
    color: #dc3545;
    flex: 0 0 auto;
}


/* =========================================================
   9) EDITOR SHARED STYLES
   imageeditlogo / imageedittradefile
   ========================================================= */

.ah-editor-shell{
    margin-top: 1.5rem;
    border: 1px solid var(--ah-border);
    border-radius: var(--ah-radius-xl);
    background: var(--ah-card);
    box-shadow: var(--ah-shadow);
    overflow: hidden;
}

.ah-editor-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 18px 22px;
    border-bottom: 1px solid var(--ah-border);
    background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
}

.ah-editor-heading{
    display: flex;
    align-items: center;
    gap: .8rem;
    min-width: 0;
}

.ah-editor-icon{
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--ah-accent-soft);
    color: var(--ah-accent-dark);
    font-size: 1.1rem;
}

.ah-editor-icon i{
    color: inherit;
    line-height: 1;
}

.ah-editor-heading h2{
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ah-text);
}

.ah-editor-heading p{
    margin: .16rem 0 0;
    color: var(--ah-muted);
    font-size: .9rem;
}

.ah-editor-body{
    padding: 22px;
}

.ah-editor-footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 18px 22px;
    border-top: 1px solid var(--ah-border);
    background: #fbfbfc;
}

.ah-crop-card,
.ah-preview-card{
    height: 100%;
    border: 1px solid var(--ah-border);
    border-radius: var(--ah-radius-lg);
    background: #fff;
    overflow: hidden;
}

.ah-card-titlebar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 14px 16px;
    border-bottom: 1px solid var(--ah-border);
    background: #fbfbfc;
}

.ah-card-titlebar h3{
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    font-size: .98rem;
    font-weight: 800;
    color: var(--ah-text);
}

.ah-card-titlebar h3 i,
.ah-crop-card .ah-card-titlebar h3 i,
.ah-preview-card .ah-card-titlebar h3 i{
    color: var(--ah-accent-dark);
}

.ah-card-titlebar small{
    color: var(--ah-muted);
    font-weight: 600;
}


/* =========================================================
   10) CROPPER / IMAGE EDITOR
   ========================================================= */

.ah-crop-stage{
    min-height: 520px;
    max-height: 68vh;
    padding: 18px;
    background:
        linear-gradient(45deg, #f1f3f5 25%, transparent 25%),
        linear-gradient(-45deg, #f1f3f5 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f1f3f5 75%),
        linear-gradient(-45deg, transparent 75%, #f1f3f5 75%);
    background-size: 22px 22px;
    background-position: 0 0, 0 11px, 11px -11px, -11px 0;
}

.ah-crop-stage img{
    display: block;
    max-width: 100%;
}

.cropper-container{
    max-width: 100%;
}

.cropper-view-box,
.cropper-face{
    border-radius: 16px;
}

.ah-toolbar{
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    padding: 24px 16px 18px;
    border-top: 1px solid var(--ah-border);
    background: #fff;
}

.ah-tool-group{
    display: inline-flex;
    flex-wrap: wrap;
    gap: .35rem;
    padding: .35rem;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 999px;
    background: #f8f9fa;
}

.ah-tool-btn{
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 0;
    background: #fff;
    color: #344054;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
    transition:
        transform .18s ease,
        background-color .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}

.ah-tool-btn:hover,
.ah-tool-btn:focus{
    background: var(--ah-accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(245, 159, 0, .24);
}

.ah-tool-btn i{
    color: inherit;
}

.ah-upload-btn{
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: 999px;
    padding: .55rem 1rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ffc21c, #f2a000);
    border: 0;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease;
}

.ah-upload-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(245, 159, 0, .24);
}

.ah-upload-btn input{
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}


/* =========================================================
   11) EDITOR PREVIEW
   ========================================================= */

.ah-preview-card{
    display: flex;
    flex-direction: column;
    background: #fff;
    color: var(--ah-text);
    box-shadow: 0 10px 25px rgba(15, 23, 42, .04);
}

.ah-preview-card .ah-card-titlebar{
    border-bottom: 1px solid var(--ah-border);
    background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
}

.ah-preview-card .ah-card-titlebar h3{
    color: var(--ah-text);
}

.ah-preview-body{
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    padding: 28px 22px 18px;
    background:
        radial-gradient(circle at top right, rgba(245, 159, 0, .10), transparent 32%),
        #fff;
}

.ah-preview-frame{
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background:
        linear-gradient(45deg, #f1f3f5 25%, transparent 25%),
        linear-gradient(-45deg, #f1f3f5 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f1f3f5 75%),
        linear-gradient(-45deg, transparent 75%, #f1f3f5 75%);
    background-color: #fff;
    background-size: 18px 18px;
    background-position: 0 0, 0 9px, 9px -9px, -9px 0;
    border: 1px solid rgba(15, 23, 42, .10);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
}

.ah-trade-preview,
.ah-logo-preview,
.ah-editor-preview{
    width: 220px;
    height: 220px;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
}

.ah-preview-help{
    padding: 0 22px 24px;
    margin: 0;
    color: var(--ah-muted);
    font-size: .88rem;
    line-height: 1.55;
    text-align: center;
    background: #fff;
}


/* =========================================================
   12) TABS / SIDECARDS / MINI LISTS
   ========================================================= */

.ah-tabs-pills{
    gap: .5rem;
    flex-wrap: wrap;
}

.ah-tabs-pills .nav-link{
    border-radius: 999px;
    padding: .55rem .9rem;
    font-weight: 800;
    font-size: .9rem;
    line-height: 1;
    border: 1px solid rgba(255, 165, 0, .45);
    background: #fff;
    color: #2b2b2b;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    transition:
        background-color .15s ease,
        border-color .15s ease,
        box-shadow .15s ease,
        transform .05s ease;
}

.ah-tabs-pills .nav-link:hover{
    background: rgba(255, 165, 0, .06);
    border-color: rgba(255, 165, 0, .65);
}

.ah-tabs-pills .nav-link.active{
    background: #fff;
    border-color: rgba(255, 165, 0, .95);
    box-shadow: 0 8px 18px rgba(255, 165, 0, .14);
    color: #111;
}

.ah-tabs-pills .nav-link:active{
    transform: translateY(1px);
}

.ah-sidecard{
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
}

.ah-sidecard__head{
    padding: .95rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.ah-sidecard__icon{
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 165, 0, .12);
    border: 1px solid rgba(255, 165, 0, .25);
    color: var(--ah-accent, #FFA500);
    flex: 0 0 34px;
}

.ah-sidecard__title{
    font-weight: 800;
    font-size: .98rem;
    line-height: 1.1;
    letter-spacing: .2px;
}

.ah-sidecard__sub{
    font-size: .82rem;
    line-height: 1.1;
    margin-top: .15rem;
}

.ah-mini{
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    text-decoration: none !important;
    color: inherit;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    background: #fff;
    transition: background-color .15s ease, transform .05s ease;
}

.ah-mini:last-child{
    border-bottom: 0;
}

.ah-mini:hover{
    background: rgba(255, 165, 0, .06);
}

.ah-mini:active{
    transform: translateY(1px);
}

.ah-mini__thumb{
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    flex: 0 0 52px;
    background: #f2f2f2;
    border: 1px solid rgba(0, 0, 0, .06);
}

.ah-mini__title{
    font-weight: 700;
    font-size: .92rem;
    line-height: 1.2;
    color: #1f1f1f;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ah-mini__price{
    font-weight: 900;
    font-size: .95rem;
}

.ah-mini__meta{
    font-size: .82rem;
    white-space: nowrap;
}

.ah-mini__chev{
    margin-left: .25rem;
    color: rgba(0, 0, 0, .35);
    transition: color .15s ease, transform .15s ease;
}

.ah-mini:hover .ah-mini__chev{
    color: rgba(0, 0, 0, .65);
    transform: translateX(2px);
}


/* =========================================================
   13) SEND MESSAGE PAGE
   ========================================================= */

.ah-send-page{
    padding: 34px 0 54px;
    min-height: 620px;
}

.ah-send-shell{
    max-width: 920px;
    margin: 0 auto;
}

.ah-send-card{
    background: var(--ah-card);
    border: 1px solid var(--ah-border);
    border-radius: var(--ah-radius-xl);
    box-shadow: var(--ah-shadow);
    overflow: hidden;
}

.ah-send-head{
    padding: 26px 30px;
    background:
        linear-gradient(135deg, rgba(245, 159, 0, .14), rgba(255, 255, 255, .94)),
        #fff;
    border-bottom: 1px solid var(--ah-border);
}

.ah-send-eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--ah-accent-soft);
    color: #9a6500;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.ah-send-title{
    margin: 0;
    color: var(--ah-text);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.03em;
}

.ah-send-subtitle{
    margin: 9px 0 0;
    color: var(--ah-muted);
    font-size: 15px;
}

.ah-send-body{
    padding: 30px;
}

.ah-section-title{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--ah-text);
    font-size: 16px;
    font-weight: 800;
}

.ah-section-title-icon{
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ah-accent-soft);
    color: var(--ah-accent-dark);
    flex: 0 0 auto;
}

.ah-section-title-icon i{
    color: inherit;
    line-height: 1;
}

.ah-listing-preview{
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--ah-border);
    border-radius: var(--ah-radius-lg);
    background: #f7f8fa;
    margin-bottom: 26px;
}

.ah-listing-image{
    width: 118px;
    height: 88px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    flex: 0 0 auto;
    border: 1px solid rgba(15, 23, 42, .08);
}

.ah-listing-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ah-listing-info{
    min-width: 0;
    flex: 1 1 auto;
}

.ah-listing-title{
    margin-top: 0;
    color: var(--ah-text);
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    max-width: 100%;
}

.ah-listing-title:hover{
    color: var(--ah-accent-dark);
    text-decoration: underline;
}

.ah-listing-price{    
    text-align: right;    
    color: #111827;
    font-size: 1.2rem;
    font-weight: 800;
    white-space: nowrap;
}

.ah-message-box{
    border: 1px solid var(--ah-border);
    border-radius: var(--ah-radius-lg);
    background: #fff;
    padding: 18px;
}

.ah-message-box textarea{
    min-height: 150px;
    resize: vertical;
    border-radius: 16px;
    border-color: #dee2e6;
    padding: 14px 16px;
    font-size: 15px;
    box-shadow: none;
}

.ah-message-box textarea:focus{
    border-color: var(--ah-accent);
    box-shadow: 0 0 0 .25rem rgba(245, 159, 0, .14);
}

.ah-form-hint{
    margin-top: 8px;
    color: var(--ah-muted);
    font-size: 13px;
}

.ah-send-actions{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}


/* =========================================================
   14) MAIN CARD / USER AREA / MESSAGES OVERVIEW
   ========================================================= */

.ah-main-card{
    background: var(--ah-card);
    border: 1px solid var(--ah-border);
    border-radius: 22px;
    box-shadow: var(--ah-shadow-sm);
    overflow: hidden;
}

.ah-main-head{
    padding: 1.15rem 1.25rem;
    background: linear-gradient(135deg, #ffb321, var(--ah-accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.ah-main-title{
    margin: 0;
    font-size: 1.15rem;
    font-weight: 850;
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
}

.ah-main-title i{
    color: inherit;
    line-height: 1;
    flex: 0 0 auto;
}

.ah-main-head-end{
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: .65rem;
    flex-wrap: wrap;
}

.ah-main-pill,
.ah-unread-pill,
.ah-main-pill i,
.ah-unread-pill i{
    color: inherit;
    line-height: 1;
}

/* Für alte Stellen, falls du ah-unread-head-text noch verwendest */
.ah-unread-head-text{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 32px;
    padding: .45rem .78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    font-size: .86rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.ah-main-body{
    padding: 1.25rem;
}

/* Wenn eine Seite den Header bewusst untereinander braucht */
.ah-main-head--stacked{
    align-items: flex-start;
    flex-direction: column;
}

.ah-main-head--stacked .ah-main-head-end{
    margin-left: 0;
    justify-content: flex-start;
}

.ah-msg-list{
    display: grid;
    gap: 1rem;
}

/* Message Card mit rechter Button-Spalte */
.ah-msg-card{
    position: relative;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 220px;
    grid-template-areas: "media info side";
    gap: 1.25rem;
    align-items: start;
    padding: 1.25rem;
    border: 1px solid var(--ah-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.ah-msg-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .09);
    border-color: rgba(245, 159, 0, .32);
}

.ah-msg-card.is-unread{
    border-color: rgba(245, 159, 0, .55);
    background:
        linear-gradient(90deg, rgba(255, 244, 214, .72), transparent 22rem),
        #fff;
}

.ah-msg-img{
    grid-area: media;
    width: 150px;
    height: 115px;
    aspect-ratio: auto;
    border-radius: 18px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
}

.ah-msg-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.ah-msg-card:hover .ah-msg-img img{
    transform: scale(1.04);
}

.ah-msg-content{
    grid-area: info;
    min-width: 0;
    display: grid;
    gap: .75rem;
    align-content: start;
}

.ah-msg-side{
    grid-area: side;
    justify-self: end;
    width: 100%;
    max-width: 210px;
    min-height: 115px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .85rem;
}

.ah-msg-side .ah-msg-price{
    text-align: right;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 900;
    white-space: nowrap;
}

.ah-msg-side-actions{
    margin-top: auto;
    display: grid;
    gap: .65rem;
}

.ah-msg-side-actions .ah-btn-primary,
.ah-msg-side-actions .ah-btn-soft{
    width: 100%;
    min-height: 44px;
    justify-content: center;
    white-space: nowrap;
}

.ah-msg-top{
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.ah-msg-title{
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
}

.ah-msg-title a{
    color: #111827;
    text-decoration: none;
}

.ah-msg-title a:hover{
    color: var(--ah-accent-dark);
}

.ah-msg-price{
    color: #111827;
    font-size: 1.2rem;
    font-weight: 800;
    white-space: nowrap;
}

.ah-msg-meta{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    color: var(--ah-muted);
    font-size: .92rem;
    margin-top: .8rem;
}

.ah-meta-pill{
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    min-height: 34px;
    padding: .42rem .62rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .08);
    color: #475569;
    font-weight: 700;
}

.ah-meta-pill-link{
    text-decoration: none;
    color: #334155;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.ah-meta-pill-link:hover{
    color: var(--ah-accent);
    border-color: rgba(245, 159, 0, .28);
    background: #fff7e6;
}

.ah-status{
    margin-top: .8rem;
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    width: max-content;
    min-height: 34px;
    padding: .45rem .7rem;
    border-radius: 999px;
    font-weight: 850;
    font-size: .85rem;
}

.ah-status.ok{
    color: #15803d;
    background: #dcfce7;
}

.ah-status.off{
    color: #b45309;
    background: #fef3c7;
}

.ah-status.deleted{
    color: #b91c1c;
    background: #fee2e2;
}

.ah-new-badge{
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    width: max-content;
    min-height: 34px;
    padding: .45rem .7rem;
    border-radius: 999px;
    background: #fff4d6;
    color: #9a5b00;
    font-weight: 900;
    font-size: .85rem;
    border: 1px solid rgba(245, 159, 0, .22);
}

.ah-msg-actions{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: .25rem;
}

.ah-actions-left,
.ah-actions-right{
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
}

.ah-btn-soft,
.ah-btn-primary{
    border-radius: 999px;
    padding: .62rem .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    font-weight: 850;
    text-decoration: none;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.ah-btn-soft{
    background: #fff;
    border: 1px solid var(--ah-border);
    color: #111827;
}

.ah-btn-soft:hover{
    color: #111827;
    background: #f8fafc;
    transform: translateY(-1px);
}

.ah-btn-primary{
    border: 1px solid rgba(245, 159, 0, .18);
    background: linear-gradient(135deg, #ffb321, var(--ah-accent));
    color: #fff;
    box-shadow: 0 12px 24px rgba(245, 159, 0, .20);
}

.ah-btn-primary:hover{
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(245, 159, 0, .28);
}

.ah-empty{
    min-height: 260px;
    border: 1px dashed rgba(15, 23, 42, .16);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: #fff;
}

.ah-empty-icon{
    width: 74px;
    height: 74px;
    margin: 0 auto 1rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff4d6;
    color: var(--ah-accent-dark);
    font-size: 1.8rem;
}

.ah-pagination{
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.ah-pagination .page-link{
    border: 0;
    min-width: 2.55rem;
    height: 2.55rem;
    margin: 0 .18rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    font-weight: 800;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

.ah-pagination .page-item.active .page-link{
    color: #fff;
    background: linear-gradient(135deg, #ffb321, var(--ah-accent));
}

.ah-pagination .page-item.disabled .page-link{
    color: #94a3b8;
    background: #f8fafc;
    box-shadow: none;
}

/* =========================================================
   15) MESSAGE DETAIL
   ========================================================= */

.ah-content{
    padding: 1.25rem;
}

.ah-partner-link{
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    max-width: 100%;
    padding: 0;
    border-radius: 0;
    color: #fff;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-weight: 800;
    text-decoration: none;
    transition: opacity .18s ease, transform .18s ease;
}

.ah-partner-link i,
.ah-partner-link span{
    color: inherit;
}

.ah-partner-link:hover{
    color: #fff;
    opacity: .88;
    transform: translateY(-1px);
    text-decoration: none;
}

.ah-listing-card{
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr) auto;
    gap: 1.1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--ah-border);
    border-radius: 20px;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
    box-shadow: var(--ah-shadow-sm);
    margin-bottom: 1.2rem;
}

.ah-listing-img{
    width: 138px;
    height: 104px;
    border-radius: 18px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, .08);
}

.ah-listing-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .22s ease;
}

.ah-listing-card:hover .ah-listing-img img{
    transform: scale(1.04);
}

.ah-listing-kicker{
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .28rem .65rem;
    border-radius: 999px;
    background: var(--ah-accent-soft);
    color: #9a6400;
    font-size: .78rem;
    font-weight: 850;
    margin-bottom: .45rem;
}

.ah-listing-actions{
    display: flex;
    justify-content: flex-end;
}

.ah-status--online{
    background: #ecfdf5;
    color: #059669;
    border: 1px solid rgba(5, 150, 105, .18);
}

.ah-status--offline{
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid rgba(194, 65, 12, .18);
}

.ah-thread-card{
    border: 1px solid var(--ah-border);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--ah-shadow-sm);
}

.ah-thread-head{
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--ah-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: #fff;
}

.ah-thread-title{
    margin: 0;
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: 1.05rem;
    font-weight: 900;
}

.ah-thread-title i{
    color: var(--ah-accent);
}

.ah-thread-hint{
    color: var(--ah-muted);
    font-size: .88rem;
    font-weight: 650;
}

.ah-thread-body{
    height: min(58vh, 620px);
    min-height: 360px;
    overflow: auto;
    padding: 1.25rem;
    background:
        radial-gradient(circle at top right, rgba(245, 159, 0, .08), transparent 22rem),
        #f8fafc;
    scroll-behavior: smooth;
}

.ah-message-row,
.messagedetailinnersend,
.messagedetailinnerincoming{
    display: flex;
    width: 100%;
    margin-bottom: .8rem;
}

.ah-message-row--out,
.messagedetailinnersend{
    justify-content: flex-end;
}

.ah-message-row--in,
.messagedetailinnerincoming{
    justify-content: flex-start;
}

.ah-message-bubble,
.messagedetailinsend,
.messagedetailincoming{
    position: relative;
    max-width: min(72%, 620px);
    padding: .82rem .95rem;
    border-radius: 20px;
    font-size: .96rem;
    line-height: 1.48;
    word-break: break-word;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ah-message-row--out .ah-message-bubble,
.messagedetailinsend{
    background: linear-gradient(135deg, var(--ah-accent), #e08a00);
    color: #fff;
    border-bottom-right-radius: 8px;
}

.ah-message-row--in .ah-message-bubble,
.messagedetailincoming{
    background: #fff;
    color: var(--ah-accent) !important;
    border: 1px solid rgba(15, 23, 42, .08);
    border-bottom-left-radius: 8px;
}

.ah-message-date,
.messagedate{
    position: static;
    display: block;
    margin-top: .38rem;
    font-size: .72rem;
    opacity: .78;
    white-space: nowrap;
    align-self: flex-end;
    text-align: right;
}

.messagedetailincoming .messagedate{
    color: #64748b;
}

.messagedetailinsend .messagedate{
    color: rgba(255, 255, 255, .86);
}

.ah-delete-message,
.messagedetaildeletemessagebtn{
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #ef4444;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .10);
    margin-right: .45rem;
    cursor: pointer;
    opacity: .85;
    transition: .18s ease;
}

.ah-delete-message:hover,
.messagedetaildeletemessagebtn:hover{
    opacity: 1;
    transform: translateY(-1px);
    background: #fef2f2;
}

.ah-composer{
    border-top: 1px solid var(--ah-border);
    padding: 1rem;
    background: #fff;
}

.ah-composer-form{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: end;
}

.ah-composer textarea{
    min-height: 54px;
    max-height: 150px;
    resize: vertical;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, .13);
    padding: .85rem 1rem;
    box-shadow: none;
}

.ah-composer textarea:focus{
    border-color: rgba(245, 159, 0, .6);
    box-shadow: 0 0 0 .22rem rgba(245, 159, 0, .14);
}

.ah-composer .btn-ah-send{
    min-height: 54px;
    border-radius: 18px;
    padding: .75rem 1.05rem;
}

.ah-inline-error{
    display: none;
    margin-bottom: .75rem;
    border-radius: 15px;
    padding: .75rem .9rem;
    font-weight: 750;
}

.ah-inline-error.is-visible{
    display: block;
}

.ah-message-row--in .ah-message-date,
.messagedetailincoming .messagedate{
    color: var(--ah-accent) !important;
    opacity: 1;
}

/* =========================================================
   16) RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px){
    .ah-up .ah-up-badge-row{
        padding: 1rem 1rem 0;
    }

    .ah-up .ah-up-content{
        padding: 1rem;
    }

    .ah-up .ah-up-footer{
        padding: 1rem 1rem 1.25rem;
    }

    .ah-up .ah-kv td:first-child{
        width: auto;
        white-space: normal;
    }

    .ah-up-side{
        position: static;
        top: auto;
    }

    .ah-editor-header,
    .ah-editor-footer{
        align-items: stretch;
        flex-direction: column;
    }

    .ah-editor-footer .btn,
    .ah-upload-btn{
        width: 100%;
    }

    .ah-crop-stage{
        min-height: 380px;
        max-height: none;
    }

    .ah-toolbar{
        justify-content: center;
    }

    .ah-tool-group{
        border-radius: 18px;
    }

    .ah-msg-card{
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .ah-listing-card{
        grid-template-columns: 116px minmax(0, 1fr);
    }

    .ah-listing-img{
        width: 116px;
        height: 92px;
    }

    .ah-listing-actions{
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .ah-message-bubble,
    .messagedetailinsend,
    .messagedetailincoming{
        max-width: 86%;
    }
}

@media (min-width: 992px){
    .ah-up-side{
        position: sticky;
        top: 96px;
    }
}

.ah-search-empty {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 24px;
    box-shadow: 0 18px 55px rgba(15, 23, 42, .08);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    max-width: 900px;
}

.ah-search-empty__icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: rgba(245, 159, 0, .12);
    color: #f59f00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.ah-search-empty__content {
    min-width: 0;
    flex: 1;
}

.ah-search-empty__title {
    color: #111827;
    font-size: 1.45rem;
    font-weight: 850;
    letter-spacing: -.02em;
    margin: 0 0 .4rem;
}

.ah-search-empty__text {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.55;
    margin: 0 0 1rem;
}

.ah-search-empty__query {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .08);
    color: #475569;
    border-radius: 999px;
    padding: .45rem .8rem;
    margin-bottom: 1rem;
    font-size: .92rem;
}

.ah-search-empty__query strong {
    color: #111827;
}

.ah-search-empty__tips {
    display: grid;
    gap: .55rem;
    margin-bottom: 1.25rem;
}

.ah-search-empty__tip {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: #475569;
    font-weight: 600;
}

.ah-search-empty__tip i {
    color: #f59f00;
}

.ah-search-empty__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.ah-search-empty__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    font-weight: 800;
}

.ah-main-pill--required{
    min-height: 36px;
    padding: .42rem .82rem .42rem .5rem;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
    font-size: .86rem;
    font-weight: 850;
}

.ah-main-pill-mark{
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .96);
    color: #b45309;
    font-size: 1.2rem;
    font-weight: 950;
    line-height: 1;
    flex: 0 0 24px;
}

.ah-main-pill-mark::before{
    content: "*";
    display: block;
    font-size: 1.25rem;
    font-weight: 950;
    line-height: 1;
    transform: translateY(2px);
}

.ah-upload-choice-btn{
    min-height: 46px;
    padding: .7rem 1.15rem !important;
    font-size: .95rem;
    box-shadow: 0 12px 28px rgba(217, 119, 6, .20);
}

.ah-upload-choice-btn i{
    color: #fff !important;
    line-height: 1;
}

.ah-controls .invalid-feedback{
    display: none;
    font-size: .875rem;
    margin-top: .4rem;
}

.ah-controls .invalid-feedback.d-block{
    display: block;
}
.ah-controls .form-control.is-invalid,
.ah-controls .form-select.is-invalid{
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .12) !important;
}

.ah-upload-dropzone.is-invalid{
    border-color: rgba(220, 53, 69, .65);
    background:
        linear-gradient(180deg, rgba(220, 53, 69, .045), rgba(255, 255, 255, 1));
}

.ah-upload-dropzone.is-invalid .ah-upload-icon{
    color: #dc3545;
    background: rgba(220, 53, 69, .10);
}

.ah-photo-error{
    display: none;
    margin-top: .6rem;
    color: #dc3545;
    font-size: .875rem;
    font-weight: 700;
}

.ah-photo-error.is-visible{
    display: block;
}

.ah-upload-summary{
    margin-top: .1rem;
    margin-bottom: .5rem;
    color: var(--ah-muted);
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.45;
}

.ah-up .form-control:not(.is-invalid):focus,
.ah-up .form-select:not(.is-invalid):focus{
    border-color: var(--ah-accent);
    box-shadow: 0 0 0 .25rem rgba(245, 159, 0, .22);
}

.ah-up .form-control.is-invalid:focus,
.ah-up .form-select.is-invalid:focus{
    border-color: #dc3545;
    box-shadow: 0 0 0 .25rem rgba(220, 53, 69, .18);
}

.ah-captcha-block-invalid input[name="captcha"],
.ah-captcha-block-invalid #captcha{
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .12) !important;
}

.ah-captcha-block-invalid .invalid-feedback{
    color: #dc3545;
    font-size: .875rem;
    font-weight: 700;
}

.ah-up #deaciklama.ah-description-field {
    min-height: 120px !important;
    height: 120px !important;
    resize: vertical;
    line-height: 1.55;
}

.ah-up #etiketleric.ah-tag-field {
    min-height: 60px !important;
    height: 60px !important;
    resize: vertical;
    line-height: 1.55;
}
@media (max-width: 767.98px){
.ah-send-page{
        padding: 22px 0 36px;
    }

    .ah-send-head,
    .ah-send-body{
        padding: 22px;
    }

    .ah-listing-preview{
        align-items: flex-start;
    }

    .ah-listing-image{
        width: 96px;
        height: 76px;
        border-radius: 14px;
    }

    .ah-send-actions{
        align-items: stretch;
    }

    .btn-ah-send,
    .btn-ah-outline{
        width: 100%;
    }

.ah-search-empty {
        flex-direction: column;
        padding: 1.25rem;
        border-radius: 20px;
    }

    .ah-search-empty__title {
        font-size: 1.25rem;
    }

    .ah-search-empty__actions {
        flex-direction: column;
    }

    .ah-search-empty__actions .btn {
        width: 100%;
    }
}
@media (max-width: 575.98px){
    .ah-up .ah-up-shell{
        padding: 0 0 3rem;
    }

    .ah-main-head{
        align-items: flex-start;
        flex-direction: column;
    }

    .ah-main-head-end{
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
    }

    .ah-main-pill,
    .ah-unread-pill,
    .ah-unread-head-text{
        width: auto;
    }

    .ah-editor-body{
        padding: 14px;
    }

    .ah-crop-stage{
        min-height: 310px;
        padding: 12px;
    }

    .ah-trade-preview,
    .ah-logo-preview,
    .ah-editor-preview{
        width: 190px;
        height: 190px;
    }

    .ah-msg-card{
        grid-template-columns: 1fr;
        grid-template-areas:
            "media"
            "info"
            "side";
    }

    .ah-msg-img{
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .ah-msg-side{
        width: 100%;
        max-width: none;
        min-height: auto;
        justify-self: stretch;
    }

    .ah-msg-side .ah-msg-price{
        text-align: left;
        white-space: normal;
    }

    .ah-msg-top{
        display: grid;
        gap: .45rem;
    }

    .ah-msg-price{
        white-space: normal;
    }

    .ah-msg-actions{
        align-items: stretch;
    }

    .ah-actions-left,
    .ah-actions-right,
    .ah-btn-soft,
    .ah-btn-primary{
        width: 100%;
    }

    .ah-content,
    .ah-main-body{
        padding: 1rem;
    }

    .ah-listing-card{
        grid-template-columns: 1fr;
    }

    .ah-listing-img{
        width: 100%;
        height: 180px;
    }

    .ah-composer-form{
        grid-template-columns: 1fr;
    }

    .ah-thread-body{
        height: 58vh;
        min-height: 330px;
        padding: 1rem;
    }

    .ah-message-bubble,
    .messagedetailinsend,
    .messagedetailincoming{
        max-width: 92%;
    }
}

@media (max-width: 420px){
    .ah-listing-preview{
        flex-direction: column;
    }

    .ah-listing-image{
        width: 100%;
        height: 180px;
    }
}

/* 17 Required field note / Pflichtfeld-Badge */
.ah-required-note{
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    min-height: 32px;
    padding: .38rem .75rem;
    border-radius: 999px;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid rgba(245, 159, 0, .24);
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
}

.ah-required-note__star{
    color: #dc3545;
    font-weight: 800;
}

/* =========================================================
   18) COMPACT USER SIDEBAR
   site.partials.user-sidebar
   ========================================================= */

.ah-up .ah-qm-scope{
    padding: .68rem;
}

.ah-up .ah-qm-user{
    min-width: 0;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 .45rem;
    padding: .42rem .58rem;
    border: 1px solid rgba(245, 159, 0, .32);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 247, 230, .96), rgba(255, 250, 240, .88));
}

.ah-up .ah-qm-user__ico{
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #9a6500;
    background: rgba(245, 159, 0, .12);
    border: 1px solid rgba(245, 159, 0, .24);
}

.ah-up .ah-qm-user__ico i{
    color: inherit;
    font-size: .96rem;
    line-height: 1;
}

.ah-up .ah-qm-user__name{
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: .25rem;
    color: #1f2937;
    font-size: .93rem;
    font-weight: 800;
    line-height: 1.12;
}

.ah-up .ah-qm-user__name-text{
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ah-up .ah-qm-user__number{
    flex: 0 0 auto;
    color: #6b7280;
    font-size: .73rem;
    font-weight: 750;
}

.ah-up .ah-qm-nav{
    display: grid;
    gap: .34rem;
}

.ah-up .ah-qm-item{
    width: 100%;
    min-width: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .58rem;
    margin: 0;
    padding: .46rem .68rem;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 999px !important;
    background: #fff;
    color: #374151;
    text-decoration: none;
    box-shadow: 0 3px 9px rgba(15, 23, 42, .045);
    transition:
        color .16s ease,
        background-color .16s ease,
        border-color .16s ease,
        box-shadow .16s ease,
        transform .16s ease;
}

.ah-up .ah-qm-item:hover{
    color: #1f2937;
    border-color: rgba(245, 159, 0, .34);
    background: #fffbf2;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .065);
    transform: translateY(-1px);
}

.ah-up .ah-qm-item:focus-visible{
    outline: 0;
    border-color: rgba(245, 159, 0, .72);
    box-shadow: 0 0 0 .2rem rgba(245, 159, 0, .14);
}

.ah-up .ah-qm-item.active,
.ah-up .ah-qm-item.active:hover{
    color: #fff;
    border-color: #f59f00;
    background: linear-gradient(135deg, #ffb321, #f59f00);
    box-shadow: 0 7px 17px rgba(245, 159, 0, .19);
    transform: none;
}

.ah-up .ah-qm-left{
    min-width: 0;
    display: flex;
    align-items: center;
    gap: .58rem;
}

.ah-up .ah-qm-ico{
    width: 20px;
    flex: 0 0 20px;
    color: #5f6670;
    font-size: .96rem;
    line-height: 1;
    text-align: center;
}

.ah-up .ah-qm-item:hover .ah-qm-ico{
    color: #b96f00;
}

.ah-up .ah-qm-item.active .ah-qm-ico{
    color: #fff;
}

.ah-up .ah-qm-txt{
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .9rem;
    font-weight: 650;
    line-height: 1.1;
}

.ah-up .ah-qm-item.active .ah-qm-txt{
    font-weight: 800;
}

.ah-up .ah-qm-badge{
    min-width: 34px;
    min-height: 25px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .16rem .44rem;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 999px;
    background: #f6f7f9;
    color: #4b5563;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
}

.ah-up .ah-qm-item.active .ah-qm-badge{
    border-color: rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .20);
    color: #fff;
}

.ah-up .ah-qm-badge.sagbarbildirim{
    border-color: rgba(220, 53, 69, .20);
    background: #dc3545;
    color: #fff;
}

.ah-up .ah-qm-divider{
    height: 1px;
    margin: .08rem .42rem;
    background: rgba(15, 23, 42, .09);
}

.ah-up .ah-qm-item--logout{
    color: #c03945;
    border-color: rgba(220, 53, 69, .18);
    background: #fff;
}

.ah-up .ah-qm-item--logout .ah-qm-ico{
    color: #dc3545;
}

.ah-up .ah-qm-item--logout:hover{
    color: #b4232f;
    border-color: rgba(220, 53, 69, .32);
    background: rgba(220, 53, 69, .055);
}

.ah-up .ah-qm-item--logout:hover .ah-qm-ico{
    color: #c92a3a;
}

@media (max-width: 1199.98px){
    .ah-up .ah-qm-scope{
        padding: .62rem;
    }

    .ah-up .ah-qm-nav{
        gap: .31rem;
    }

    .ah-up .ah-qm-item{
        min-height: 43px;
        padding: .43rem .62rem;
    }

    .ah-up .ah-qm-left{
        gap: .52rem;
    }

    .ah-up .ah-qm-txt{
        font-size: .87rem;
    }
}

@media (max-width: 991.98px){
    .ah-up .ah-qm-scope{
        padding: .62rem;
    }

    .ah-up .ah-qm-user{
        margin-bottom: .42rem;
    }

    .ah-up .ah-qm-nav{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .36rem;
    }

    .ah-up .ah-qm-divider{
        grid-column: 1 / -1;
        margin: .06rem .3rem;
    }
}

@media (max-width: 575.98px){
    .ah-up .ah-qm-scope{
        padding: .55rem;
        border-radius: 18px;
    }

    .ah-up .ah-qm-user{
        min-height: 42px;
        gap: .5rem;
        margin-bottom: .38rem;
        padding: .38rem .5rem;
    }

    .ah-up .ah-qm-user__ico{
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

    .ah-up .ah-qm-user__name{
        font-size: .88rem;
    }

    .ah-up .ah-qm-nav{
        grid-template-columns: 1fr;
        gap: .3rem;
    }

    .ah-up .ah-qm-item{
        min-height: 42px;
        padding: .42rem .58rem;
        border-radius: 999px !important;
    }

    .ah-up .ah-qm-txt{
        font-size: .86rem;
    }

    .ah-up .ah-qm-badge{
        min-width: 32px;
        min-height: 24px;
        font-size: .7rem;
    }
}