@font-face {
    font-family: bigTitle;
    src: url(../fonts/Exo-VariableFont_wght.ttf);
    
    font-weight: 700;
  }
@font-face {
    font-family: standard;
    src: url(../fonts/Poppins-Regular.ttf);
}
body { padding-right: 0 !important }
* {
    font-size: 100%;
    font-family: standard;
    color: #428bc0;
}
.smallLine {
    margin: 0px;
}
.thickLine {
    border-top: solid 2px #1c1c1c;
}
.dummyBarcode {
    width: 210px;
    border: 1px solid #428bc0;
    padding: 5px;
    border-radius: 5px;
}
/*Card-Shop*/
/* Preisanzeige im Modal */
#pricingSection {
    background: linear-gradient(135deg, #f8fbff 0%, #e8f2fc 100%);
    border-left: 4px solid #428bc0;
    transition: all 0.3s ease;
}

#pricingSection:hover {
    box-shadow: 0 4px 12px rgba(66, 139, 192, 0.15);
}

.pricing-total {
    background: rgba(66, 139, 192, 0.1);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

/* Ausweismuster-Bild Styling */
.pricing-card-preview {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ausweismuster-img {
    max-width: 230px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid rgba(66, 139, 192, 0.2);
    background-color: #f8f9fa;
}

.ausweismuster-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    border-color: rgba(66, 139, 192, 0.4);
}

/* Fallback für fehlendes Bild */
.ausweismuster-img:not([src*="."]),
.ausweismuster-img[src=""],
.ausweismuster-img[src="#"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 125px;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    border: 2px dashed #909090;
}

.ausweismuster-img:not([src*="."]):after,
.ausweismuster-img[src=""]:after,
.ausweismuster-img[src="#"]:after {
    content: "🎫";
    font-size: 24px;
}

.preview-overlay {
    margin-top: 6px;
    text-align: center;
}

.preview-overlay small {
    font-size: 0.75rem;
    color: #909090;
    font-style: italic;
}

/* Animation beim Preisupdate */
.pricing-card-preview.price-update {
    animation: cardPreviewPulse 0.8s ease-in-out;
}

@keyframes cardPreviewPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

#totalPrice {
    font-weight: 600;
    font-size: 1.5rem;
    color: #428bc0;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Preisstufen-Tabelle */
#pricingBreakdown .table {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

#pricingBreakdown .table th {
    background-color: rgba(66, 139, 192, 0.1);
    border-bottom: 2px solid #428bc0;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 12px;
}

#pricingBreakdown .table td {
    padding: 8px 12px;
    vertical-align: middle;
}

/* Aktive Preisstufe hervorheben */
#pricingBreakdown .table-primary {
    background-color: rgba(66, 139, 192, 0.15) !important;
    border-left: 3px solid #428bc0;
}

#pricingBreakdown .table-primary td {
    font-weight: 500;
}

/* Badge für aktuelle Preisstufe */
#pricingBreakdown .badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    background-color: #428bc0;
    color: #fff;
}

/* Alert-Boxen für Status-Meldungen */
#pricingBreakdown .alert {
    font-size: 0.85rem;
    border-radius: 6px;
    border: none;
    margin-bottom: 0.5rem;
}

#pricingBreakdown .alert-primary {
    background-color: rgba(66, 139, 192, 0.1);
    color: #2a5a7a;
    border-left: 3px solid #428bc0;
}

#pricingBreakdown .alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #664d03;
    border-left: 3px solid #ffc107;
}

#pricingBreakdown .alert-info {
    background-color: rgba(207, 224, 252, 0.3);
    color: #1e3a5f;
    border-left: 3px solid #cfe0fc;
}

/* Button-Badge für Bestellpreis */
#orderButtonPrice {
    font-size: 0.75rem;
    background-color: #fff;
    color: #428bc0;
    animation: pulse 2s infinite;
}
/* Deaktivierte Bestellbuttons */
#orderCartBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #909090 !important;
    border-color: #909090 !important;
}

#orderCartBtn:disabled:hover {
    background-color: #909090 !important;
    border-color: #909090 !important;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    #pricingSection .row {
        flex-direction: column;
    }
    
    #pricingSection .col-md-4 {
        margin-top: 15px;
        text-align: center !important;
    }
    
    .pricing-total {
        margin: 0 auto;
        max-width: 200px;
    }
    
    /* Ausweismuster auf Mobile anpassen */
    .pricing-card-preview {
        margin-bottom: 15px;
    }
    
    .ausweismuster-img {
        min-width: 160px;
        width: 160px;
        height: 100px;
    }
    
    .preview-overlay small {
        font-size: 0.7rem;
    }
    
    /* Tabelle auf Mobile optimieren */
    #pricingBreakdown .table {
        font-size: 0.8rem;
    }
    
    #pricingBreakdown .table th,
    #pricingBreakdown .table td {
        padding: 6px 8px;
    }
    
    /* Beispiel-Spalte auf Mobile ausblenden */
    #pricingBreakdown .table th:nth-child(3),
    #pricingBreakdown .table td:nth-child(3) {
        display: none;
    }
}

/* Hover-Effekte für interaktive Elemente */
#orderCartBtn:hover #orderButtonPrice {
    background-color: #ffffff !important;
    color: #428bc0 !important;
    transform: scale(1.1);
}

/* Loading-Animation für Preisberechnung */
.pricing-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.pricing-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #428bc0;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Spezielle Formatierung für große Bestellungen */
.large-order-notice {
    background: linear-gradient(45deg, #f8fbff, #e8f2fc);
    border: 1px solid #428bc0;
    color: #2a5a7a;
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
}

/* Animationen für Preisänderungen */
.price-change-animation {
    animation: priceUpdate 0.5s ease-in-out;
}

@keyframes priceUpdate {
    0% { 
        transform: scale(1);
        background-color: transparent;
    }
    50% { 
        transform: scale(1.05);
        background-color: rgba(66, 139, 192, 0.1);
    }
    100% { 
        transform: scale(1);
        background-color: transparent;
    }
}
/* Preisstufen-Highlights */
.pricing-tier-highlight {
    position: relative;
    overflow: hidden;
}

.pricing-tier-highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #428bc0, #5a9bd4);
}

/* Icon-Styling in Alerts */
#pricingBreakdown .alert i {
    margin-right: 6px;
    color: #428bc0;
}
/*Pricing Ende*/
.cart-badge {
    font-size: 0.75rem;
    border-radius: 10px;
    padding: 2px 6px;
    min-width: 18px;
    text-align: center;
    position: relative;
}

/* Badge im Dropdown-Button */
.btn-schoolib .cart-badge {
    margin-left: 0.25rem;
}

#cardCartItems tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.08);
}

#cardCartItems .btn-sm {
    padding: 2px 8px;
    font-size: 0.8rem;
}

