/* ============================================================
   One-Page Management – Two-Panel Layout
   ============================================================ */

.opm-panel {
    min-height: 72vh;
}

.opm-left {
    max-height: 72vh;
}

.opm-list {
    overflow-y: auto;
}

.opm-right {
    max-height: 72vh;
    overflow-y: auto;
}

/* ============================================================
   Refinanzierungs-Tabellen – dynamische Zinsmatrix
   ============================================================ */

.refi-matrix-scroll {
    overflow-x: auto;
}

.refi-matrix-table th,
.refi-matrix-table td {
    vertical-align: middle;
    white-space: nowrap;
}

.refi-matrix-table input.form-control {
    min-width: 4.5rem;
}

.refi-matrix-table .refi-col-input {
    text-align: center;
}

.refi-matrix-table td.refi-rate-cell {
    padding: 0;
}

.refi-matrix-table .refi-rate-input {
    width: 100%;
    height: 100%;
    min-width: 4.5rem;
    min-height: 2.25rem;
    text-align: center;
    border: 0;
    border-radius: 0;
}

.refi-matrix-table .refi-rate-input:focus {
    z-index: 1;
    position: relative;
    box-shadow: inset 0 0 0 2px var(--bs-primary);
}

.refi-compare-select {
    max-width: 420px;
}

/* ============================================================
   Preislisten – dynamische Margenmatrix
   (bewusst dupliziert statt umbenannt, damit die Refinanzierungs-
   tabellen-Styles oben unangetastet bleiben)
   ============================================================ */

.pl-matrix-scroll {
    overflow-x: auto;
}

.pl-matrix-table th,
.pl-matrix-table td {
    vertical-align: middle;
    white-space: nowrap;
}

.pl-matrix-table input.form-control {
    min-width: 4.5rem;
}

.pl-matrix-table .pl-col-input {
    text-align: center;
}

.pl-matrix-table td.pl-margin-cell {
    padding: 0;
}

.pl-matrix-table .pl-margin-input {
    width: 100%;
    height: 100%;
    min-width: 4.5rem;
    min-height: 2.25rem;
    text-align: center;
    border: 0;
    border-radius: 0;
}

.pl-matrix-table .pl-margin-input:focus {
    z-index: 1;
    position: relative;
    box-shadow: inset 0 0 0 2px var(--bs-primary);
}

.pl-compare-select {
    max-width: 420px;
}

/* ============================================================
   Corporate Design: Standardfarben (Primärfarbe #007458)

   Alle Farbregeln lesen die --app-*-Variablen. Ein Partner-Design
   (/branding/theme.css, nach dieser Datei geladen) überschreibt nur
   diese :root-Variablen; Selektoren werden nirgends dupliziert.
   ============================================================ */

:root {
    /* Kopfzeile / Primärfarbe */
    --app-primary:        #007458;
    --app-primary-rgb:    0, 116, 88;
    --app-primary-hover:  #008867;
    --app-primary-active: #00614b;
    --app-header-text:    #fff;

    /* Buttons */
    --app-btn-bg:     #007458;
    --app-btn-rgb:    0, 116, 88;
    --app-btn-hover:  #008867;
    --app-btn-active: #00614b;
    --app-btn-text:   #fff;

    /* Akzent: Links, aktive Listen-/Navigationseinträge, Fokusring, Checkboxen */
    --app-accent:       #008867;
    --app-accent-rgb:   0, 136, 103;
    --app-accent-hover: #007458;
    --app-accent-text:  #fff;

    --app-nav-active-bg:    #007458;
    --app-nav-active-color: #fff;
    --app-nav-hover-bg:     rgba(0, 116, 88, .1);
    --app-nav-hover-color:  #007458;
    --app-tint-bg:          #eef8f5;
    --app-tint-bg-strong:   #e6f3ef;

    /* Knopf des Form-Switch im aktiven Leasinggeber-Toggle (SVG-Data-URI,
       die Farbe muss eingebettet werden) */
    --app-switch-knob-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23007458'/%3e%3c/svg%3e");

    /* Bootstrap-Blau in allgemeinen Interaktionszuständen ersetzen */
    --bs-primary:                var(--app-primary);
    --bs-primary-rgb:            var(--app-primary-rgb);
    --bs-link-color:             var(--app-accent);
    --bs-link-color-rgb:         var(--app-accent-rgb);
    --bs-link-hover-color:       var(--app-accent-hover);
    --bs-link-hover-color-rgb:   var(--app-primary-rgb);
    --bs-focus-ring-color:       rgba(var(--app-accent-rgb), .25);
}

