.booking-button-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.booking-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #000000;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 0;
    font-weight: 700;
    transition: background-color 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.booking-button:hover {
    background-color: #333333;
    color: white;
    text-decoration: none;
}

.booking-button-container-header {
    display: flex;
    justify-content: center;
    margin: 0; /* Margin auf 0 gesetzt, damit der Button bündig mit der Navbar ist */
    height: 100%; /* Volle Höhe des Containers */
}

.booking-button-header {
    display: flex; /* Flex statt inline-block für bessere Zentrierung */
    align-items: center; /* Vertikale Zentrierung des Texts */
    justify-content: center; /* Horizontale Zentrierung des Texts */
    padding: 0 1.5rem; /* Seitliche Polsterung beibehalten, vertikale entfernt */
    background-color: #000000;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 0;
    font-weight: 700; /* Schrift auf fett (700) gesetzt */
    transition: background-color 0.3s ease;
    cursor: pointer;
    font-size: 0.8rem;
    white-space: nowrap;      /* Verhindert Zeilenumbrüche */
    overflow: hidden;         /* Versteckt überlaufenden Text */
    text-overflow: ellipsis;  /* Zeigt Auslassungspunkte bei Textüberlauf an */
    max-width: 100%;
    height: auto; /* Button nimmt die volle Höhe des Containers ein */
}


.booking-button-header:hover {
    background-color: #333333;
    color: white;
    text-decoration: none;
}