.table-responsive {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

/* Sticky Header für Tabelle */
#cardCartItems thead th {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Animation für Cart Badge */
.cart-badge {
    transition: all 0.3s ease;
}

.cart-badge.updated {
    animation: cartBounce 0.6s ease;
}

@keyframes cartBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-2px) scale(1.1);
    }
    60% {
        transform: translateY(-1px) scale(1.05);
    }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .modal-xl {
        max-width: 95%;
    }
    
    #cardCartItems th:nth-child(3),
    #cardCartItems td:nth-child(3) {
        display: none; /* Klasse auf kleinen Bildschirmen ausblenden */
    }
    
    /* Badge auf mobilen Geräten etwas kleiner */
    .cart-badge {
        font-size: 0.7rem;
        padding: 1px 4px;
        min-width: 16px;
    }
}
/*CardShop End*/
.fotoCardText {
    position: absolute;
    left: 0;
    bottom: 5%;
}
.dropdown-item {
    cursor: pointer;
}
.documentItem {   
    margin-bottom: 5px;    
}
.schildScreenshot {
    width: 100%;    
    height: auto;
}
#mediaTableDiv, #lenderTableDiv, #booksTableDiv {
    width: 100%;
}
.contractItem {
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #428bc0;
    border-radius: 5px;
    margin-top: 15px;
}
.contractInvalid {
    color: #ec0e0e !important;
    font-style: italic;
    font-weight: 700;
}
.contractValid {
    color: #14ce3b !important;
    font-style: italic;
    font-weight: 700;
}
.contractInfos{
    font-size: 12px;
}
.contractTitle {
    text-decoration: underline;
}
.contractDetails {
    padding:10px;
    margin-bottom: 5px;
}
.android-logo {
    min-height: 7.6mm; /* 1mm = 3.7795275591 pixels */
    min-height: calc(7.6 * 3.7795275591px);
}
.storeBadge {
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 100px; /* Maximum height to keep them equal */
}
.appBrand {
    height:60px;
    text-align: center;
}
.ios-logo {
    min-height: 40px;
}
.disableCursor {
    cursor: not-allowed!IMPORTANT;
}
.mediaUploadInput {
    display: none;
}
.twoInputColFirst {
    
    display: inline-block;
    margin-right: 25px;
    vertical-align: top;
    min-width: 50px;
    max-width: 70px;
}
.greyBack {
    background-color:#f3f3f3;
}
#resAmount {
    padding-left: 4px;
    font-weight: 900;
}
.confCard {
    background: #dcdcdc;    
}
.no-wrap-label {
    white-space: nowrap;
}
.twoInputColSecond {
    display: inline-block;
    width: 50%;
}
.btn-warning i, .btn-danger i {
    color: #eee;
}
.btn-success  i, .btn-info, .btn-primary  i {
    color: #eee;
}
.badge i {
    color: #fff;
}
.logoText {
    font-family: bigTitle;
    color: #428bc0;
    font-size: 25px;
    vertical-align: middle;
}
.btn-mini {
    --bs-btn-padding-y: 1px;
    --bs-btn-padding-x: 5px;
    --bs-btn-font-size: 12px;
}
.secondTitle {
    font-family: bigTitle;
    color: #909090;
}
.notyf__message, .notyf__icon {
    color: #f1f1f1;
}
#mainContainer {
    padding-top: 80px;
}
#mainContainer .icon {
	-webkit-transition:All 0.3s linear;
	-moz-transition:All 0.3s linear;
	-o-transition:All 0.3s linear;
}
#mainContainer .icon.active {
    background-color: #FFFFFF;
    color: #428bc0;
  }
#mainContainer .icon {
  background-color: #428bc0;
  border: 5px solid #428bc0;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 40px;
  height: 100px;
  line-height: 90px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  width: 100px;
}
.bigIcon {
    font-size: 30px;
}
.scanIcon {
    /*font-size: 20px;*/
}
.helper {
    font-size:12px;
    text-align: center;
}

.configModalComment {
    font-size: 15px;    
}
#mainContainer .icon:hover {
      color: #428bc0;
      background-color: #fff;
      cursor: pointer;
}
#mainContainer h3 {
    font-weight: 700;
}
.noImageFound {
    font-size: 25px;
    position: relative;
    text-align: center;    
    max-width: 208px;
}

.inputGroup {
    margin-bottom: 5px;
}
.inputGroup .minusBtn {
    font-size: 30px;
    max-width: 30px;
    max-height: 38px;
    margin: 1px;
}


.inputGroupLabels {
    display: inline-block;   
    margin-bottom: 4px; 
}
.inputGroupLabels:first-child{
    margin-left: 33px;
    width: 79%;
}
.inputGroup .minusBtn i {
    position: relative;
    left: -13px;
    top: -9px;
}
.plusBtn {
    border-radius: 30px;    
    font-size: 20px;   
    width: 35px;
    height: 35px;
    margin-top: 1px;
    position: relative;
    left: -2px;
}
.singlePlusBtn {
    display: flex;
    align-items: center;
    justify-content: center;
}
.topbox {
	background: #fff;
	border: 0 none;
	box-shadow: 0 1px 15px rgba(0, 0, 0, 0.3);
    z-index: 3;
}
.tabulator {
    height: auto !important;
}
footer {
    width: 100%;
    height: 60px;
    background-color: #f8f9fa;
    padding: 20px 0;
    margin-top: auto;          
}
.float-end {
    left: 15px;
}
.viewHeight {
    max-height: 70vh;
}
.loginBox {
    position: relative;
    top: 50%;
    width: 250px;
    display: table;
    margin: 0px auto 0 auto;
    background: #eee;
    border-radius: 4px;
}
.loginHead {
    position: relative;
    width: 100%;
    display: block;
    background: #428bc0;
    padding: 15px;
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}
.loginHead:after {
    content: "";
    background-image: url(../img/logo_trans.png);
    background-size: 60px 60px;
    background-repeat: no-repeat;
    background-position: 180px 5px;
    opacity: 0.2;
    top: -5px;
    left: 12px;
    bottom: 0;
    right: 0;
    position: absolute;
}

.loginInput {
    position: relative;
    width: 90%;
    margin: 15px auto;
}
.loginInput span {
    position: absolute;
    display: block;
    color: #d4d4d4;
    left: 10px;
    top: 8px;
    font-size: 20px;
  }
.loginInput input {
    width: 100%;
    padding: 10px 5px 10px 40px;
    display: block;
    border: 1px solid #EDEDED;
    border-radius: 4px;
    transition: 0.2s ease-out;
    color: #a1a1a1;
}
.loginInput input:focus {
    padding: 10px 5px 10px 10px;
    outline: 0;
    border-color: #428bc0;
}
.loginBtn {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto -35px auto;
    background: #428bc0;
    border-radius: 100%;
    border: 1px solid #428bc0;
    color: #428bc0;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0px 0px 0px 7px #fff;
    transition: 0.3s ease-out;
}
.loginBtn:hover {
    outline: 0;
    box-shadow:0px 0px 0px 3px rgba(21,140,186,.25)
}
.failedLogin {
    display: block;
    text-align: center;
    margin-top: 50px;
    color: #b60202;
    font-size: 20px;
}
/* QR - Ausweise */
.ausweis {
    display: inline-block;
    width: 85.60mm; /* Breite einer typischen Kreditkarte */
    height: 53.98mm; /* Höhe einer typischen Kreditkarte */
    margin: 10mm; /* Einen Abstand zwischen den Karten hinzufügen */
    border: 1px solid black;
    padding: 5px;
    text-align: center;
    box-sizing: border-box;
}
@media print {
    .ausweis {
        page-break-inside: avoid; /* Verhindert, dass Karten zwischen Seiten aufgeteilt werden */
    }
}
.abmessungDiv {
    background-image: url(../img/ausweisabmessung.png);   
    background-size: contain;
    height: 341px;
    background-repeat: no-repeat;
}
#rightsLegende {
    border: 1px solid #428bc0;
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
}
/*Der Schalter*/
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-left: 10px;
}
.switch input {
    display:none;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}  
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}  
input:checked + .slider {
    background-color: #428bc0;
}  
input:focus + .slider {
    box-shadow: 0 0 1px #428bc0;
}  
input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}  
.slider.round {
    border-radius: 34px;
}  
.slider.round:before {
    border-radius: 50%;
}
.slider.round {
    border-radius: 34px;
}  
.slider.round:before {
    border-radius: 50%;
} 
.switch-small {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 15px;
    margin-left: 10px;
}
.switch-small.vonbis {
    vertical-align: middle;
    margin-left: 5px;
    margin-right: 5px;
}
.switch-small.vonbis>.slider-small {
    background-color: #428bc0;
}
.switch-small input {
    display:none;
}
.slider-small {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}
.slider-small:before {
  position: absolute;
  content: "";
  height: 6px;
  width: 6px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .slider-small {
  background-color: #428bc0;
}
input:disabled + .slider-small {
  cursor: not-allowed;
}
input:focus + .slider-small {
  box-shadow: 0 0 1px #428bc0;
}
input:checked + .slider-small:before {
  -webkit-transform: translateX(15px);
  -ms-transform: translateX(15px);
  transform: translateX(15px);
}
.slider-small.round {
  border-radius: 34px;
}

.slider-small.round:before {
  border-radius: 50%;
}
.accordion-headline {
    width: 100%;
    text-align: center
}
.accordion {
    margin-top: 15px;
}
.thumpRotate {
    transform: rotate(270deg);
    -ms-transform: rotate(270deg);    
    -webkit-transform: rotate(270deg);
    display: inline-block;
}
.rotate-landscape {
    transform: rotate(90deg)!important;
    transform-origin: center center;
    max-width: 130% !important; /* Erhöht auf 130% für bessere Ausfüllung */
    max-height: 268px !important; /* Entspricht der min-height des Containers */
  }
.conditionDiv {
    display: inline-block;
    margin-left: 10px;
    opacity: 0;
}
.fade-in {
    opacity: 100%;
    transition: opacity 1s;
}
.fade-out {
    opacity: 0%;
    transition: opacity 1s, z-index 1s;
    -webkit-transition: opacity 1s, z-index 1s;
    -moz-transition: opacity 1s, z-index 1s;
    -o-transition: opacity 1s, z-index 1s;
    z-index: -1!important;
}
.shrink-effect {
    max-height: 550px; /* Anpassen auf die tatsächliche Höhe */
    padding: 0 20px 0 20px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: max-height 1s ease-out, padding 0.5s ease-out, margin 0.5s ease-out;
}

.shrink-effect.shrinked {
    max-height: 0;
    padding: 0;
    margin-bottom: 0;
    transition: max-height 1s, padding 0.5s ease-in, margin 0.5s ease-in;
}
.start-55 {
    left: 55%!important;
}
.firstTableIcon {
    position: absolute;
    top: 24px;
    font-size: 20px;
    left: 0px;
}
#sanduhr {
    background: #ffffff;
    color: #666666;
    position: fixed;
    height: 100%;
    width: 100%;    
    top: 105px;
    left: 0;
    z-index: 1;
    
}
.bs-datepicker-container { 
    z-index: 1060; 
}
.datepicker {
    z-index: 1060;
}
.availability-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px;
    min-width: 14px;
    text-align: center;
    line-height: 14px;
    color: #6a2e35;
  }
