* {
    /*border: 1px solid magenta;*/
}

h1 {
    text-align: center;
}

h1,
h2,
h3 {
    font-family: "Roboto";
    text-transform: uppercase;
    margin: 0;
}

h3 {
    color: #f9c64a;
}

.mb-1 {
    margin-bottom: 5px;
}

.mb-2 {
    margin-bottom: 20px;
}

.va-schedule {
    position: relative;
    min-height: 200px;
}

.relative {
    position: relative;
}

/* --- VA Button System --- */

/* Flip transform for left-pointing arrows */
.va-arrow-flip {
    display: inline-block;
    transform: scaleX(-1);
}

/* Base button styles */
.va-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid transparent;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    min-height: 36px;
    box-sizing: border-box;
    line-height: 1.2;
}

.va-btn .button-atom__text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
}

/* Pipe separator inside buttons */
.va-btn-pipe {
    margin: 0 2px;
}

/* Primary buttons (apply, pdf) — defaults matching theme */
.va-btn-apply,
.va-btn-pdf {
    background: #24325b;
    color: #ffffff;
    border-color: #24325b;
}

.va-btn-apply:hover,
.va-btn-pdf:hover {
    background: #fac64a;
    color: #000000;
    border-color: #fac64a;
}

/* All arrows inside va-btn buttons inherit the button's text color.
   Using currentColor !important overrides external CSS hardcoded colors
   (e.g. .arrow-down / .arrow-top have background-color: #24325b by default). */
.va-btn .arrow,
.va-btn .arrow::before,
.va-btn .arrow::after,
.va-btn .arrow-down,
.va-btn .arrow-down::before,
.va-btn .arrow-down::after,
.va-btn .arrow-top,
.va-btn .arrow-top::before,
.va-btn .arrow-top::after,
.va-btn .arrow-bottom,
.va-btn .arrow-bottom::before,
.va-btn .arrow-bottom::after {
    background-color: currentColor !important;
    transition: background-color 0.3s ease;
}

/* Self-contained arrow sizing for va-btn context.
   Overrides external CSS (higher specificity) and works even without it.
   Uses 2px line height to avoid sub-pixel rendering issues. */

/* Horizontal right-pointing arrow (.arrow, .arrow-short) */
.va-btn .arrow {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 2px;
    margin: 0 3px !important;
    border-radius: 2px;
    vertical-align: middle;
    flex-shrink: 0;
}
.va-btn .arrow::before,
.va-btn .arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 9px;
    height: 2px;
    border-radius: 2px;
    transform-origin: 100% 50%;
}
.va-btn .arrow::before { transform: rotate(42deg); }
.va-btn .arrow::after  { transform: rotate(-42deg); }

/* Downward arrow (.arrow-down)
   Both arms meet at the center-bottom (the tip).
   ::before right-edge and ::after left-edge are both positioned at center (right/left: 50%),
   and rotate around that bottom corner so the tip is a single point. */
.va-btn .arrow-down {
    position: relative;
    display: inline-block;
    width: 2px;
    height: 14px;
    margin: 0 7px !important;
    border-radius: 2px;
    vertical-align: middle;
    flex-shrink: 0;
}
.va-btn .arrow-down::before,
.va-btn .arrow-down::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 9px;
    height: 2px;
    border-radius: 2px;
}
.va-btn .arrow-down::before { right: 50%; left: auto; transform-origin: right bottom; transform: rotate(45deg);  }
.va-btn .arrow-down::after  { left: 50%; right: auto; transform-origin: left bottom;  transform: rotate(-45deg); }

/* Upward arrow (.arrow-top)
   Both arms meet at the center-top (the tip). */
.va-btn .arrow-top {
    position: relative;
    display: inline-block;
    width: 2px;
    height: 14px;
    margin: 0 7px !important;
    border-radius: 2px;
    vertical-align: middle;
    flex-shrink: 0;
}
.va-btn .arrow-top::before,
.va-btn .arrow-top::after {
    content: "";
    position: absolute;
    top: 0;
    width: 9px;
    height: 2px;
    border-radius: 2px;
}
.va-btn .arrow-top::before { right: 50%; left: auto; transform-origin: right top; transform: rotate(-45deg); }
.va-btn .arrow-top::after  { left: 50%; right: auto; transform-origin: left top;  transform: rotate(45deg);  }

