﻿/* Hauptfarben aus dem Screenshot */
.bg-custom-darkblue {
    background-color: #2c3274 !important;
}

.text-custom-blue {
    color: #2c3274 !important;
}

.btn-custom-blue {
    background-color: #2c3274 !important;
    color: white !important;
}

.btn-custom-blue:hover {
    background-color: #1e2252 !important;
}

/* Stepper-Komponente */
.step-item {
    font-size: 13px;
    padding-bottom: 10px;
}

.step-item.active {
    color: #2c3274;
    font-weight: 600;
    border-bottom: 3px solid #2c3274;
}

.step-circle {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

/* Tabs Styling (auf Buttons angepasst für native Bootstrap-Funktion) */
.car-tab-content {
    padding: 0px 5px !important;
    border: none !important;
}

.custom-tabs .nav-link {
    color: #6c757d;
    border: none;
    background: none;
    font-weight: 500;
    padding: 10px 20px;
}

.custom-tabs .nav-link.active {
    color: #2c3274 !important;
    border-bottom: 3px solid #2c3274 !important;
}

/* Eingabefelder Hintergrund-Tönung */
.custom-input {
    background-color: #eef3ff !important;
    border: 1px solid #ced4da;
}

.custom-input:focus {
    background-color: #fff !important;
    box-shadow: 0 0 0 0.25rem rgba(44, 50, 116, 0.25);
    border-color: #2c3274;
}

/* Quick-Chips */
.demo-chip {
    background-color: #f1f3f5;
    color: #495057;
    border: 1px solid #dee2e6;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 11px;
    border-radius: 25px;
    padding: 5px 10px;
}

.demo-chip:hover {
    background-color: #e2e6ea;
}

.vehicle-banner {
    background: #f0f0fd;
    border: 1px solid #2c3274;
    border-left: 4px solid #2c3274;
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

 /* Ergebniskarte */
.category-header-bar {
    background-color: #f4f7fe;
    border: 1px solid #2c3274;
}

.category-card {
    border: 1px solid #dee2e6;
    background-color: #fff;
    border-radius: 0.375rem;
    padding: 1rem;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    height: 100%;
    text-align: left !important;
    overflow: clip;
}

.category-card:hover {
    border-color: #2c3274;
    background-color: #f4f7fe;
}

.category-card.active {
    border-color: #2c3274;
    background-color: #eef3ff;
    box-shadow: 0 0 0 2px #2c3274;
}

.category-icon-circle {
    width: 44px;
    height: 44px;
    background-color: #eef3ff;
    color: #2c3274;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.category-title {
    font-size: 13px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1px;
}

.category-card span { 
    flex: 1; 
    min-width: 0; 
    overflow-wrap: break-word; 
    word-break: break-word; 
    hyphens: auto; /* Aktiviert automatische Silbentrennung für deutsche Wörter */
}


/* Produktauswahl Komponenten */
/*.product-row {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #fff;
    padding: 1rem;
    transition: background-color 0.2s;
}

.product-row:hover {
    background-color: #fdfdfe;
}

.product-img-container {
    width: 74px;
    height: 74px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-container i {
    font-size: 2rem;
    color: #ced4da;
}

.badge-recommend {
    background-color: #e2f7ed;
    color: #198754;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-stock {
    background-color: #23c363;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.price-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #212529;
}

.product-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}*/

/* Manuelle Grid-Auswahl Boxen */
.manual-select-box {
    border: 1px solid #ced4da;
    background-color: #fff;
    border-radius: 0.375rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.manual-select-header {
    background-color: #2c3274;
    color: #fff;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid #2c3274;
}

.manual-select-list {
    height: 300px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
}

.manual-select-item {
    padding: 7px 15px;
    border-bottom: 1px solid #f1f3f5 !important;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    color: #333;
}

.manual-select-item:hover {
    background-color: #eef3ff;
    color: #2c3274;
}

.manual-select-item.active, .manual-select-item.active .btn {
    background-color: #2c3274 !important;
    color: white !important;
}

.manual-select-box.disabled {
    background-color: #f8f9fa;
    opacity: 0.6;
    pointer-events: none;
}

.manual-select-box.disabled .manual-select-header {
    background-color: #6c757d;
    border-bottom-color: #6c757d;
}

/* Produktauswahl Komponenten - MODERN TABLE IMPLEMENTATION */
.product-img-container {
    width: 74px;
    height: 74px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-stock {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    white-space: nowrap;
    color: white !important;
}

.badge-stock-green {
    background-color: #23c363 !important;
    font-size: 10px;
}

.product-table-border-color {
    border-color: #808080;
}

/* Produktdetails Sektion (Collapsible Panel) */
.details-row td {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.details-container {
    background-color: #fafbfc;
    border-bottom: 1px solid #dee2e6;
    padding: 1.25rem;
    margin-top: -8px; /* Schließt die Lücke zum Tabellen-Spacing */
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

/* Automatisches Drehen des Chevron-Icons bei Bootstrap Collapse */
.btn-toggle-details i {
    transition: transform 0.2s ease-in-out;
}

.btn-toggle-details[aria-expanded="true"] i {
    transform: rotate(180deg);
}