.past-date {
    color: #666 !important;
    opacity: 0.5;
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.2) ! IMPORTANT;
    text-decoration: line-through;    
}

.flatpickr-day.fully-booked {
background-color: #ffecec !important;
color: #d8000c !important;
text-decoration: line-through;
font-weight: bold;
}

.flatpickr-day.low-availability {
    background-color: #edebd4 !important;
    color: #6a2e35 !important;
    font-style: italic;
}

.flatpickr-day.available {
background-color: #d4edda !important;
color: #155724 !important;
}

.flatpickr-day:hover {
opacity: 0.8;
}
#sanduhr span {
    bottom: 7px;
    position: relative;
}
#targetDateDiv {
    display: inline-block;
    position: absolute;
    left: -100%;
}
.dueDate {
    font-weight: bold;
    color: #b60202;
}
.openLibText {
    color: #888;
}
.bookImg {
    width: 100%;
    max-height: 385px;
    max-width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
    min-height: 268px;
}
.bookImgContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 268px;
    max-height: 385px;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    
  }
  
  .bookImgContainer img.book-cover {
    /* Diese Einstellungen stellen sicher, dass das Bild nicht verzerrt wird */
    max-height: 385px;
    max-width: 100%;
    object-fit: contain; /* Beibehaltung des Seitenverhältnisses */
    width: auto;
    height: auto;
    display: block; /* Verhindert ungewollte Inlineabstände */
    border-radius: 5px;
    image-orientation: from-image; 
    transform: rotate(0deg);
    transform-origin: center center;
  }
  
  .bookImgContainer .noImageFound {
    color: #428bca;
    font-style: italic;
    text-align: center;
    width: 100%;
    padding: 15px;
  }
.cardSubTitle {
    margin-top: 5px;
}
.qrCodeDiv {
    min-height: 211px;
}
.twoButtonFooter{
    display: flex;
    justify-content: space-between;
}
.card {   
    width: 210px;
    height: fit-content;
    overflow-y: hidden;
    padding: 0%;
    min-height: 270px;    
}
.card-invoice {
    width: auto;    
    overflow-y: hidden;
    padding: 0%;
    font-size: 15px;
    margin-bottom: 10px;
    border-radius: 3px;
    min-height: auto;
    margin-right: 13px;
}
.imgCard {
    max-height: 385px;
}
.schoolAdress {
    text-align: left;
}

/*Bestellungen Übersicht*/
#etiOrderTableDiv {
    padding: 10px;
    height: 200px;
    overflow-y: auto;
    max-height: 200px;
    border-bottom: 1px solid #5aa5c2;
    border-top: 1px solid #5aa5c2;
}
.etiOrder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 8px;
    margin-bottom: 6px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #dee2e6;
    font-size: 12px;
}
.etiOrder i {
    font-size: 16px;
}
/* Verschiedene Farben für unterschiedliche Bestelltypen */
.etiOrder:has(.bi-upc) {
    border-left-color: #0d6efd; /* Blau für Etiketten */
}

.etiOrder:has(.bi-credit-card) {
    border-left-color: #198754; /* Grün für Karten */
}

.etiAmount {
    font-weight: 500;
    margin-left: 10px;
    color: #495057;
}

.etiOrder span:last-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.etiOrder .hidden-xs {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Status-Icons */
.etiOrder .bi-clock {
    color: #ffc107;
}

.etiOrder .bi-box-seam {
    color: #0dcaf0;
}

.etiOrder .bi-check2-all {
    color: #198754;
}

/* Responsive Anpassungen */
@media (max-width: 576px) {
    .etiOrder {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .etiOrder span:last-child {
        align-self: flex-end;
    }
    
    .hidden-xs {
        display: none !important;
    }
}
/*Bestellungen Übersicht Ende*/
.premium {
    color: #FFC107;
    font-weight: 600;
}
.trail {
    color: #E91E63;
    font-weight: 600;
}
.noAbo {
    color: #795548;
    font-weight: 600;
}
.agbItem {
    margin-top: 0px;
    text-align: center;
}
.aboTable {
    width: 100%;
    margin-bottom: 15px;
}
.smallList {
    font-size: 14px;
    padding-left: 20px;
    margin-bottom: 0px;
}
.aboitem {
    margin-top: 7px;
    text-align: center;
    margin-bottom: 12px;
    text-decoration: underline;
    cursor: pointer;
}
.aboButtons {
    display: flex;
    justify-content: space-around;
}

/* Ungespeicherte Zeilen - Neue saubere Hervorhebung */

.tabulator-row-unsaved .tabulator-cell[tabulator-field="created_date"],
.tabulator-row-unsaved .tabulator-cell[tabulator-field="bid"],
.tabulator-row-unsaved .tabulator-cell[tabulator-field="description"] {
    font-weight: 600 !important;
    color: #856404 !important;
}
.tabulator-row-unsaved::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    animation: warning-light 2.5s infinite;
    z-index: 10;
}

.tabulator-row-saved .tabulator-cell {
  animation: savedFade 3s ease-in-out forwards;
  /* optional: etwas Padding, damit der Effekt nicht an der Kante abgeschnitten wird */
  padding: 4px 8px;  
}
.required-field-missing {
    background: repeating-linear-gradient(45deg, 
        #fff3cd 0px, #fff3cd 10px, 
        #ffeaa7 10px, #ffeaa7 20px) !important;    
    animation: pulse-warning 2s infinite;
}

.required-field-valid {
    background-color: #d4edda !important;    
}


.gestreifte-zeile {
    background: repeating-linear-gradient(45deg, white 1%, #ffffff 3%, #ffffff 2%, #ffd4a5 1%, #ffffff 4%) !important;
    background-size: 200px 150px;
}
.moneyBtn {
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 6px;
    padding-right: 6px;
}
.moneyBtn i {
    position: relative;
    top: 3px;
    font-size: 18px;
}
#aboStatus {
    margin: 0px;
    font-size: 18px;       
}
.aboOrderd {
    color: #4CAF50;
}
.swal2-icon-content {
    color: inherit;
}

/*ModalContent Bookinfo*/
.comment-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e3e7ea;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.comment-section:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #428bc0;
}

.comment-header h6 {
    color: #428bc0;
    font-weight: 600;
    margin: 0;
}

.comment-header i {
    font-size: 1.2rem;
    color: #428bc0;
}

.comment-container {
    position: relative;
}

.comment-textarea {
    border: 2px solid #e3e7ea;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 100px;
    background: #ffffff;
}

.comment-textarea:focus {
    border-color: #428bc0;
    box-shadow: 0 0 0 0.2rem rgba(66, 139, 192, 0.25);
    background: #ffffff;
    outline: none;
}

.comment-textarea::placeholder {
    color: #8a8a8a;
    font-style: italic;
}

.char-counter {
    font-size: 12px;
    margin-top: 4px;
    transition: color 0.3s ease;
}

.char-counter.text-warning {
    color: #f39c12 !important;
    font-weight: 600;
}

.char-counter.text-danger {
    color: #e74c3c !important;
    font-weight: 700;
}
.comment-buttons .btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comment-buttons .btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.comment-buttons .btn:hover:before {
    left: 100%;
}

.comment-buttons .btn-primary {
    background: linear-gradient(135deg, #428bc0, #3579ae);
    border: none;
    box-shadow: 0 2px 4px rgba(66, 139, 192, 0.3);
}

.comment-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #3579ae, #2e6b99);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(66, 139, 192, 0.4);
}

.comment-buttons .btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: none;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.comment-buttons .btn-danger:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
}