/* Secondary buttons (clear, share) */
.va-btn-clear,
.va-btn-share {
    background: transparent;
    color: #24325b;
    border-color: #24325b;
}

.va-btn-clear:hover,
.va-btn-share:hover {
    background: #e8e8e8;
    color: #24325b;
    border-color: #24325b;
}

/* --- Arrow Icons --- */
.arrow-top {
    position: relative;
    display: inline-block;
    height: 16px;
    width: 1.5px;
    margin: 0 8px;
    background-color: #24325b;
    transition: all 0.5s ease;
}

.arrow-top::before {
    top: 0px;
    transform: translateX(-50%) rotate(-45deg);
}

.arrow-top::before,
.arrow-top::after {
    content: "";
    position: absolute;
    width: 1.5px;
    height: 11px;
    background-color: #24325b;
    transform-origin: 0% 0%;
    left: 50%;
    transition: all 0.5s ease;
}

.arrow-top::after {
    top: 0px;
    transform: translateX(-50%) rotate(45deg);
}

.arrow-bottom {
    position: relative;
    display: inline-block;
    height: 16px;
    width: 1.5px;
    margin: 0 8px;
    background-color: #24325b;
    transition: all 0.5s ease;
}

.arrow-bottom::before {
    bottom: 0px;
    transform: translateX(-50%) rotate(45deg);
}

.arrow-bottom::before,
.arrow-bottom::after {
    content: "";
    position: absolute;
    width: 1.5px;
    height: 11px;
    background-color: #24325b;
    transform-origin: 0% 100%;
    left: 50%;
    transition: all 0.5s ease;
}

.arrow-bottom::after {
    bottom: 0px;
    transform: translateX(-50%) rotate(-45deg);
}

/* --- Tabs --- */
.tabs {
    display: flex;
    position: relative;
    border-bottom: 1px solid #24325b;
    margin-bottom: 20px;
}

.tabs:before,
.tabs:after {
    content: '';
    position: absolute;
    bottom: 0px;
    width: 50dvw;
    height: 0.1px;
    background-color: #24325b;
}

.tabs:before {
    right: 100%;
}

.tabs:after {
    left: 100%;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    font-weight: bold;
    background: #ffffff;
    margin-right: 5px;
}

.tab.active {
    z-index: 2;
    background: #f5f5f5;
    border: 1px solid #24325b;
    border-bottom: none;
    margin-bottom: -1px;
}

.tab.disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

/* Mobile Tabs Dropdown */
.tabs-mobile-select {
    display: none;
}

.custom-select-wrapper[data-select-id="tabsMobileSelect"] {
    display: none;
}

@media (max-width: 420px) {
    .tabs {
        display: none;
    }

    .tabs-mobile-select {
        display: block;
    }

    .custom-select-wrapper[data-select-id="tabsMobileSelect"] {
        display: block;
        margin-bottom: 0;
    }

    .my-schedule-actions {
        margin-top: 0;
        margin-bottom: 10px;
    }
}

/* Custom Dropdown Styles */
.custom-select-wrapper {
    position: relative;
    width: 100%;
    z-index: 1;
}

.custom-select-wrapper.open {
    z-index: 1000;
}

.custom-select {
    position: relative;
    background: #ffffff;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    user-select: none;
}

.custom-select-trigger {
    padding: 6px 40px 6px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #24325b;
    text-align: center;
    position: relative;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.custom-select-trigger::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #24325b;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.custom-select.open .custom-select-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    /*border: 2px solid #24325b;*/
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    margin-top: 0;
}


.custom-select.open .custom-select-options {
    max-height: 300px;
    overflow-y: auto;
    opacity: 1;
    z-index: 1000;
}

