.durchgestrichen {
    text-decoration: line-through;
    text-decoration-color: red;
    text-decoration-thickness: 5px;
}
.datepicker { z-index:1600 !important; }
.fav-header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Stern links, Pfeil rechts */
    gap: 8px;
}

.btn-fav,
.btn-share {
    color: #999;
    padding: 0;
    font-size: 1.2em;
    line-height: 1;
}

.btn-fav.active { color: gold; }
.btn-fav:hover { color: #888; }

.btn-fav i,
.btn-share i {
    pointer-events: none;
}
/* */
.dropdown-menu > li > a {
    color: #333 !important;
}

.dropdown-menu > li.active > a {
    background-color: #f5f5f5;
    color: #333 !important;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background-color: #f5f5f5;
    color: #262626 !important;
}

.dropdown-menu img {
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

@media (max-width: 767px) {
    .lang-selector .label {
        padding: 5px 8px !important;
        font-size: 12px !important;
    }
}

.dropdown-menu > li > a:hover img {
    transform: scale(1.1);
    transition: transform 0.2s;
}

.user-login-item {
    flex-shrink: 0;
}

.user-login-link {
    /* Verhindert Umbruch innerhalb des Links */
    white-space: nowrap;
    display: inline-block;
}

.user-id {
    font-weight: bold;
    margin-right: 5px;
}

@media (max-width: 991px) {
    .navbar-header {
        float: none;
    }

    .navbar-left, .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }

    .navbar-nav > li {
        float: none;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
        white-space: nowrap;
    }


    .collapse.in {
        display: block !important;
    }

    .navbar-nav .dropdown-menu {
        min-width: 180px;
    }

    .navbar-nav > li > a {
        overflow: visible;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .user-id {
        display: none;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-nav > li > a {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (min-width: 1200px) {
    .navbar-nav > li > a {
        padding-left: 20px;
        padding-right: 20px;
    }
}
/* */
.spacer {
    height: 20px;
}
.center-box {
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertikal */
    height: 50px;           /* Beispiel */
}
.modal-header-actions {
    display: flex;
    align-items: center;
    gap: 12px; /* Abstand zwischen Drucker & Close */
}

#btnPrintAusschreibung {
    padding: 0;
    color: #333;
}

#btnPrintAusschreibung:hover {
    color: #000;
    text-decoration: none;
}
a[id] {
    scroll-margin-top: 55px;
    display: block;  /* WICHTIG! Macht Anker zu Block-Element */
}
#pull-to-refresh-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    text-align: center;
    padding: 10px;
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    display: none;
}
#pull-to-refresh-indicator.visible {
    display: block;
}
#pull-to-refresh-indicator.ready {
    transform: translateY(0);
}