.comment-buttons .btn-success {
    animation: successPulse 0.6s ease-in-out;
}
.book-info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e3e7ea;
    border-radius: 8px;
    padding: 1.25rem;
    margin: 8px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.book-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(66, 139, 192, 0.05);
    border-radius: 6px;
    border-left: 3px solid #428bc0;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(66, 139, 192, 0.1);
    transform: translateX(2px);
}

.info-item-wide {
    grid-column: 1 / -1;
}

.info-icon {
    font-size: 1.1rem;
    color: #428bc0;
    min-width: 20px;
    text-align: center;
}

.info-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.info-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.info-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    word-wrap: break-word;
    line-height: 1.3;
}

/* Spezielle Styles für Preisanzeige */
.info-value #updateValue {
    color: #28a745;
    font-weight: 600;
}
@media (max-width: 768px) {
    .comment-section {
        padding: 1rem;
        margin: 8px 0;
    }
    
    .comment-buttons {
        flex-direction: column;
        gap: 8px !important;
    }
    
    .comment-buttons .btn {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .comment-textarea {
        font-size: 16px; /* Verhindert Zoom auf iOS */
        padding: 10px;
    }
    
    /* Book Info responsive */
    .book-info-card {
        padding: 1rem;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .info-item {
        padding: 6px 10px;
        gap: 8px;
    }
    
    .info-icon {
        font-size: 1rem;
        min-width: 18px;
    }
    
    .info-label {
        font-size: 10px;
    }
    
    .info-value {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
   .comment-header h6 {
        font-size: 14px;
    }
    
    .comment-header i {
        font-size: 1rem;
    }
    
    .char-counter {
        font-size: 11px;
        text-align: center;
    }
    
    .book-info-grid {
        gap: 8px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 8px;
    }
    
    .info-icon {
        align-self: center;
        margin-bottom: 4px;
    }
    
    .info-content {
        width: 100%;
        text-align: center;
    }
}
.comment-textarea:focus-visible {
    outline: 2px solid #428bc0;
    outline-offset: 2px;
}

/* Loading-State für Buttons */
.comment-buttons .btn.loading {
    color: transparent;
    position: relative;
}

.comment-buttons .btn.loading:after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.comment-section .list-group-item {
    transition: all 0.3s ease;
}
.info-item-empty {
    background: rgba(128, 128, 128, 0.05) !important;
    border-left-color: #ccc !important;
    opacity: 0.6;
}
.info-icon.bi-tools {
    color: #6c757d; /* Hersteller bei Medien */
}

.info-icon.bi-truck {
    color: #28a745; /* Lieferant bei Medien */
}

.info-icon.bi-gear {
    color: #fd7e14; /* Modell bei Medien */
}

.info-icon.bi-person-lines-fill {
    color: #6610f2; /* Autoren bei Büchern */
}

.info-icon.bi-quote {
    color: #e83e8c; /* Titel */
}

.info-icon.bi-bookmark {
    color: #20c997; /* Kategorie */
}
.info-item-empty:hover {
    transform: none !important;
    background: rgba(128, 128, 128, 0.05) !important;
}
/* Styles für den Wechsel zwischen Abschreibungstypen */
#amountBasedContainer, #timeBasedContainer {
    transition: transform 0.3s ease-out;
    position: relative;
    width: 100%;
    overflow: hidden;
}

#amountBasedContainer {
    transform: translateX(0);
}

#timeBasedContainer {
    transform: translateX(100%);
    display: none;
}


/* Styling für die Button-Zeile */

.flexBtns button {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sicherstellen, dass die Tabellen einheitlich aussehen */
.table tbody tr td:first-child {
    width: 100px;
}

/* Verhindert ungewollte Sprünge beim Umschalten */
.depreciation-container {
    min-height: 300px;
    position: relative;
}
.etiOrder span:not(.hidden-xs) {
    display: flex;
    align-items: center;    
}
.smallText {
    font-size: 12px;
}
.smallText14 {
    font-size: 14px;
}
.etiAmount {
    margin-left: 15px;
}
.tabulator .tabulator-headers + br {
    display: none;
  }
.tabulator-header-filter input {
    width: 100%;
    min-width: 45px;
    height: 30px;
    padding: 0px 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.price-date-row {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.2s ease-out, padding 0.3s ease, margin 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}
.qrcodeIcon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 268px;
    max-height: 385px;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}
.flatpickr-day.selected {
    -webkit-box-shadow: inset 0px 0px 2px 2px #428bca;
    box-shadow: inset 0px 0px 2px 2px #428bca;
    color: #428bca !important;
    border-color: #428bca;
    border-radius: 5px;
    font-weight: 800;
}
.btn-adminBack {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;        
    border-radius: 10px;        
    align-content: center;
    flex-direction: column;
    max-width: 70px;
}
.btn-exemplarBack {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 10px;
}
/* CSS for price editing feedback */
.price-container {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  
  .new-price {
    font-weight: bold;
  }
  
  .rest-price {
    color: #666;
    font-size: 0.9em;
  }
  
  /* Animation for updating cells */
  .updating-cell {
    position: relative;
    animation: pulse 1.5s infinite;
  }
  
  @keyframes pulse {
    0% { background-color: rgba(255, 255, 255, 1); }
    50% { background-color: rgba(200, 230, 255, 0.5); }
    100% { background-color: rgba(255, 255, 255, 1); }
  }
  
  /* Spinner animation */
  .spinner {
    animation: spin 1s linear infinite;
    display: inline-block;
  }
  
  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  
  /* Highlight effect for updated cells */
  .updated-cell {
    animation: highlight 2s;
  }
  
  @keyframes highlight {
    0% { background-color: rgba(144, 238, 144, 0.6); }
    100% { background-color: rgba(255, 255, 255, 0); }
  }
  
  /* Optional: Hover-Effekt für editierbare Zellen */
  .tabulator-cell[tabulator-field="newPrice"]:hover {
    background-color: #f5f5f5;
    cursor: pointer;
  }
.price-date-row.show {
    max-height: 200px; 
    opacity: 1;
    padding-top: 10px; 
    background: aliceblue;
    border-radius: 5px;
}
.price-date-row .input-group {
    display: flex;
    width: 100%;
}

.price-date-row .form-control {
    flex: 1;
    min-width: 0; 
}

.price-date-row .input-addon {
    width: 36px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}
.tabulator-row:nth-child(even) {
    background-color: #ffffff !important;
}
.accordion .tabulator-headers {
    font-size: 12px;
}
.accordion-body, .accordion-button {
    color: #666666;
}
.accordion-buttonSpan {
    width:100%;
}
.accordion-buttonSpanIcon {
    float: right;
    margin-right: 10px;
}
.deleteIcon i {
    color: #f6f6f6;
    font-size: 25px;
}
.proto-card-red {
    background: #ffe9e8;
}
.proto-card-blue {
    background: #e6efff;
}
.proto-card-green {
    background: #edffed;
}
.proto-card {
    width: auto; 
    height: 130px;
    overflow-y: hidden;
    padding: 0%;
    font-size: 15px;
    margin-bottom: 10px;
    border-radius: 3px;
    min-height: auto;
}
.proto {
    font-size: 14px;
}
.proto-body {
    padding-top: 8px;
}
.proto-head {
    font-size: 14px;
    margin-bottom: 2px;
}
.proto-icon {
    margin-right: 5px;
}
.proto-content {
    color: #999;
    font-size: 12px;
}
.proto-back-btn {
    height: 28px;
    padding-top: 0px;
    font-size: 19px;
    width: 38px;
    padding-left: 7px;
    margin-bottom: 0px;
    margin-top: 0px;
    display: inline-block;
    position: absolute;
    right: 5px;
    top: 5px;
}
.unlocked-icon {
    
}
.locked-icon {
   
}
.iconString {
    font-size: 20px;
}
.password_checks {
    display: flex;
    flex-wrap: wrap;    
    padding: 0 16px;
}
.password_require {
    font-size: 14px;
    flex: 1 0 50%;
    min-width: max-content;
    margin: 5px 0;
}
.aniVidFrame {
    width: 100%;
    height: 40%;
  }
  .schoolibPointer {
    cursor: pointer;
  }
.password_require:not(.valid),  .password_require:not(.valid)>i{
    color: #a1a1a1;
}

.password_require.valid , .password_require.valid> i {
    color: #4CAF50;
    font-weight: 800;
}

.password_require.error, .password_require.error>i {
    color: red;
}
.input-group-schoolib {
    background-color: #158cba;
    border: 0px;
    border-radius: 0.375rem;
    color: #fff;
}
.keyboardHint {
    display: flex;
    justify-content: center;
    position: relative;
    top: -60px;
    z-index: -1;
    opacity: .5;
    width: 100%;   
}
#etikettenRechner {
    font-weight: 700;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 20px;
}
.maxBarcodeNumber {
    font-weight: 700;
    padding-left: 10px;
    font-family: monospace;
}
.cameraScanDiv {    
    position: absolute;
    padding: 9px;
    left: -53%;
    top: 5px;
    width: 75px;
    font-size: 25px;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 15px;
    background: #428bc0;
    box-shadow: 2px 3px 1px 1px #157094;
    cursor: pointer;
    display: none;
}
.videoIcon {
    font-size: 30px;
    margin-right: 7px;
}
#videoContainer canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* damit es nicht die Interaktion blockiert */
    z-index: 10;
}
.camVid {
    width: 100%;
    height: 40%;
  }