.custom-select-option {
    padding: 12px 15px;
    font-size: 14px;
    color: #24325b;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.custom-select-option:hover {
    background-color: #e8f4f8;
}

.custom-select-option.selected {
    background-color: #f0f0f0;
    font-weight: 600;
}

.custom-select-option.disabled {
    color: #b0b0b0;
    cursor: not-allowed;
    opacity: 0.5;
}

.custom-select-option.disabled:hover {
    background-color: transparent;
}

/* Hide native selects */
select.replaced-with-custom {
    display: none;
}

/* --- Toggle Filters Button --- */
.toggle-filters-btn {
    display: none;
    /* Hidden on desktop */
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    background: #24325b;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: left;
    position: relative;
    transition: background 0.3s ease;
}

.toggle-filters-btn:hover {
    background: #fac64a;
    color: #000;
}

.toggle-filters-btn .filter-icon {
    margin-right: 10px;
}

.toggle-filters-btn .filter-arrow {
    position: absolute;
    right: 15px;
    transition: transform 0.3s ease;
}

.toggle-filters-btn.active .filter-arrow {
    transform: rotate(180deg);
}

/* Show toggle button on mobile */
@media (max-width: 767px) {
    .toggle-filters-btn {
        display: flex;
        align-items: center;
    }
}

/* --- Filterbar --- */
.filter-bar {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    /*overflow: hidden;*/
}

/* Collapsed state on mobile */
@media (max-width: 767px) {
    .filter-bar.collapsed {
        max-height: 0;
        opacity: 0;
        margin-bottom: 0;
        overflow: hidden;
        pointer-events: none;
    }

    .filter-bar:not(.collapsed) {
        max-height: 2000px;
        opacity: 1;
        overflow: visible;
        pointer-events: auto;
    }
}

.filter-bar-vertical {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*gap: 15px;*/
    margin-bottom: 15px;
    align-items: stretch;
    width: 100%;

}

.group-1 {
    padding: 10px 10px 10px 0;
}

.group-1,
.group-2,
.group-3,
.group-4 {
    border-top: 2px solid #ccc;
}

.group-1,
.group-2,
.group-3 {
    border-right: 2px solid #ccc;
}

.group-2,
.group-3 {
    padding: 10px;
}

.group-4 {
    padding: 10px 0 10px 10px;
}

@media(max-width: 1023px) {
    .group-4 {
        padding: 10px 0 10px 0 !important;
        min-width: 100% !important;
    }

    .group-3 {
        border-right: none;
    }
}

@media(max-width: 767px) {
    .group-2 {
        padding: 10px 0 10px 10px !important;
    }

    .group-3 {
        padding: 10px 10px 10px 0 !important;
        min-width: 47% !important;
    }

    .group-4 {
        padding: 10px 0 10px 10px !important;
        min-width: 47% !important;
    }

    .group-2 {
        border-right: none;
    }

    .group-3 {
        border-right: 2px solid #ccc;
    }
}

@media(max-width: 479px) {

    .group-1,
    .group-2,
    .group-3,
    .group-4 {
        padding: 10px 0 10px 0 !important;
        min-width: 80% !important;
    }

    .group-1,
    .group-2,
    .group-3 {
        border-right: none;
    }
}

.filter-group {
    display: flex;
    flex: 1 1;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-group-g {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
}

/* Input with clear button */
.input-with-clear {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-with-clear input {
    width: 100%;
    padding-right: 32px;
}

.input-clear-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #999;
    padding: 4px 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, color 0.2s;
}

.input-clear-btn:hover {
    color: #333;
}

.input-with-clear.has-value .input-clear-btn {
    opacity: 1;
    visibility: visible;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
    align-items: flex-end;
}

input,
select,
button {
    padding: 6px 10px;
    font-size: 14px;

    min-height: 36px;
}

input,
select {
    border: none;
    width: 100%;
    background-color: #ffffff;
}

/* Search input with icon */
.filter-group input[type="text"],
.filter-group input#search {
    position: relative;
    padding-right: 35px;
}