/* Hintergrundfarbe */
.bg-primary {
    background-color: var(--app-primary) !important;
}

/* Gefüllter Button (über Bootstraps Button-Variablen, damit auch der
   disabled-Zustand der Primärfarbe folgt) */
.btn-primary {
    --bs-btn-color:                 var(--app-btn-text);
    --bs-btn-bg:                    var(--app-btn-bg);
    --bs-btn-border-color:          var(--app-btn-bg);
    --bs-btn-hover-color:           var(--app-btn-text);
    --bs-btn-hover-bg:              var(--app-btn-hover);
    --bs-btn-hover-border-color:    var(--app-btn-hover);
    --bs-btn-focus-shadow-rgb:      var(--app-accent-rgb);
    --bs-btn-active-color:          var(--app-btn-text);
    --bs-btn-active-bg:             var(--app-btn-active);
    --bs-btn-active-border-color:   var(--app-btn-active);
    --bs-btn-disabled-color:        var(--app-btn-text);
    --bs-btn-disabled-bg:           var(--app-btn-bg);
    --bs-btn-disabled-border-color: var(--app-btn-bg);
}

/* Outline-Button */
.btn-outline-primary {
    --bs-btn-color:                 var(--app-btn-bg);
    --bs-btn-border-color:          var(--app-btn-bg);
    --bs-btn-hover-color:           var(--app-btn-text);
    --bs-btn-hover-bg:              var(--app-btn-bg);
    --bs-btn-hover-border-color:    var(--app-btn-bg);
    --bs-btn-focus-shadow-rgb:      var(--app-accent-rgb);
    --bs-btn-active-color:          var(--app-btn-text);
    --bs-btn-active-bg:             var(--app-btn-bg);
    --bs-btn-active-border-color:   var(--app-btn-bg);
    --bs-btn-disabled-color:        var(--app-btn-bg);
    --bs-btn-disabled-border-color: var(--app-btn-bg);
}

/* Text + Border */
.text-primary    { color:        var(--app-primary) !important; }
.border-primary  { border-color: var(--app-primary) !important; }

/* Ausgewählte Suchergebnisse und andere aktive Listen-/Dropdown-Einträge */
.list-group {
    --bs-list-group-active-bg:           var(--app-accent);
    --bs-list-group-active-border-color: var(--app-accent);
    --bs-list-group-active-color:        var(--app-accent-text);
}

.dropdown-menu {
    --bs-dropdown-link-active-bg:    var(--app-accent);
    --bs-dropdown-link-active-color: var(--app-accent-text);
}

.language-flag {
    width: 1.5rem;
    height: 1rem;
    margin-right: .35rem;
    object-fit: cover;
    vertical-align: -.1rem;
}

/* Formulare: Fokus sowie ausgewählte Checkboxen/Radio-Buttons */
.form-control:focus,
.form-select:focus {
    border-color: var(--app-accent);
    box-shadow: 0 0 0 .25rem rgba(var(--app-accent-rgb), .25);
}

.form-check-input:focus {
    border-color: var(--app-accent);
    box-shadow: 0 0 0 .25rem rgba(var(--app-accent-rgb), .25);
}

.form-check-input:checked {
    background-color: var(--app-accent);
    border-color: var(--app-accent);
}

/* Navbar */
.navbar.bg-primary {
    background-color: var(--app-primary) !important;
}

/* Kopfzeile ohne navbar-dark (helle Primärfarbe): Text und Icons dunkel */
.navbar.bg-primary:not(.navbar-dark) {
    --bs-navbar-color: var(--app-header-text);
    --bs-navbar-hover-color: var(--app-header-text);
    --bs-navbar-active-color: var(--app-header-text);
    --bs-navbar-brand-color: var(--app-header-text);
    --bs-navbar-toggler-border-color: rgba(0, 0, 0, .15);
}