.cameraScanDiv i {
    color: white;
}
.cameraScanShow {
    display: flex;    
}
.cameraScanHide {
    display: none;
}
.btn-schoolib span{
    color: #f6f6f6;    
    margin-left: 2px;
    margin-right: 2px;
}
.btn-schoolib i {
    color: #f6f6f6;
}

/* Outline-Variante für btn-schoolib (z.B. für Radio-Button-Gruppen) */
.btn-outline-schoolib {
    color: #428bc0;
    border: 1px solid #428bc0;
    background-color: transparent;
}
.btn-outline-schoolib:hover {
    color: #3579ae;
    background-color: rgba(66, 139, 192, 0.1) !important;
    border-color: #3579ae;
}
.btn-check:checked + .btn-outline-schoolib,
.btn-check:checked + .btn-outline-schoolib:hover {
    color: #fff;
    background-color: #428bc0;
    border-color: #428bc0;
}
.btn-check:focus + .btn-outline-schoolib,
.btn-outline-schoolib:focus {
    box-shadow: 0 0 0 0.25rem rgba(66, 139, 192, 0.25);
}

.bottomBtns {
    display: flex;
    justify-content: flex-end;
}
.btn-roundIcon {
    height: 45px;
    width: 45px;
    border-radius: 30px;
    font-size: 26px;
    padding: 0px;
    padding-top: 4px;
    float: right;
    margin-left: 5px;
}
.form-check-middle {
    display: flex;
    justify-content: center;
}
.btn-roundIconText {
    height: 45px;
    width: 45px;
    border-radius: 30px;
    font-size: 26px;
    padding: 0px;
    padding-top: 2px;
    float: right;
    font-size: 18px;
}
.btn-simple {
    --bs-btn-color: #fff;
    --bs-btn-bg: #b6b6b6;
    --bs-btn-border-color: #b6b6b6;
    --bs-btn-hover-color: #b6b6b6;
    --bs-btn-hover-bg: #b6b6b6;
    --bs-btn-hover-border-color: #b6b6b6;
    --bs-btn-focus-shadow-rgb: #b6b6b6;
    --bs-btn-active-color: #b6b6b6;
    --bs-btn-active-bg: #b6b6b6;
    --bs-btn-active-border-color: #b6b6b6;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #b6b6b6;
    --bs-btn-disabled-bg: #b6b6b6;
    --bs-btn-disabled-border-color: #75caeb;
}
.btn-simple i {
    color: #fff;
}
.modalAlertDiv {
    display: inline-block;
    margin-right: 15px;
}
.dynBtn {
    margin-left: 5px;
    margin-right: 5px;
}
.topTableBtn {    
    position: relative;
    left:-8px;
    top: 10px;
}
.blockIcon {
    display: block;
    font-size: 20px;;
}
.cardBtn{
    width: 50%;
    font-size: 10px;
    --bs-btn-bg: #fff;
}
.qrBtns{
    width: 100%;
}
.qrCodeImg {
    width: 100%;
    height: 90%;
    padding-left:12px;
}
.qr-spaceholder {
    font-size: 50px;
    position: absolute;
    left: 0;
    top: 0;
}
.noFlexFooter {
    width: 100%;
}
.mailQrInput {
    margin-top: 10px;
}
.lockedDiv {   
    padding: 15px;   
    border-radius: 10px;
}
.editLenderInput {
    font-size: 13px;
    margin-top: 5px;
}
.lockedRow {
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 15px;
}
.lockedInputIcon {
    font-size: 30px;
    position: relative;
    top: 40%;
    width: 60px;
    height: 60px;    
}
.lenderBooksDiv {
    max-height: 300px;
    overflow-y: auto !important;
    overflow-x: auto;
}
.miniTableHead {
    text-align: center;
    font-size: 17px;
    text-decoration: underline;
}
.lenderBooksCell {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
.modalSubHead {
    font-size: 18px;
    text-align: center;
    text-decoration: underline;
}
.form-control:disabled {
    background-color: #e3e3e3;
    opacity: 0.5;
}
.deletePopover {
    border: 2px #428bc0 solid;
    background: white;
    padding: 9px;    
    border-radius: 5px;
    font-size: 12px;
    width: 360px;
}
.input-addon {
    background: #fff;
}
/*Damage Tool*/
.btn[onclick*="createDamageInvoice"] {
    position: relative;
}

.btn[onclick*="createDamageInvoice"]:hover::after {
    content: "Rechnung";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 1000;
}
.modal-lg-custom {
    max-width: 1200px;
}
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    display: inline-block;
    min-width: 60px;
}