/* Desktop-spezifische Styles - überschreiben mobile Styles */
@media (min-width: 991px) {
    .booking-button-container-header {
        height: var(--navbar-height);
    }
    
    .booking-button-header {
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

.jsoe-calendar-container {
    display: flex;
    flex-direction: column;
}

.jsoe-calendar-dates {
    display: flex;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.jsoe-calendar-date {
    min-width: 70px;
    text-align: center;
    padding: 0.5rem;
    cursor: pointer;
    border: 1px solid #ddd;
    margin-right: 0.5rem;
    border-radius: 0;
    transition: all 0.2s ease;
}

.jsoe-calendar-date.active {
    background-color: #000;
    color: white;
    border-color: #000;
}

.jsoe-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.jsoe-time-slot {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.jsoe-time-slot:hover {
    background-color: #f5f5f5;
}

.jsoe-time-slot.active {
    background-color: #000;
    color: white;
    border-color: #000;
}

.loading-indicator {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.dropzone {
    border: 2px dashed #ddd;
    border-radius: 0;
    padding: 2rem;
    text-align: center;
    background: #f9f9f9;
    transition: all 0.3s ease;
    min-height: 150px;
    position: relative;
}

.dropzone:hover {
    border-color: #aaa;
    background: #f5f5f5;
}

.dropzone.dz-drag-hover {
    border-color: #000;
    background: #f0f0f0;
}

.dropzone .dz-message {
    margin: 2em 0;
}

.dropzone .dz-preview {
    position: relative;
    display: inline-block;
    margin: 16px;
    min-height: 100px;
    max-width: 120px;
}

.dropzone .dz-preview .dz-image {
    border-radius: 0;
    overflow: hidden;
    width: 120px;
    height: 120px;
    position: relative;
    display: block;
    z-index: 10;
}

.dropzone .dz-preview .dz-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropzone .dz-preview .dz-success-mark,
.dropzone .dz-preview .dz-error-mark {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    z-index: 500;
    display: block;
    top: 50%;
    left: 50%;
    margin-left: -27px;
    margin-top: -27px;
}

.dropzone .dz-preview .dz-success-mark {
    color: #8cc657;
}

.dropzone .dz-preview .dz-error-mark {
    color: #ee162d;
}

.dropzone .dz-preview.dz-success .dz-success-mark {
    opacity: 1;
}

.dropzone .dz-preview.dz-error .dz-error-mark {
    opacity: 1;
}

.dropzone .dz-preview .dz-progress {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -40px;
    margin-top: -20px;
    width: 80px;
    height: 40px;
    z-index: 1000;
    opacity: 1;
}

.dropzone .dz-preview .dz-progress .dz-upload {
    background: #333;
    background: linear-gradient(to bottom, #666, #444);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -40px;
    margin-top: -1px;
    width: 80px;
    height: 2px;
    border-radius: 0;
}

.dropzone .dz-preview .dz-remove {
    font-size: 14px;
    text-align: center;
    display: block;
    cursor: pointer;
    border: none;
    background: none;
    color: #758184;
    padding: 4px 8px;
    text-decoration: underline;
}

.dropzone .dz-preview .dz-remove:hover {
    color: #333;
}

.dropzone .dz-preview:hover .dz-details {
    opacity: 1;
}

.dropzone .dz-preview .dz-details {
    z-index: 20;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    color: white;
    background: rgba(33, 150, 243, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 12px;
    pointer-events: none;
    transition: opacity 0.2s;
}

.dropzone .dz-preview .dz-details .dz-size {
    margin-bottom: 1em;
    font-size: 16px;
}

.dropzone .dz-preview .dz-details .dz-filename {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropzone .dz-preview[data-dz-thumbnail] .dz-image {
    overflow: hidden;
}

.dropzone-container {
    margin-top: 1rem;
}

.category-description {
    position: relative;
    background-color: #000;
    color: #fff;
    padding: 1rem 1rem 1rem 4rem;
    border-radius: 0;
}

.category-description::before {
    font-family: "Font Awesome 5 Free";
    Content: "\f129";
    font-weight: 700;
    position: absolute;
    left: 1rem;
    top: 11px;
    display: inline-block;
    color: #000;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    font-size: 1rem;
    border-radius: 50%;
    background-color: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
}

.category-item {
    border: 1px solid #ddd;
    border-radius: 0;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.category-item:hover {
    border-color: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #000;
}

.category-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.category-arrow {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
}

.article-item {
    border: 1px solid #ddd;
    border-radius: 0;
    padding: 1.5rem;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.article-item:hover {
    border-color: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.article-info {
    width: 100%;
}

.article-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
    line-height: 1.4;
}

.article-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.75rem;
}

.article-price::after {
    content: " inkl. MwSt.";
    font-size: 0.8rem;
    font-weight: 400;
    color: #666;
}

.article-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 0.5rem;
    max-height: 3rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-arrow {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
    border-radius: 0;
}

.breadcrumb-item a {
    color: #000;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}



.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.question-input:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,.1);
}

.form-group.has-error .question-input {
    border-color: #dc3545;
}

.form-group.has-warning .question-input {
    border-color: #ffc107;
}

.question-step {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 0;
    background-color: #f8f9fa;
}

.question-step label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.upload-section {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0;
}

/* Loading Spinner Styles */
.button-with-loading {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.button-loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.button-loading .button-loading-spinner {
    display: inline-block;
}

.button-loading .button-text {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Button Styles - Angular, Black - Only for JSOE Plugin */
.jsoe-btn, .jsoe-btn-primary, .jsoe-btn-secondary, .jsoe-btn-block,
#submitQuestionnaire, #confirmBooking {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.jsoe-btn:hover, .jsoe-btn-primary:hover, .jsoe-btn-secondary:hover,
#submitQuestionnaire:hover, #confirmBooking:hover {
    background-color: #333;
    border-color: #333;
    color: #fff;
    text-decoration: none;
}

.jsoe-btn:focus, .jsoe-btn-primary:focus, .jsoe-btn-secondary:focus,
#submitQuestionnaire:focus, #confirmBooking:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.25);
}

.jsoe-btn:disabled, .jsoe-btn-primary:disabled, .jsoe-btn-secondary:disabled,
#submitQuestionnaire:disabled, #confirmBooking:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.jsoe-btn-block {
    display: block;
    width: 100%;
}

/* Zusätzliche Button-Varianten für das Plugin */
.jsoe-btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.jsoe-btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
    background-color: transparent;
}

.jsoe-btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.jsoe-toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1055;
    max-width: 350px;
}

.notification-toast {
    position: relative;
    min-height: 1rem;
    padding: 0.25rem 0.75rem;
    color: #212529;
    background-color: rgba(255, 255, 255, 0.85);
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    margin-bottom: 0.5rem;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-toast.jsoe-toast-success {
    border-color: #28a745;
}

.notification-toast.jsoe-toast-warning {
    border-color: #ffc107;
}

.notification-toast.jsoe-toast-error {
    border-color: #dc3545;
}

.notification-toast.jsoe-toast-info {
    border-color: #17a2b8;
}

.jsoe-toast-header {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    color: #6c757d;
    background-color: #fff;
    background-clip: padding-box;
    border-bottom: 1px solid #ddd;
}

.jsoe-toast-header .jsoe-toast-title {
    margin-right: auto;
    font-weight: 600;
    color: #000;
}

.jsoe-toast-header .jsoe-toast-title i {
    margin-right: 0.5rem;
}

.jsoe-toast-close {
    margin-left: auto;
    margin-right: -0.375rem;
    background-color: transparent;
    border: 0;
    outline: 0;
    color: #000;
    font-size: 1.25rem;
    line-height: 1;
}

.jsoe-toast-close:hover {
    color: #000;
    opacity: 0.5;
}

.jsoe-toast-body {
    padding: 0.75rem;
    word-wrap: break-word;
    color: #000;
    background-color: #fff;
}

.calendar-day-selected {
    background-color: #000 !important;
    color: white !important;
    border-color: #000 !important;
}

.jsoe-time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.jsoe-time-slot-card {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    text-align: center;
}

.jsoe-time-slot-card:hover {
    border-color: #000;
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.jsoe-time-slot-selected {
    background-color: #000 !important;
    color: white !important;
    border-color: #000 !important;
}

.jsoe-time-slot-selected:hover {
    background-color: #333 !important;
    border-color: #333 !important;
}

.jsoe-time-slot-time {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.jsoe-time-slot-calendar {
    font-size: 0.9rem;
    color: #666;
}

.jsoe-time-slot-selected .jsoe-time-slot-calendar {
    color: #ccc;
}

@media (max-width: 992px) {
    .jsoe-time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .jsoe-mobile-navbar-button {
        position: absolute;
        top: 0;
        right: 6.5rem;
        z-index: 1030;
    }
}

@media (min-width: 768px) {
    .jsoe-mobile-navbar-button {
        position: absolute;
        top: 0;
        right: 11.5rem;
        z-index: 1030;
    }
}

@media (max-width: 991px) {
    .jsoe-calendar-container {
        padding: 1rem;
    }

    .jsoe-time-slots {
        grid-template-columns: 1fr 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .jsoe-time-slots-grid {
        grid-template-columns: 1fr;
    }

    .jsoe-time-slot-card {
        padding: 0.75rem;
    }

    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
    }

    .jsoe-modal-content {
        border: none;
    }

    .modal-body {
        padding: 1rem 0.75rem;
    }

    .jsoe-toast-container {
        top: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
        max-width: none;
    }

    .notification-toast {
        margin-bottom: 0.25rem;
    }

    /* Breadcrumb mobile styles */
    .breadcrumb {
        padding: 0;
        margin-bottom: 0.5rem;
        background-color: transparent;
        border-radius: 0;
    }

    .breadcrumb-item {
        display: flex;
        align-items: center;
        margin-bottom: 0.25rem;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        content: "/";
        color: #6c757d;
        padding: 0 0.25rem;
        font-weight: normal;
    }

    .breadcrumb-item a {
        color: #000;
        text-decoration: none;
        font-weight: 500;
        word-break: break-word;
        hyphens: auto;
    }

    .breadcrumb-item.active {
        color: #6c757d;
        font-weight: 700;
        word-break: break-word;
        hyphens: auto;
        padding-left: 0.5rem;
    }

    /* Navigation wrapper */
    nav[aria-label="Kategorien-Navigation"] {
        margin-bottom: 1rem;
        background-color: white;
        padding: 0.5rem;
        border-radius: 0;
    }

    .jsoe-mobile-navbar-button .booking-button-container-header {
        margin: 0;
        height: 4.25rem;
        justify-content: center;
    }

    .jsoe-mobile-navbar-button .booking-button-header {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 0.75rem;
        background-color: #000000;
        color: white;
        text-decoration: none;
        border: none;
        border-radius: 0;
        font-weight: 700;
        transition: background-color 0.2s ease;
        cursor: pointer;
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        height: auto;
        min-height: 2.25rem;
        min-width: 2.25rem;
    }

    .jsoe-mobile-navbar-button .booking-button-header:hover {
        background-color: #333333;
        color: white;
        text-decoration: none;
    }

    .jsoe-mobile-menu-item {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #eeeeee;
        margin-bottom: 0.5rem;
    }

    .jsoe-mobile-menu-item .booking-button-container-header {
        margin: 0;
        height: auto;
        justify-content: flex-start;
    }

    .jsoe-mobile-menu-item .booking-button-header {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        font-weight: 500;
        width: 100%;
        height: auto;
        background-color: transparent;
        color: #333333;
        border: 1px solid #333333;
        border-radius: 4px;
        text-align: center;
        transition: all 0.3s ease;
    }

    .jsoe-mobile-menu-item .booking-button-header:hover {
        background-color: #333333;
        color: white;
    }
}

@media (max-width: 576px) {
    .jsoe-time-slots-grid {
        grid-template-columns: 1fr;
    }

    .jsoe-time-slot-card {
        min-height: auto;
        padding: 0.75rem 0.5rem;
    }
}

.time-slot {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
}

.time-slot:hover {
    background-color: #f5f5f5;
}

.time-slot-selected {
    background-color: #000;
    color: white;
    border-color: #000;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.calendar-month-year {
    font-weight: 600;
    font-size: 1.1rem;
}

.calendar-table {
    width: 100%;
    margin-bottom: 1rem;
}

.calendar-day {
    text-align: center;
    padding: 0.75rem 0.5rem;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.calendar-day:hover:not(.calendar-day-past) {
    background-color: #f8f9fa;
}

.calendar-day-today {
    background-color: #f8f9fa;
    font-weight: 600;
}

.calendar-day-past {
    color: #999;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

.calendar-day-unavailable {
    color: #ccc;
    cursor: not-allowed;
    background-color: #f8f8f8;
    text-decoration: line-through;
    opacity: 0.6;
}

.calendar-day-unavailable:hover {
    background-color: #f8f8f8 !important;
}

.calendar-day-selected {
    background-color: #000 !important;
    color: white !important;
    border-color: #000 !important;
}

.jsoe-time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.jsoe-time-slot-card {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    text-align: center;
}

.jsoe-time-slot-card:hover {
    border-color: #000;
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.jsoe-time-slot-selected {
    background-color: #000 !important;
    color: white !important;
    border-color: #000 !important;
}

.jsoe-time-slot-selected:hover {
    background-color: #333 !important;
    border-color: #333 !important;
}

.jsoe-time-slot-time {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.jsoe-time-slot-calendar {
    font-size: 0.9rem;
    color: #666;
}

.jsoe-time-slot-selected .jsoe-time-slot-calendar {
    color: #ccc;
}

.questionnaire-info-text {
    border-left: 4px solid #17a2b8;
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0;
}

.questionnaire-info-text .info-link {
    color: #0c5460;
    text-decoration: underline;
    font-weight: 600;
}

.questionnaire-info-text .info-link:hover {
    color: #17a2b8;
    text-decoration: underline;
}

.time-slot {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
}

.time-slot:hover {
    background-color: #f5f5f5;
}

.time-slot-selected {
    background-color: #000;
    color: white;
    border-color: #000;
}