/* Login-Seite: Card-Schatten etwas weicher */
.card.shadow-sm {
    box-shadow: 0 .125rem .5rem rgba(var(--app-primary-rgb), .12) !important;
}

/* Navbar-Logo: freigestelltes PNG, der Schatten folgt der Dreiecksform
   (drop-shadow statt box-shadow). */
.navbar-logo {
    width: 120px;
    height: auto;
    margin: 10px 0 10px 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25));
}

/* Partner-Logo (Corporate Design): feste Box, proportional skaliert */
/* Gleiche Höhe wie das Standard-Logo (120 px breit bei 3:2 = ca. 80 px);
   breite Logos werden bei max-width per object-fit verkleinert. */
.navbar-logo-custom {
    width: auto;
    height: 80px;
    max-width: 320px;
    margin: 10px 0 10px 20px;
    object-fit: contain;
    filter: none;
}

/* Login-/Reset-Seite: Partner-Logo statt Textüberschrift */
.auth-logo {
    width: auto;
    height: auto;
    max-width: 260px;
    max-height: 80px;
    object-fit: contain;
}

/* Navbar: vertikales Padding reduzieren */
nav.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

/* Navbar: Dropdown-Menu über der Navbar schweben lassen, statt sie aufzublähen
   (Bootstrap setzt .navbar-nav .dropdown-menu ohne navbar-expand-Klasse auf position: static) */
.navbar .navbar-nav .dropdown-menu {
    position: absolute;
}

/* Auth-Layout: maximale Breite des Login-Containers */
.auth-container {
    max-width: 420px;
    padding: 1.5rem;
}

/* Dashboard / Settings: Kacheln */
.dashboard-tile {
    transition: transform .15s ease, box-shadow .15s ease;
    cursor: pointer;
}
.dashboard-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1.25rem rgba(var(--app-primary-rgb), .18) !important;
}

.phone-dial-code-select {
    max-width: 220px;
}

.group-members-list {
    min-height: 3rem;
}

.group-members-list .min-w-0 {
    min-width: 0;
}

/* ============================================================
   Angebot erstellen – Schrittnavigation
   ============================================================ */

.offer-steps {
    display: flex;
    margin: 0 0 1.5rem;
    padding: .25rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    list-style: none;
}

.offer-steps::-webkit-scrollbar {
    display: none;
}

.offer-step {
    position: relative;
    flex: 1 0 8rem;
    min-width: 0;
    text-align: center;
}

.offer-step::before,
.offer-step::after {
    position: absolute;
    top: 1rem;
    z-index: 0;
    width: 50%;
    height: .25rem;
    background-color: var(--bs-secondary-bg);
    content: "";
}

.offer-step::before {
    left: 0;
}

.offer-step::after {
    right: 0;
}

.offer-step:first-child::before,
.offer-step:last-child::after {
    display: none;
}

.offer-step.is-complete::after,
.offer-step.is-complete + .offer-step::before {
    background-color: var(--bs-primary);
}

.offer-step-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    width: 100%;
    padding: 0 .5rem;
    color: var(--bs-secondary-color);
    background: transparent;
    border: 0;
}

.offer-step-number {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    color: var(--bs-secondary-color);
    font-weight: 600;
    background-color: var(--bs-secondary-bg);
    border: 2px solid var(--bs-body-bg);
    border-radius: 50%;
}

.offer-step-button:hover,
.offer-step-button:focus-visible,
.offer-step-button.active {
    color: var(--bs-body-color);
}

.offer-step-button:focus-visible {
    outline: 0;
}

.offer-step-button:focus-visible .offer-step-number {
    box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color);
}

.offer-step-button.active .offer-step-number,
.offer-step.is-complete .offer-step-number {
    color: #fff;
    background-color: var(--bs-primary);
}

.offer-step-button.active .offer-step-number {
    box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .2);
}

.offer-step-label {
    line-height: 1.25;
}