.status-open {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-paid {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-dismissed {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-repaired {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}
.summary-card-extended {
    background: linear-gradient(135deg, #428bc0, #376b9d);
    color: white;
    border-radius: 0.5rem;
    padding: 8px;
    margin-bottom: 5px;
}

.summary-grid-extended {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.summary-amount, .summary-amount + div  {   
    color: #fff;
    font-size: 14px;
}
.summary-amount {
    font-size: 16px;
    font-weight: bold;
}
@media (max-width: 768px) {
    .summary-grid-extended {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .summary-grid-extended {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* Tabellen-Styling */
.damage-table-container {
    margin-top: 20px;
}

.damage-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}
.summary-card {
    background: linear-gradient(135deg, #428bc0, #376b9d);
    color: white;
    border-radius: 0.5rem;
    padding: 8px;
    margin-bottom: 5px;
}
.damage-summary-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.damage-summary-number {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
}

.damage-summary-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.damage-report {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}
.multiline-cell {
    white-space: normal !important;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    padding: 2px 0;
    display: block;
    pointer-events: auto !important;
    cursor: text;
}
.tabulator-cell.gestreifte-zeile .tabulator-cell-value {
    pointer-events: auto !important;
}

.tabulator-edit-textarea {
    z-index: 9999 !important;
    position: absolute !important;
    pointer-events: auto !important;
}

.tabulator .tabulator-edit-box select {
    position: relative !important;
    z-index: 1070 !important;
}
.tabulator .tabulator-edit-box textarea {
    position: relative !important;
}

.tabulator .tabulator-edit-box textarea::placeholder {
    color: #6c757d;
    font-size: 12px;
}
.damage-report h1 {
    color: #333;
    border-bottom: 3px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.damage-report h2 {
    color: #495057;
    margin-top: 30px;
    margin-bottom: 15px;
}

.report-date {
    color: #6c757d;
    font-style: italic;
    margin-bottom: 30px;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

.report-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-align: left;
    padding: 12px 8px;
    border: 1px solid #dee2e6;
}

.report-table td {
    padding: 10px 8px;
    border: 1px solid #dee2e6;
    vertical-align: top;
}

.scanner-delete-active {
    border: 3px solid #dc3545 !important;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.3) !important;
}

.scanner-delete-active .modal-header {
    background-color: #f8d7da !important;
    border-bottom: 2px solid #dc3545 !important;
}

.scanner-delete-active .modal-title {
    color: #721c24 !important;
    font-weight: bold !important;
}

/* Erweiterte Sicherheitskarte für Scanner-Löschung */
.card-danger-mode {
    border: 2px solid #dc3545;
    background-color: #f8d7da;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}
.neu-badge {
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(255, 71, 87, 0.3);
    animation: pulse-new 2s infinite;
}
@keyframes pulse-new {
    0%, 100% { 
        box-shadow: 0 2px 4px rgba(255, 71, 87, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 4px 8px rgba(255, 71, 87, 0.5);
        transform: scale(1.05);
    }
}
.card-danger-mode .card-body {
    background-color: #f8d7da;
}
.book-details {
    color: #666;
    font-style: italic;
    font-size: 0.9em;
}

.book-loading {
    color: #999;
    font-style: italic;
    font-size: 0.9em;
}
.report-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}
.tabulator-cell[tabulator-field="description"]:hover::after,
.tabulator-cell[tabulator-field="notes"]:hover::after {
    content: "Enter = Speichern • Shift+Enter = Umbruch";
    position: absolute;
    bottom: -25px;
    left: 0;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
}
.damage-suggestion-container {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 9999;
    max-height: 200px;
    overflow-y: auto;
}
.damage-suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}
.validation-indicator {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 16px;
}

.validation-success {
    color: #28a745;
}

.validation-error {
    color: #dc3545;
}
.damage-input-valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.damage-input-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.damage-suggestion-item:hover {
    background-color: #f8f9fa;
}

.damage-suggestion-item:last-child {
    border-bottom: none;
}

/* Duration Switch */
.duration-controls-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.duration-controls-disabled .duration-toggle {
    opacity: 0.4;
}
.duration-toggle {
    display: inline-block;
    padding: 3px 5px;
    border-radius: 30px;
    position: relative;
    border: 2px solid #428bc0;
    width: 140px;
    margin-right: 10px;
}

.duration-toggle label {
    text-align: center;
    font-family: sans-serif;
    display: inline-block;
    color: #95A5A6;
    position: relative;
    z-index: 2;
    margin: 0;
    text-align: center;
    padding: 2px 3px;
    font-size: 13px;
}

.duration-toggle input {
    position: absolute;
    z-index: 3;
    opacity: 0;
    cursor: pointer;
    width: 26px;
    height: 26px;
    margin: 5px;
}

.duration-toggle span {
    height: 33px;
    width: 33px;
    line-height: 21px;
    border-radius: 50%;
    background: #fff;
    display: block;
    position: absolute;
    left: 3px;
    top: 2px;
    transition: all 0.3s ease-in-out;
}

.duration-toggle input[value="max"]:checked ~ span {
    background: #fff;
    left: 5px;
    box-shadow: 0px 0px 15px 1px #428bc0;
    top: 3px;
    height: 25px;
}

.duration-toggle input[value="exact"]:checked ~ span {
    background: #fff;
    left: 40px;
    top: 3px;
    box-shadow: 0px 0px 10px 1px #428bc0;
    width: 39px;
    height: 24px;
}

/* Responsive Anpassungen */
@media (max-width: 576px) { 
    .duration-toggle {
        width: 100px;                
        padding: 0px 5px;
        border-radius: 36px;
        text-align: center;
        border: 0px;
    }
    
    .duration-toggle span {
        height: 45px;
        width: 45px;
        top: 7px;
        transition: all 0.3s ease-in-out;
    }
    
    .duration-toggle input[value="max"]:checked ~ span {
        background: #fff;
        left: 11px;
        top: 1px;
        box-shadow: 0px 0px 10px 1px #428bc0;
        width: 43px;
        height: 31px;
    }
    
    .duration-toggle input[value="exact"]:checked ~ span {
        left: 8px;
        height: 32px;
        width: 48px;
        top: 28px;
    }
    
    .duration-toggle input {
        width: 40px;
        height: 40px;
        margin: 5px;
        top: 7px;
    }
    
    .duration-toggle label {
        font-size: 16px;
        padding: 3px 5px;
    }
    .duration-toggle input[type="radio"]:nth-of-type(1) {
        width: 40px;
        height: 26px;
        margin: 5px;
        top: -3px;
        left: 7px;
    }
    .duration-toggle input[type="radio"]:nth-of-type(2) {
        width: 40px;
        height: 26px;
        margin: 5px;
        top: 27px;
        left: 7px;
    }
}
@media (max-width:576px) {
    .maxLendDurationInputDiv{
    padding-left: 0px;
}
}
/* Responsive Anpassungen für mehrzeilige Inhalte */
@media (max-width: 768px) {
    .multiline-cell {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .book-details,
    .book-loading {
        font-size: 0.8em;
    }
    
    .damage-suggestion-container {
        font-size: 14px;
    }
    
    /* Verstecke Tooltips auf mobilen Geräten */
    .tabulator-cell[tabulator-field="description"]:hover::after,
    .tabulator-cell[tabulator-field="notes"]:hover::after {
        display: none;
    }
    
    /* Reduziere Animationen auf mobilen Geräten */
    .tabulator-row-unsaved {
        animation: none;
        background: linear-gradient(90deg, #fff3cd 0%, #ffffff 15%) !important;
    }
    
    @keyframes blink-dot {
        0%, 100% { opacity: 1; }
    }
}

@media (max-width: 768px) {
    .damage-summary-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .damage-summary-number {
        font-size: 1.5rem;
    }
    
    .damage-suggestion-container {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .damage-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* Print-Styles */
@media print {
    .damage-summary-grid {
        grid-template-columns: repeat(2, 1fr);
        page-break-inside: avoid;
    }
    
    .report-table {
        font-size: 12px;
    }
    
    .report-table th,
    .report-table td {
        padding: 6px 4px;
    }
    
    .status-badge {
        border: 1px solid #333 !important;
        color: #000 !important;
    }
}
/* Top Notification*/
#notification-bar {
    position: relative;
    width: 100%;    
    
    
    clear: both;
    z-index: 2;
    
  }
.topNodeBtn {
    display: inline-block;
    --bs-btn-padding-y: 1px;
    --bs-btn-padding-x: 4px;
    --bs-btn-font-size: 12px;
}
#scanInput {
    width: 100px;
    font-size: 10px;
    display: inline-block;
}
.topnav-right {
    float: right;    
    padding: 10px;
}
.topnav-right a {
    text-decoration: solid;
}
.topnav-right .topItem {
    margin-left: 12px;
}
@media (max-width: 576px) {
    .topNav-Icon {
        font-size: 25px;
    }
    .bottomBtns {
        margin-top: 5px;
    }
}
.schoolib-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#notification-bar .topNode {
    width: 100%;
    height: 38px;
    margin: 0 auto;
    padding: 5px;   
    background-color: #428bca2e;
    box-shadow: 0 1px 15px rgb(0 0 0 / 30%);
}
.node-goUp{
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: goUp;
    animation-name: goUp;
}
.node-goDown {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: goDown;
    animation-name: goDown;
}
.slibPanel {
   width: 100%;
   height: auto;
}
#admin-sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    padding: 10px;
    overflow: auto;
}
.dataConfirmTable thead th , .dataConfirmTable tbody td{
    font-size: 10px;
    padding-top: 1px;
    padding-bottom: 1px;
}
.dataConfirmTable tbody>tr>td {
    padding-top: 1px;
    padding-bottom: 1px;
}
.dataConfirmInfo {
    text-align: center;
    font-size: 12px;
}
.icon-tile.active {
    background: #428bc0;
}
.icon-tile.active i{
    color: white;
}
@media (max-width: 992px) {
    .col-auto {
        flex: 1 0 auto;
        width: auto;
        display: flex;
        justify-content: space-around;
    }
}
.hidden-xs {
    display: none;
}
@media (min-width: 576px) {
    .hidden-xs {
        display: inline;
    }
}
.hidden {
    display: none;
}
.invis {
    visibility: hidden;
}
.float-left {
    float: left;
}

/* Schoolib Hilfemenü CSS - Angepasst um Konflikte zu vermeiden */

/* Spezifische Klassen für das Hilfemenü mit Präfixen, um Überschneidungen zu vermeiden */
.help-modal-xl {
    max-width: 90%;
}
.schoolib-warning {
    background-color: #ffd9b7;
    border-color: #ffca9b;
}
/* Produkt Werbung */
#helpModal .product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    border: 1px solid #dee2e6;
    overflow: visible;
    width: auto;
}

#helpModal .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#helpModal .product-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#helpModal .product-card .card-title {
    color: #428bc0;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

#helpModal .product-card .card-text {
    color: #666;
    flex-grow: 1;
}

#helpModal .product-price {
    font-size: 1.1rem;
    color: #428bc0;
    padding: 0.5rem 0;
    border-top: 1px dashed #eee;
    border-bottom: 1px dashed #eee;
    margin: 0.5rem 0;
    text-align: center;
}

#helpModal .product-card .btn {
    margin-top: auto;
    transition: background-color 0.2s ease;
}

/* Basis-Badge-Stil */
.product-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 2;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transform: rotate(0);
    transition: transform 0.3s ease;
    /* Für Badge-Stil ist kein overflow: hidden nötig */
}

/* Hover-Effekt für den Badge */
.product-card:hover .product-badge {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Empfohlenes Produkt Badge */
.product-badge.recommended {
    background: linear-gradient(135deg, #ff9a3c, #ff5f40);
    color: white;
}

/* Angebots-Badge */
.product-badge.sale {
    background: linear-gradient(135deg, #3c9eff, #6452ff);
    color: white;
}

/* Top-Seller Badge */
.product-badge.bestseller {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

/* Spezieller Ribbon-Stil für besondere Produkte */
.product-ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    top: -10px;
    right: 0;
}

/* Container für Ribbon muss overflow: hidden haben */
.ribbon-container {
    position: relative;
    overflow: hidden !important; /* Wichtig für das Ribbon! */
}


.product-ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 8px 0;
    background-color: #f1c40f;
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #333;
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-transform: uppercase;
    text-align: center;
    left: -5px;
    top: 33px;
    transform: rotate(45deg);
}

/* Responsive Anpassungen */
@media (max-width: 767.98px) {
    #helpModal .product-card {
        margin-bottom: 1rem;
    }
    
    #helpModal .col-md-4 {
        padding: 0 0.5rem;
    }
}
/* Tabulator Override um Konflikte zu vermeiden */
#helpModal .nav-tabs .nav-link {
    color: #428bc0;
    border: 1px solid transparent;
    font-weight: normal;
}

#helpModal .nav-tabs .nav-link.active {
    color: #428bc0;
    font-weight: 600;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

#helpModal .nav-tabs .nav-link:hover:not(.active) {
    border-color: #e9ecef #e9ecef #dee2e6;
    background-color: #f8f9fa;
}

/* Video-Bereich für das Hilfemenü */
#helpModal .video-list {
    border-radius: 6px;
    overflow: hidden;
}

#helpModal .video-list .list-group-item.active {
    background-color: #f8f9fa;
    color: #428bc0;
    border-left: 4px solid #428bc0;
}

