.ad-header-text .ad-price {
    display: inline-block;
    color: #fff;
    background-color: var(--mz-two);
    padding: 5px 15px;
    font-weight: 800;
    font-size: 1.6rem;
    border-radius: 8px;
    border: 2px solid var(--mz-two);
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.05); */
    line-height: 1.2;
    margin-bottom: 10px;
}
.dt-hide {
    display:none;
}
.actrow {
    border: 2px solid var(--mz-one);
}
.ad-header-text{
    word-wrap:break-word !important;
    overflow:visible !important
}

/* Sidebar Avatar */
.ad-sidebar-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.ad-sidebar-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f8f9fa;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1.5rem;
}

/* Sidebar User Link (CSP Safe) */
.ad-sidebar-user-link {
    text-decoration: none;
    display: block;
}

.ad-sidebar-gen-avatar {
    margin: 0 auto 15px auto;
}

/* Provider Info (Detail Top) */
.ad-provider-name {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.ad-provider-avatar-link {
    text-decoration: none;
}

.ad-provider-followers {
    font-size: 0.8rem;
    color: #888;
    cursor: help;
}

/* Provider Row (Detail Top) */
.ad-provider-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px; /* Einheitlicher Abstand */
    margin-bottom: 1rem;
}

/* Auf Mobile ggf. noch mehr Platz schaffen */
@media (max-width: 500px) {
    .ad-provider-row {
        gap: 8px;
    }

    .ad-header-text .ad-price {
        font-size: 1.3rem;
        padding: 4px 10px;
    }
}

/* Meta Row (Date & ID) */
.ad-meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    color: #6c757d;
    font-size: 0.9rem;
}

.ad-meta-item {
    display: flex;
    align-items: center;
}

.ad-meta-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    fill: currentColor;
    opacity: 0.7;
}

/* --- Formular Styles (Anzeige erstellen) --- */

/* Bessere Eingabefelder */
.ad-input {
    border: 1px solid #ced4da;
    border-radius: 6px; /* Runder */
    padding: 14px 18px; /* Mehr Platz */
    font-size: 1.05rem;
    transition: all 0.2s ease-in-out;
    width: 100%;
    background-color: #f8f9fa; /* Einheitliches Hellgrau */
}

.ad-input:focus {
    border-color: var(--mz-two);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15); /* Größerer Schatten */
    outline: none;
}

/* Anzeigentyp (Radio Buttons) */
.ad-form-group .type-radio {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    border: 1px solid transparent;
}

.ad-form-group .type-radio:hover {
    background-color: #e9ecef;
}

.ad-form-group .type-radio:has(input:checked) {
    background-color: #e7f1ff !important;
    color: var(--mz-two) !important;
    font-weight: 600;
    border: 1px solid var(--mz-two);
}

.ad-form-group .type-radio label {
    display: block;
    width: 100%;
    margin: 0;
    cursor: pointer;
    padding-right: 30px; /* Platz für Radio */
}

/* Radio Button (Checkmark) nach rechts */
.ad-form-group .type-radio .checkmarkR {
    position: absolute !important;
    right: 15px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* NEU: Starke Klassen zum Ausblenden */
.is-hidden {
    display: none !important;
}

/* Kategorie Auswahl */
.cat-select-box {
    transition: all 0.2s;
    border: 1px solid #ccc !important;
}

.cat-select-box:hover {
    border-color: #aaa !important;
    background-color: #e9ecef !important; /* Etwas dunkler beim Hover */
}

.cat-select-box.active {
    border-color: var(--mz-two) !important;
    background-color: #f8f9fa !important; /* Bleibt hellgrau */
}

.cat-select-icon {
    color: #999;
}

/* Labels */
.ad-label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

/* Form Group Abstand */
.ad-form-group {
    margin-bottom: 25px;
}

/* Mobile Anpassungen für Preis-Feld */
@media (max-width: 576px) {
    #field-price .d-flex {
        flex-wrap: wrap;
    }

    #field-price .price-input-wrapper {
        width: 100% !important;
        margin-bottom: 10px;
    }

    #field-price .check-container {
        margin-left: 0 !important; /* ml-4 überschreiben */
        width: 100%;
    }
}