@media (max-width: 575.98px) {
    .offer-step {
        flex-basis: 6.5rem;
    }

    .offer-step-label {
        font-size: .875rem;
    }
}

/* ============================================================
   Angebot: Warenkorb-Schritt
   ============================================================ */

.offer-cart-catalog-list {
    max-height: 26rem;
    overflow-y: auto;
}

.offer-cart-catalog-item .min-width-0 {
    min-width: 0;
}

.offer-cart-extra-chip {
    display: inline-block;
    margin: 0 .25rem .25rem 0;
    padding: 0 .35rem;
    font-size: .75rem;
    color: var(--bs-secondary-color);
    background-color: var(--bs-tertiary-bg);
    border-radius: .25rem;
}

.offer-cart-quantity-group {
    width: 7.5rem;
    margin: 0 auto;
}

.offer-cart-price-group {
    width: 11rem;
    margin-left: auto;
}

.offer-cart-price-input {
    min-width: 5.5rem;
}

.offer-cart-empty {
    padding: 2rem 1rem;
    border: 1px dashed var(--bs-border-color);
    border-radius: .5rem;
}

.offer-cart-summary {
    position: sticky;
    bottom: 0;
    z-index: 2;
}

/* Manuelle Erfassung: Summen stehen über den Zeilen und bleiben beim
   Scrollen oben sichtbar. */
.offer-cart-summary-top {
    position: sticky;
    top: 0;
    z-index: 2;
}

.offer-cart-article-input {
    min-width: 7rem;
}

.offer-cart-description-input {
    min-width: 14rem;
}

.offer-cart-group-select {
    min-width: 8rem;
}

#offer-cart-root[data-cart-mode="manual"] .offer-cart-price-input {
    min-width: 7rem;
    margin-left: auto;
}

/* ============================================================
   Angebot: Kalkulations-Schritt – Kacheln, Slider, "Ihre Auswahl"
   ============================================================ */

/* Section title per financial product: a stronger rule than the default
   border-bottom so the sections stand apart. */
.offer-calc-product-name {
    border-bottom: 2px solid var(--bs-primary);
}

.offer-calc-card {
    cursor: pointer;
    transition: box-shadow .15s ease-in-out, border-color .15s ease-in-out;
}

.offer-calc-card:hover,
.offer-calc-card:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .25);
}

.offer-calc-card.is-selected {
    border-color: var(--bs-primary);
    background-color: rgba(var(--bs-primary-rgb), .06);
}

.offer-calc-card.has-error {
    border-color: var(--bs-danger);
}

.offer-calc-card.is-disabled {
    opacity: .55;
    cursor: not-allowed;
}

.offer-calc-card.is-disabled:hover {
    box-shadow: none;
}

.offer-calc-selection {
    position: sticky;
    top: 1rem;
}

/* ============================================================
   Angebot: Schritt "Angebot" – Zusammenfassung und nächste Schritte
   ============================================================ */

.offer-application-check {
    margin-left: .5rem;
    font-size: 1rem;
    vertical-align: -.1em;
}

/* The three options are <button class="card">: reset the button look. */
.offer-next-option {
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.offer-next-option:hover:not(:disabled),
.offer-next-option:focus-visible {
    outline: 0;
    transform: translateY(-3px);
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .25);
}

.offer-next-option:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.offer-next-option-icon {
    font-size: 2rem;
    line-height: 1;
    color: var(--bs-primary);
}

.offer-next-option-number {
    display: inline-grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: .35rem;
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--bs-primary);
    border-radius: 50%;
}

/* ============================================================
   Hauptmenü: linke Sidebar (ab lg dauerhaft eingeblendet,
   darunter per Offcanvas/Drop-Down über den Toggle-Button)
   ============================================================ */

.app-layout {
    display: flex;
    align-items: stretch;
}

.app-sidebar {
    width: 260px;
}

@media (min-width: 992px) {
    .app-sidebar {
        flex-shrink: 0;
    }
}

.app-content {
    min-width: 0;
}

.app-sidebar .nav-link {
    color: #333;
    border-radius: .375rem;
}