#helpModal .video-list .list-group-item:hover {
    background-color: #f1f3f5;
}

#helpModal .video-link {
    cursor: pointer;
    transition: all 0.2s ease;
}

#helpModal .video-link:hover {
    transform: translateX(3px);
}

/* FAQ-Akkordeon speziell für das Hilfemenü */
#helpModal .accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #428bc0;
    box-shadow: none;
}

#helpModal .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(66, 139, 202, 0.25);
}

#helpModal .accordion-body {
    color: #428bc0;
}

/* Listen im Hilfemenü */
#helpModal .list-group-item .fas, 
#helpModal .list-group-item .far {
    width: 20px;
    text-align: center;
}

/* Support-Formular im Hilfemenü */
#helpModal .form-control:focus,
#helpModal .form-select:focus {
    border-color: #428bc0;
    box-shadow: 0 0 0 0.25rem rgba(66, 139, 202, 0.25);
}

/* Alert-Styling für Meldungen */
#helpModal .alert {
    border-radius: 4px;
}

#helpModal .btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(66, 139, 202, 0.25);
}

/* Video Container mit festen Proportionen */
#helpModal .ratio-16x9 {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Verhältnis */
    overflow: hidden;
    border-radius: 4px;
}

#helpModal .ratio-16x9 video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Hilfe-Button Styling angepasst an die bestehende Farbpalette */
.helpHeader {
    background-color: #428bc0;    
}
.helpHeader h5 {
    color: white;
    font-weight: 600;
}
.helpHeader>h5>i {
    color: white;
}
#helpButton {      
    border-radius: 50%;    
    color: white;
    
    cursor: pointer;   
    transition: all 0.3s ease;
    border: none;
}

/* Suchfunktion Styling */
#helpSearchModal .modal-dialog {
    max-width: 600px;
}
#helpModal kbd {
    display: inline-block;
    padding: 3px 6px;
    font: 0.85em/1 "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    color: #444;
    vertical-align: middle;
    background-color: #fafafa;
    border: 1px solid #d1d1d1;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.2), inset 0 0 0 2px #fff;
    margin: 0 2px;
    text-align: center;
    min-width: 20px;
}

#helpModal kbd.arrow-key {
    min-width: 16px;
    height: 16px;
    line-height: 1;
    font-size: 1em;
}
#helpSearchResults {
    max-height: 400px;
    overflow-y: auto;
}

#helpModal .search-result-item:hover {
    background-color: #f8f9fa;
}

/* Tabinhalte für das Hilfemenü */
#helpModal .tab-content > .tab-pane {
    padding: 15px 0;
}

/* FAQ Abschnitte */
#helpModal .faq-section {
    margin-bottom: 20px;
}

#helpModal .faq-title {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 8px;
    margin-bottom: 15px;
    color: #428bc0;
}

/* Statusmeldungen */
#helpModal .status-success,
#helpModal .status-success i {
    color: #4CAF50;
}

#helpModal .status-warning,
#helpModal .status-warning i {
    color: #FFC107;
}

#helpModal .status-danger,
#helpModal .status-danger i {
    color: #F44336;
}

/* Support Form */
#helpModal #supportForm .form-label {
    color: #428bc0;
}

/* Übergangseffekte */
#helpModal .fade-transition {
    transition: opacity 0.3s ease;
}

/* Cards speziell fürs Hilfemenü */
#helpModal .help-card {
    width: 100%;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
}

#helpModal .help-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

#helpModal .help-card .card-header {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #428bc0;
}

/* Buttons im Hilfemenü */
#helpModal .btn-help-primary {
    background-color: #428bc0;
    border-color: #428bc0;
    color: white;
}

#helpModal .btn-help-primary:hover {
    background-color: #3579ae;
    border-color: #3579ae;
}

#helpModal .btn-help-outline {
    border-color: #428bc0;
    color: #428bc0;
}

#helpModal .btn-help-outline:hover {
    background-color: #428bc0;
    color: white;
}

/* Adaptive Styles für mobile Geräte */
@media (max-width: 767.98px) {
    .help-modal-xl {
        max-width: 100%;
        margin: 0.5rem;
    }
    
    #helpModal .video-list {
        margin-bottom: 1rem;
    }
    
    #helpModal .nav-tabs .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    #helpModal .card-body {
        padding: 0.75rem;
    }
    .logoText {
        font-size: 19px;
    }
    .topnav-right .topItem {
        margin-left: 6px;
    }
}

/* Print-Styling für das Hilfemenü */
@media print {
    #helpModal .modal-dialog {
        max-width: 100%;
        margin: 0;
    }
    
    #helpModal .modal-content {
        border: none;
        box-shadow: none;
    }
    
    #helpModal .nav-tabs, 
    #helpModal .modal-footer,
    #helpModal video, 
    #helpModal .btn-close {
        display: none !important;
    }
    
    #helpModal .tab-content > .tab-pane {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    #helpModal .card {
        border: 1px solid #ddd;
        margin-bottom: 20px;
        break-inside: avoid;
    }
}
.invoice-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.invoice-card .card {
    border-width: 2px;
}

.invoice-icon {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
}

.invoice-list {
    max-height: 500px;
    overflow-y: auto;
}

.invoice-list::-webkit-scrollbar {
    width: 6px;
}

.invoice-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.invoice-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.invoice-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.btn-group .btn {
    white-space: nowrap;
}