.filter-group input#search,
.filter-group input#filterSpeaker,
.filter-group input#filterSessionType,
.filter-group input#filterTopic {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2324325b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
}

/* Hide search icon when input has value (show X button instead) */
.input-with-clear.has-value input#search,
.input-with-clear.has-value input#filterSpeaker,
.input-with-clear.has-value input#filterSessionType,
.input-with-clear.has-value input#filterTopic {
    background-image: none;
}

.chip {
    display: inline-block;
    background: #24325b;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    margin: 2px;
    cursor: pointer;
}

.chip .remove {
    margin-left: 6px;
    font-weight: bold;
    cursor: pointer;
}

.session {
    box-sizing: border-box;
    background: #fff;
    padding: 14px;
    margin-bottom: 10px;
    border: 0px solid transparent;
    border-left-width: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

/* Special categories - yellow background with yellow border-left */
/* All special categories (pause, break, registration, end-of-day) share the same styling */
.session.cat-pause,
.session.cat-break,
.session.cat-registration-open,
.session.cat-registration_open,
.session.cat-end_of_day,
.session.cat-end-of-conference-day,
.session.cat-end_of_conference_day {
    border-left-color: #fac64a !important;
    background: #fac64a !important;
    border-left-width: 20px !important;
    color: #24325b !important;
}

/* Exhibition - blue background with blue border-left */
.session.cat-exhibition {
    border-left-color: #24325b;
    background: #24325b;
    border-left-width: 20px;
    color: #ffffff;
}

/* Kategorien-Farben */
.session.cat-workshop {
    border-left-color: #4db7e4;
}

.session.cat-vortrag {
    border-left-color: #28A745;
}

.session.cat-panel {
    border-left-color: #FFC107;
}

.session.cat-keynote {
    border-left-color: #bd4234;
}

.session.cat-business {
    border-left-color: #6F42C1;
}

.session.cat-technik {
    border-left-color: #4db7e4;
}

.session.cat-kultur {
    border-left-color: #FD7E14;
}

.session.cat-wissenschaft {
    border-left-color: #20C997;
}

.session:hover:not(.cat-pause):not(.cat-exhibition):not(.cat-end_of_day):not(.cat-end-of-conference-day):not(.cat-end_of_conference_day):not(.cat-registration-open):not(.cat-registration_open):not(.cat-break) {
    border: 2px solid;
    border-color: var(--room-color, inherit);
    border-left-width: 20px;
    padding: 12px;
    padding-left: 14px;
}

.session-wrapper {
    width: 100%;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.session-time {
    text-align: right;
}

.session-title-block {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 200px;
}

.session-title {
    font-weight: 700;
    margin-bottom: 2px;
}

.session-meta {
    flex:3;
}

.session-room {
    font-size: 0.85em;
    font-weight: normal;
    line-height: 1.3;
    margin-right: 15px;
    white-space: nowrap;
}

.session-vorsitz {
    font-size: 0.85em;
    font-weight: normal;
    line-height: 1.3;
}

/* Each speaker name should not break in the middle */
.session-vorsitz .vorsitz-name {
    white-space: nowrap;
    display: inline;
}

.session-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Only clickable sessions get pointer cursor */
.session.session-with-details .session-header {
    cursor: pointer;
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.session-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Abstand zwischen Vorsitz und Button */
    justify-content: flex-end;
}

.session-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.session.open .session-details {
    max-height: 1000px;
    padding-top: 10px;
}

.session h3 {
    margin: 0 0 5px 0;
}

.vortrag {
    margin-left: 0;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.vortrag:last-child {
    border-bottom: none;
}

.vortrag small {
    display: block;
    color: #666;
}

.vortrag.open .vortrag-details {
    display: block;
}

.vortrag-details {
    margin-top: 8px;
    padding-left: 90px;
}

.vortrag-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.vortrag-time {
    min-width: 75px;
    flex-shrink: 0;
    text-align: right;
    font-weight: 500;
    line-height: 1.4;
    color: #333;
}

.vortrag-title-block {
    flex: 1;
    min-width: 200px;
}

.vortrag-title {
    font-weight: 600;
    line-height: 1.4;
}

.vortrag-speakers {
    flex: 1;
    font-size: 0.85em;
    font-weight: normal;
    line-height: 1.3;
    min-width: 150px;
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .vortrag-time {
        min-width: 60px;
        font-size: 0.9em;
    }

    .vortrag-details {
        padding-left: 0;
    }

    .vortrag-speakers {
        white-space: normal;
    }
}

button.schedule-btn {
    background: transparent;
    /*color: #f4f4f4;*/
    border: none;
    /*border-radius: 4px;*/
    padding: 4px 10px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Icon links, Text rechts */
    min-width: 130px;
    gap: 10px;
    /* gleiche Breite für alle Buttons */
}

button.schedule-btn:hover {
    /*background: #0056b3;*/
}

.schedule-btn .toggle-icon {
    position: relative;
    width: 14px;
    height: 14px;
    display: inline-block;
    flex-shrink: 0;
    /* Icon bleibt fix links */
}

.schedule-btn .toggle-icon span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    background: #efefef;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.schedule-btn .toggle-icon span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(90deg);
}

.schedule-btn.active .toggle-icon span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(0deg);
}

.schedule-btn:hover .toggle-icon span,
.schedule-btn.active .toggle-icon span {
    background: #24325b !important;
}

.session.cat-exhibition .schedule-btn .toggle-icon span {
    background: #ffffff;
}

.session.cat-exhibition .schedule-btn:hover .toggle-icon span,
.session.cat-exhibition .schedule-btn.active .toggle-icon span {
    background: #fac64a !important;
}

.schedule-btn .label {
    flex: 1;
    text-align: left;
    /* Text rechtsbündig */
}

/* --- Label Animation --- */
.schedule-btn .labels {
    flex: 1;
    text-align: right;
    position: relative;
    color: #efefef;
    min-height: 1em;
    /* Mindesthöhe für einzeiligen Text */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.schedule-btn:hover .labels,
.schedule-btn.active .labels {
    color: #24325b !important;
}

.session.cat-exhibition .schedule-btn .labels {
    color: #ffffff;
}

.session.cat-exhibition .schedule-btn:hover .labels,
.session.cat-exhibition .schedule-btn.active .labels {
    color: #fac64a !important;
}

.schedule-btn .label {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    opacity: 0;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.schedule-btn .label.show {
    opacity: 1;
    /*transform: translateX(0);*/
}

.container {
    margin: 0 auto;
    max-width: 1400px;
}

.chip-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    background: #f0f0f0;
    color: #24325b;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s ease, color 0.3s ease;
}

.chip .remove {
    margin-left: 8px;
    font-weight: bold;
    cursor: pointer;
}

/* Chips allgemein */
.chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    margin: 2px;
    cursor: pointer;
    background: #f0f0f0;
    color: #24325b;
    font-size: 14px;
    transition: all 0.2s ease;
}

.chip.active {
    color: #fff;
}

/* Kategorie-Farben auch für Chips */
.chip.cat-workshop.active,
.chip.cat-workshop:hover {
    background: #4db7e4;
    color: #fff;
}

.chip.cat-vortrag.active,
.chip.cat-vortrag:hover {
    background: #28A745;
    color: #fff;
}

.chip.cat-panel.active,
.chip.cat-panel:hover {
    background: #FFC107;
    color: #fff;
}

.chip.cat-keynote.active,
.chip.cat-keynote:hover {
    background: #bd4234;
    color: #fff;
}

.chip.cat-business.active,
.chip.cat-business:hover {
    background: #6F42C1;
    color: #fff;
}

.chip.cat-technik.active,
.chip.cat-technik:hover {
    background: #4db7e4;
    color: #fff;
}

.chip.cat-kultur.active,
.chip.cat-kultur:hover {
    background: #FD7E14;
    color: #fff;
}

.chip.cat-wissenschaft.active,
.chip.cat-wissenschaft:hover {
    background: #20C997;
    color: #fff;
}

/* Räume: Farben basieren auf Raum-Konfiguration */
.chip.room {
    background: #fff;
    color: #24325b;
    border: 2px solid #f0f0f0;
    position: relative;
    padding-right: 10px;
}

.chip.room:hover {
    background: var(--room-hover-color, #24325b) !important;
    color: #fff;
    border-color: var(--room-hover-color, #24325b);
}

.chip.room.active {
    background: var(--room-active-color, #24325b) !important;
    color: #fff;
    border-color: var(--room-active-color, #24325b);
    padding-right: 30px;
}

.chip.room.active::after {
    content: "×";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

.chip.cat-pause.active,
.chip.cat-pause:hover {
    background: #fac64a;
    color: #000;
    /* gut lesbar auf gelb */
}

.chip.cat-exhibition.active,
.chip.cat-exhibition:hover {
    background: #24325b;
    color: #fff;
    /* Kontrast auf dunkelblau */
}

/* --- Modal Overlay --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(36, 50, 91, 0.6);
    /* halbtransparentes Dunkelblau */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal.hidden {
    display: none;
}

/* --- Modal Box --- */
.modal-content {
    background: #fff;
    color: #24325b;
    padding: 20px 30px;
    border-radius: 8px;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #24325b;
}

.modal-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-actions button {
    padding: 8px 16px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.modal-actions #cancelOverlap {
    background: #ccc;
    color: #24325b;
}

.modal-actions #confirmOverlap {
    background: #24325b;
    color: #fff;
}

.modal-actions #confirmOverlap:hover {
    background: #fac64a;
    color: #000;
}

/* --- My Schedule Actions --- */
.my-schedule-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: flex-end;
}

.schedule-action-btn {
    background: #24325b;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.schedule-action-btn:hover {
    background: #fac64a;
    color: #000;
}

/* --- ICS Download Button --- */
.ics-download-btn {
    width: auto;
    display: inline-block;
    margin-top: 8px;
    background: #28a745;
    color: #fff;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.ics-download-btn:hover {
    background: #218838;
}

/* --- Loading Spinner --- */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: 8px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #24325b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Loading indicator for results area */
.results-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.results-loading .loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
}

.results-loading-text {
    font-size: 14px;
    color: #666;
}

/* Button with inline loader */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

/* Autocomplete suggestions */
.speaker-suggestions,
.type-suggestions,
.topic-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
}

.speaker-suggestion-item,
.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.speaker-suggestion-item:last-child,
.suggestion-item:last-child {
    border-bottom: none;
}

.speaker-suggestion-item:hover,
.suggestion-item:hover {
    background: #f5f5f5;
}

.filter-group.group-3,
.filter-group.group-4 {
    position: relative;
}

.filter-description {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    line-height: 1.4;
}

/* --- Share Modal --- */
.share-modal-content {
    max-width: 420px;
    width: 90%;
    text-align: center;
}

.share-qr-wrapper {
    display: flex;
    justify-content: center;
    margin: 16px 0 12px;
}

.share-qr-wrapper img {
    width: 200px;
    height: 200px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.share-url {
    font-size: 12px;
    color: #555;
    word-break: break-all;
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 4px;
    margin: 0 0 4px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.share-url:hover {
    background: #e8e8e8;
}

.modal-btn-primary {
    background: #24325b;
    color: #fff;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
}

.modal-btn-primary:hover {
    background: #fac64a;
    color: #000;
}

.modal-btn-secondary {
    background: #e0e0e0;
    color: #24325b;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
}

.modal-btn-secondary:hover {
    background: #ccc;
}

.share-modal-actions {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.share-modal-actions .modal-btn-primary {
    margin-left: auto;
}

@media (max-width: 420px) {
    .share-modal-actions {
        flex-direction: column;
    }

    .share-modal-actions .modal-btn-primary {
        margin-left: 0;
    }
}

/* Toast Notifications */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}