.app-sidebar .nav-link:hover {
    background-color: var(--app-nav-hover-bg);
    color: var(--app-nav-hover-color);
}

.app-sidebar .nav-pills .nav-link.active {
    background-color: var(--app-nav-active-bg);
    color: var(--app-nav-active-color);
}

/* ============================================================
   Entitäten – Entity-Picker (dynamisches Suchfeld "Kind von")
   ============================================================ */

.entity-picker {
    position: relative;
}

.entity-picker-chip-text {
    background-color: #f8f9fa;
}

/* Schwebendes Dropdown wird an document.body angehängt (position: fixed),
   damit es nicht vom overflow-y:auto des .opm-right-Panels abgeschnitten wird */
.entity-picker-menu {
    z-index: 1080;
    max-height: 280px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

.entity-picker-option {
    cursor: pointer;
}

.entity-picker-option.active,
.entity-picker-option:hover {
    background-color: var(--app-tint-bg-strong);
}

/* ============================================================
   Entitäten – Leasinggeber-Status
   ============================================================ */

.entity-lessor-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 5.25rem;
    padding: 1rem 1.25rem;
    border: 2px solid #adb5bd;
    border-radius: .5rem;
    background-color: #f8f9fa;
    color: #343a40;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.entity-lessor-toggle:hover {
    border-color: var(--app-primary);
    background-color: var(--app-tint-bg);
}

.entity-lessor-toggle:focus-within {
    border-color: var(--app-accent);
    box-shadow: 0 0 0 .25rem rgba(var(--app-accent-rgb), .25);
}

.entity-lessor-icon {
    display: grid;
    flex: 0 0 3rem;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 50%;
    background-color: #dee2e6;
    font-size: 1.5rem;
}

.entity-lessor-content {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
}