.badge {
    font-size: 0.75em;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .invoice-card .row {
        text-align: center;
    }
    
    .invoice-card .col-md-6:last-child {
        margin-top: 15px;
    }
    
    .btn-group {
        width: 100%;
        justify-content: center;
    }
    
    .btn-group .btn {
        flex: 1;
    }
}

/* Animation für Filtereffekte */
.invoice-card {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.invoice-card[style*="display: none"] {
    opacity: 0;
}
.tableButton {
    margin-top: 5px;
    margin-left: 5px;
    width:auto;
}
.schooltip {
  position: relative;
  display: inline-block;
  cursor: help;
}
.schoolib-tooltip {
  --bs-tooltip-bg: #428bc0;
  --bs-tooltip-color: #fff;
}
.schooltip .schooltiptext {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background-color: #428bc0;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: normal; /* erlaubt Zeilenumbruch */
  max-width: 250px; /* verhindert, dass der Tooltip zu breit wird */
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 2000;
  overflow-wrap: break-word;
}

.schooltip:hover .schooltiptext {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Pfeil */
.schooltip .schooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #428bc0 transparent transparent transparent;
}


.inputGroupFlex {
    display: flex;    
    align-items: center;
}
.inputGroupFlex input {
    width: 70px;
    height: 26px;
    margin-left: 10px;
    margin-right: 10px;
}
.card-bold {
    background-color: rgb(0 0 0 / 15%);
    font-weight: 700;
}
.flexBtns {
    display: flex;
    justify-content: space-around;
}
.text-12 {

    font-size: 12px;
}
.icon-tile p {
    color: #428bc0;
    font-size: 9px;
}
.icon-tile.active p{
    color: white;
}
.icon-tile {
    padding-top: 10px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 25px;
    align-content: center;
    flex-direction: column;
}
.icon-tile:not(.active):hover {
    cursor: pointer;
    background: #f0f8ff;
}
.scanner-inputs {
    display: flex;
    justify-content: center;
}
.tab-pane {
    width: 100%;
}
.scanner-status {
    display: flex;
    justify-content: center;
    font-size: 14px;
    height: 38px;   
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
    align-items: center;
}
@keyframes blink {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.3;
    }
  }
  @keyframes subBlink {
    0%, 100% {
      opacity: 0.4;
    }
    50% {
      opacity: 0.15;
    }
  }

.blink-icon + #scannerStatusText {
    animation: blink 1s linear infinite;    
    font-size: 12px;
}

.blink-icon {
    animation: blink 1s linear infinite;  
    margin-right: 4px;
    font-size: 32px;
}
.blink-icon-mini {
    animation: blink 1s linear infinite;  
    margin-right: 4px;
    font-size: 16px;
}
#scannerStatusText-mini {
    animation: blink 1s linear infinite;    
    font-size: 12px;
}
.subBlink {
    animation: subBlink 2s linear infinite; 
   
}

.blinkingRow div{
    animation: blinkingRowAnimation 2s 1;
    animation-fill-mode: forwards;
}

.highlightLendDate {
    animation: highlightBorder 5s ease-out;
}
@keyframes savedFade {
  0% {
    /* kurzes Aufblitzen auf volle Deckkraft */
    background-color: rgba(212, 237, 218, 0.582);    
  }
  100% {
    /* sanft zurück auf transparent */
    background-color: rgba(212, 237, 218, 0);    
  }
}
 @keyframes warning-light {
    0%, 49% { 
        background-color: #91b6c7;    
        box-shadow: 0 0 6px #3c79ac;
    }
    50%, 100% { 
        background-color: #ffd19e;
        box-shadow: 0 0 6px #ffd9ae;
    }    
}
@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
@keyframes blink-dot {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}
@keyframes pulse-warning {
    0% { background-color: #fff3cd; }
    50% { background-color: #ffeaa7; }
    100% { background-color: #fff3cd; }
}
@keyframes pulse-unsaved {
    0% { 
        background: linear-gradient(90deg, #fff3cd 0%, #ffffff 8%);
        border-left-color: #fd7e14; 
    }
    50% { 
        background: linear-gradient(90deg, #ffeaa7 0%, #ffffff 8%);
        border-left-color: #e67e22; 
    }
    100% { 
        background: linear-gradient(90deg, #fff3cd 0%, #ffffff 8%);
        border-left-color: #fd7e14; 
    }
}
@keyframes highlightBorder {
    0% {        
        background-color: #61b6ff; 
    }
    100% {         
        background-color: transparent;
    }
}

@keyframes blinkingRowAnimation {
    0% {
      background-color: #f3f3f3;
      color:#428bc0;
    }
    50% {
      background-color: #AC80A0;
      color:#F3F3F3;
    }
    100% {
      background-color: #f3f3f3;
      color:#428bc0;
    }
  }

@-webkit-keyframes goUp {
    0% {
      -webkit-transform: none;
      transform: none;
      
    }
    100% {
      -webkit-transform: translate3d(0, -38px, 0);
      transform: translate3d(0, -38px, 0);
      
    }
  }
  
  @keyframes goUp {
    0% {
      -webkit-transform: none;
      transform: none;
      
    }
    100% {
      -webkit-transform: translate3d(0, -38px, 0);
      transform: translate3d(0, -38px, 0);
      
    }
  }

  /* Animationen  */
  
  @-webkit-keyframes goDown {
    0% {
      -webkit-transform: translate3d(0, -38px, 0);
      transform: translate3d(0, -38px, 0);
      
    }
    100% {
      -webkit-transform: none;
      transform: none;
      
    }
  }
  
  @keyframes goDown {
    0% {
      -webkit-transform: translate3d(0, -38px, 0);
      transform: translate3d(0, -38px, 0);
      
    }
    100% {
      -webkit-transform: none;
      transform: none;
      
    }
  }
.card-reset {
    width: auto;
    height: auto;
    min-height: auto;
    padding: 0px;
    overflow: auto;
}

/* ═══════════════════════════════════════════════════════════════
   Admin Konfiguration - Collapsible Groups
   ═══════════════════════════════════════════════════════════════ */

.config-container {
    padding: 0 10px;
}

/* Kompakte Navigation - Tabellenartig */
.config-nav {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 15px;
    border: 1px solid #dee2e6;
}

.config-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #dee2e6;
}

.config-group:last-child {
    border-bottom: none;
}

.config-label {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
    width: 120px;
    flex-shrink: 0;
    padding-right: 12px;
    border-right: 2px solid #dee2e6;
    margin-right: 8px;
}

/* Tabellen-Controls: größeres Label */
.tab-content .config-label {
    font-size: 1rem;
    width: 160px;
    padding-right: 10px;
}

/* Schlichte Link-Buttons */
.config-pill {
    background: none;
    border: none;
    padding: 4px 10px;
    font-size: 0.95rem;
    color: #428bc0;
    text-decoration: none;
    transition: all 0.15s ease;
    border-radius: 4px;
    cursor: pointer;
}

.config-pill:hover {
    background: rgba(66, 139, 192, 0.12);
    color: #2d6a9f;
}

.config-pill:focus {
    outline: none;
    box-shadow: none;
}

.config-pill.active {
    background: #428bc0;
    color: white;
}

.config-pill.active i {
    color: white;
}

.config-pill i {
    font-size: 0.95em;
    margin-right: 3px;
}

/* Dropdown-Toggle im config-pill Style */
.config-pill.dropdown-toggle::after {
    margin-left: 4px;
    vertical-align: middle;
}

/* Warning-Variante für config-pill */
.config-pill-warning {
    color: #856404;
}

.config-pill-warning:hover {
    background: rgba(255, 193, 7, 0.2);
    color: #664d03;
}

.config-pill-warning i {
    color: #856404;
}

/* Collapse-Bereich für Cards */
.config-content {
    min-height: 50px;
}

.config-collapse {
    margin-top: 0;
}

.config-collapse .slibPanel {
    border-left: 4px solid #428bc0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .config-label {
        min-width: 80px;
        font-size: 0.8rem;
    }

    .config-pill {
        font-size: 0.75rem;
        padding: 3px 8px;
    }

    .config-group {
        gap: 4px;
    }

    .config-nav {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .config-label {
        width: 100%;
        margin-bottom: 4px;
    }

    .config-group {
        padding-bottom: 8px;
        border-bottom: 1px solid #dee2e6;
    }

    .config-group:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}