.entity-lessor-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.entity-lessor-status {
    display: none;
    align-items: center;
    gap: .4rem;
    margin-top: .2rem;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.entity-lessor-switch {
    flex: 0 0 auto;
    padding-left: 0;
}

.entity-lessor-switch .form-check-input {
    float: none;
    width: 3.25rem;
    height: 1.65rem;
    margin: 0;
}

.entity-lessor-toggle.is-active {
    border-color: var(--app-primary-active);
    background-color: var(--app-primary);
    color: var(--app-header-text);
    box-shadow: 0 .4rem 1.1rem rgba(var(--app-primary-rgb), .42), inset 0 0 0 2px rgba(255, 255, 255, .22);
    animation: entity-lessor-activate .45s ease-out;
}

.entity-lessor-toggle.is-active:hover {
    border-color: var(--app-primary-active);
    background-color: var(--app-primary-hover);
}

.entity-lessor-toggle.is-active .entity-lessor-icon {
    background-color: #fff;
    color: var(--app-primary-hover);
}

.entity-lessor-toggle.is-active .entity-lessor-status {
    display: inline-flex;
}

.entity-lessor-toggle.is-active .form-check-input {
    background-color: #fff;
    border-color: #fff;
    --bs-form-switch-bg: var(--app-switch-knob-bg);
}

/* Fehlendes Recht entities/edit_is_lessor: der Zustand bleibt sichtbar,
   der Schalter ist aber nicht bedienbar. Ueber die Klasse gesetzt, passend
   zum is-active-Muster. */
.entity-lessor-toggle.is-locked {
    cursor: not-allowed;
    border-style: dashed;
    opacity: .75;
}

.entity-lessor-toggle.is-locked:hover {
    border-color: #adb5bd;
    background-color: #f8f9fa;
}

.entity-lessor-toggle.is-locked.is-active:hover {
    border-color: var(--app-primary-active);
    background-color: var(--app-primary);
}

.entity-lessor-hint {
    margin-top: .2rem;
    font-size: .8rem;
    font-weight: 600;
}

.entity-lessor-toggle.is-active .entity-lessor-hint {
    color: #fff;
}

@keyframes entity-lessor-activate {
    50% { transform: scale(1.015); }
}

@media (prefers-reduced-motion: reduce) {
    .entity-lessor-toggle {
        transition: none;
    }

    .entity-lessor-toggle.is-active {
        animation: none;
    }
}

/* ============================================================
   Entitäten – Rechner-Parameter, Feldbeschriftungen
   ============================================================ */

/*
 * Die Labels tragen ein "vererbbar"-Badge und brechen je nach Sprache und
 * Viewport unterschiedlich oft um. Ohne feste Mindesthöhe stünden die
 * Eingabefelder einer Reihe dadurch auf verschiedenen Höhen. Zwei Zeilen
 * Platz reservieren und den Text unten ausrichten hält die Felder auf einer
 * Linie und lässt kurze Labels weiterhin direkt über ihrem Feld sitzen.
 *
 * Wichtig: Beschriftung und Badge stecken in einem gemeinsamen Inline-Wrapper
 * (.entity-param-label-text) und bilden damit ein einziges Flex-Item. Ohne den
 * Wrapper würde das Badge zu einem eigenen Item und in der Spaltenrichtung
 * unter den Text rutschen – es soll aber wie gewohnt in seiner natürlichen
 * Breite daneben stehen.
 */
.entity-param-label {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 3rem;
}

/* ============================================================
   Entitäten – Hierarchie-Baum (reines CSS, keine Diagramm-Bibliothek)
   ============================================================ */

.entity-tree-node {
    display: inline-block;
    padding: .25rem .6rem;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    background-color: #fff;
    font-size: .875rem;
}

.entity-tree-node-self {
    border-color: var(--app-primary);
    color: var(--app-primary);
    font-weight: 600;
}

.entity-tree-children {
    list-style: none;
    margin: 0 0 0 .75rem;
    padding-left: 1rem;
    border-left: 1px dashed #ced4da;
}

.entity-tree-children li {
    position: relative;
    padding: .35rem 0;
}

.entity-tree-children li::before {
    content: '';
    position: absolute;
    top: 1.1rem;
    left: -1rem;
    width: 1rem;
    border-top: 1px dashed #ced4da;
}

/* ============================================================
   Entitäten – Produktkatalog
   ============================================================ */

.product-catalog-dropzone {
    display: flex;
    min-height: 170px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border: 2px dashed #9aa3aa;
    border-radius: .5rem;
    background: repeating-linear-gradient(135deg, #fff, #fff 12px, #f7faf9 12px, #f7faf9 24px);
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.product-catalog-dropzone:hover,
.product-catalog-dropzone:focus-visible,
.product-catalog-dropzone-active {
    border-color: var(--app-primary);
    background: var(--app-tint-bg);
    box-shadow: 0 0 0 .2rem rgba(var(--app-accent-rgb), .15);
    outline: 0;
}

.product-catalog-dropzone-disabled {
    cursor: wait;
    opacity: .65;
}

.product-catalog-dropzone-icon {
    margin-bottom: .5rem;
    color: var(--app-primary);
    font-size: 2rem;
}

/* ============================================================
   Entitäten – Corporate Design
   ============================================================ */

/* Vorschau-Banner unter der Kopfzeile */
.branding-preview-banner {
    border-radius: 0;
    margin-bottom: 0;
}

/* Logo-Vorschau: Schachbrett zeigt Transparenz von PNG/SVG */
.branding-logo-preview {
    display: block;
    max-width: 320px;
    max-height: 96px;
    width: auto;
    height: auto;
    padding: .5rem;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    background: repeating-conic-gradient(#e9ecef 0 25%, #fff 0 50%) 0 0 / 16px 16px;
}

.branding-logo-dropzone {
    min-height: 120px;
}

/* Farbfeld: nativer Picker + Hex + RGB */
.color-field .form-control-color {
    flex: 0 0 3.25rem;
    max-width: 3.25rem;
}

.color-field .color-field-hex {
    font-family: var(--bs-font-monospace);
    text-transform: lowercase;
}

.color-field .color-field-rgb .form-control {
    font-family: var(--bs-font-monospace);
}

.product-catalog-status {
    min-height: 74px;
}

@media (max-width: 575.98px) {
    .product-catalog-dropzone {
        min-height: 145px;
        padding: 1rem;
    }
}
