* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.header-container {
    background: linear-gradient(135deg, #ee71ab, #d9539a);
    color: white;
    padding: 30px 20px;
    margin: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(238, 113, 171, 0.3);
    text-align: center;
    position: relative;
}

.header-container h1 {
    color: white;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin: 0;
}

#homeButton {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

#homeButton:hover {
    background-color: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-50%) scale(1.05);
}

.search-section {
    max-width: 600px;
    margin: 30px auto;
    padding: 0 20px;
}

.search-container {
    position: relative;
    background: white;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

#query {
    width: 100%;
    padding: 18px 50px 18px 25px;
    border: none;
    font-size: 1.1rem;
    outline: none;
    background: transparent;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
}

/* Filter Panel */
.filter-section {
    max-width: 800px;
    margin: -10px auto 20px;
    padding: 0 20px;
    text-align: center;
}

.filter-toggle {
    background: white;
    border: 2px solid #ee71ab;
    color: #ee71ab;
    padding: 7px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.filter-toggle:hover {
    background: #ee71ab;
    color: white;
}

.filter-count {
    background: #d9539a;
    color: white;
    border-radius: 50%;
    padding: 1px 6px;
    font-size: 0.75rem;
    margin-left: 5px;
}

.filter-panel {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
    border-left: 4px solid #ee71ab;
}

.filter-row-year {
    margin-top: 10px;
}

.filter-item-year {
    flex: 1 1 100%;
    min-width: 200px;
}

.year-slider-container {
    position: relative;
    height: 32px;
    margin-top: 6px;
}

.year-slider-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

.year-slider-range {
    position: absolute;
    height: 100%;
    background: #ee71ab;
    border-radius: 2px;
}

.year-slider {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    pointer-events: none;
}

.year-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ee71ab;
    border: 2px solid white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    cursor: pointer;
    pointer-events: auto;
}

.year-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ee71ab;
    border: 2px solid white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    cursor: pointer;
    pointer-events: auto;
}

.filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 110px;
}

.filter-item label {
    font-size: 0.82rem;
    color: #ee71ab;
    font-weight: 600;
}

.filter-item select,
.filter-item input[type="number"] {
    padding: 7px 10px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s;
}

.filter-item select:focus,
.filter-item input:focus {
    border-color: #ee71ab;
}

.filter-apply-btn {
    background: #ee71ab;
    color: white;
    border: none;
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    transition: background 0.2s;
    align-self: flex-end;
    white-space: nowrap;
}

.filter-apply-btn:hover {
    background: #d9539a;
}

.filter-tags-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.filter-reset-btn {
    background: none;
    border: 1px solid #ccc;
    color: #999;
    padding: 4px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.82rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-reset-btn:hover {
    border-color: #d9539a;
    color: #d9539a;
}

.filter-tag {
    background: #fff0f7;
    border: 1px solid #ee71ab;
    color: #ee71ab;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-tag-remove {
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1;
    transition: color 0.2s;
}

.filter-tag-remove:hover {
    color: #d9539a;
}

.main-content {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
}

.sidebar {
    position: absolute;
    left: 20px;
    top: 180px;
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

.content-area {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1025px) {
    .content-area {
        margin-left: 320px;
        margin-right: 20px;
        max-width: calc(100vw - 360px);
    }
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #ee71ab;
}

.sidebar-widget h3 {
    color: #ee71ab;
    margin-bottom: 15px;
    font-size: 1.3rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.today-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.medium-lookup {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.medium-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.medium-input:focus {
    border-color: #ee71ab;
}

.medium-btn {
    background: white;
    border: 2px solid #ee71ab;
    color: #ee71ab;
    padding: 7px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    align-self: flex-start;
}

.medium-btn:hover {
    background: #ee71ab;
    color: white;
}

.medium-result {
    font-size: 0.95rem;
    min-height: 1.4em;
}

.medium-result-found {
    color: #333;
}

.medium-result-found strong {
    color: #ee71ab;
}

.medium-result-notfound {
    color: #999;
    font-style: italic;
}

.today-info h4 {
    color: #ee71ab;
    margin-bottom: 10px;
}

.today-info p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.opening-hours-list {
    list-style: none;
}

.opening-hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.opening-hours-list li:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: #333;
}

.time {
    color: #666;
}

.closed {
    color: #999;
    font-style: italic;
}

.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin: 30px 0;
    width: 100%;
}

.result-column {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #ee71ab;
    transition: all 0.3s ease;
}

.result-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.result-column h3 {
    color: #ee71ab;
    margin-bottom: 15px;
}

.result-column ul {
    list-style: none;
}

.result-column li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.result-column li:last-child {
    border-bottom: none;
}

.result-column a {
    color: #0056b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.result-column a:hover {
    color: #d9539a;
}

.film-item {
    position: relative;
    list-style-type: none;
}

.film-item:hover .film-image {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px;
}

.film-image img {
    max-width: 100%;
    max-height: 200px;
}

.new-movies-container {
    margin: 30px 0;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.new-movies-container h2 {
    color: #ee71ab;
    margin-bottom: 20px;
    text-align: center;
}

.movie-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    justify-content: center;
    width: 100%;
}

.movie-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    position: relative;
}

.movie-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ee71ab, #d9539a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.movie-card:hover::before {
    transform: scaleX(1);
}

.movie-image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: #eaeaea;
}

.movie-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.movie-card:hover .movie-image img {
    transform: scale(1.05);
}

.movie-info {
    padding: 15px;
}

.movie-info h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    color: #333;
    text-align: center;
    line-height: 1.3;
    height: auto;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.movie-info a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.movie-info a:hover {
    color: #ee71ab;
}

.toggle-arrow {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

/* Film Detail Styles */
.film-detail {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin: 20px auto;
    max-width: 1200px;
    overflow: hidden;
}

.film-header {
    background: linear-gradient(135deg, #ee71ab, #d9539a);
    color: white;
    padding: 20px;
}

.film-header h1 {
    margin: 0;
    font-size: 2rem;
    color: white;
}

.film-with-back {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.film-with-back .film-detail {
    flex: 1;
    min-width: 0;
    max-width: none;
    margin: 0;
}

.back-btn {
    background: #ee71ab;
    color: white;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    margin-top: 20px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.back-btn:hover {
    background: #d9539a;
}

.film-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 25px;
    padding: 25px;
}

.film-poster img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #ee71ab;
}

.label {
    font-weight: 600;
    color: #ee71ab;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 4px;
}

.value {
    color: #333;
    font-size: 0.95rem;
    display: block;
    overflow-wrap: break-word;
    word-break: break-word;
}

.standort-section, .availability-section, .languages-section, .subtitles-section,
.cast-section, .awards-section, .plot-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #ee71ab;
}

.standort-section h3, .availability-section h3, .languages-section h3, .subtitles-section h3,
.cast-section h3, .awards-section h3, .plot-section h3 {
    color: #ee71ab;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.standort-verfueg {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.standort-verfueg > div {
    flex: 1;
    min-width: 180px;
}

.standort-verfueg .label {
    font-size: 1.1rem;
}

.standort-verfueg .value {
    font-size: 1.1rem;
}

.availability-content {
    line-height: 1.4;
}

.media-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.media-label {
    flex-shrink: 0;
    width: 130px;
    text-align: right;
}

.media-content {
    flex: 1;
    overflow-wrap: break-word;
    min-width: 0;
}

.verf-datum {
    display: block;
    margin-top: 2px;
}

.cast-grid {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 4px 8px;
    align-items: start;
}

.role-name {
    font-weight: 600;
    color: #ee71ab;
    white-space: nowrap;
    text-align: right;
}

.plot-text {
    line-height: 1.5;
    color: #333;
    margin: 0;
}

/* Hamburger Button */
.hamburger-btn {
    display: none;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    touch-action: manipulation;
    flex-shrink: 0;
}

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Overlay */
.hamburger-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.hamburger-overlay.active {
    display: block;
}

/* Hamburger Drawer */
.hamburger-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 1000;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}

.hamburger-menu.active {
    transform: translateX(0);
}

.hamburger-menu-header {
    background: linear-gradient(135deg, #ee71ab, #d9539a);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hamburger-menu-header h2 {
    font-size: 1.1rem;
    color: white;
    margin: 0;
}

.hamburger-close {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.hamburger-close:hover {
    background: rgba(255,255,255,0.35);
}

.hamburger-home-link {
    display: block;
    margin: 16px;
    background: #ee71ab;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    text-align: center;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.hamburger-home-link:hover {
    background: #d9539a;
}

.hamburger-widget {
    margin: 0 16px 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid #ee71ab;
    overflow: hidden;
}

.hamburger-widget h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin: 0;
    padding: 13px 16px;
    background: #f8f9fa;
    color: #ee71ab;
    font-size: 1rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.hamburger-widget.active h3 {
    border-bottom-color: #e0e0e0;
}

.hamburger-widget .widget-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 16px;
}

.hamburger-widget.active .widget-content {
    max-height: 600px;
    padding: 14px 16px;
}

.hamburger-widget .toggle-arrow {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.hamburger-widget.active .toggle-arrow {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 1400px) {
    .sidebar {
        top: 160px;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        display: none;
    }

    .content-area {
        margin-left: 0;
        max-width: none;
        padding: 0 20px;
    }

    #homeButton {
        display: none;
    }

    .header-container {
        display: flex;
        align-items: center;
        text-align: left;
    }

    .hamburger-btn {
        display: flex;
        position: static;
        transform: none;
        flex-shrink: 0;
        margin-right: 10px;
    }

    .header-container h1 {
        flex: 1;
        text-align: center;
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .header-container {
        margin: 10px;
        padding: 20px;
    }

    .header-container h1 {
        font-size: 1.8rem;
    }

    .main-content {
        padding: 0 10px;
    }

    .movie-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .results-container {
        grid-template-columns: 1fr;
    }

    .film-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .film-poster {
        text-align: center;
    }

    .film-poster img {
        max-width: 200px;
    }

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

    /* Back-Button bei Film-Detail: unter statt neben dem Film */
    .film-with-back {
        flex-direction: column;
    }

    .back-btn {
        align-self: flex-start;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    /* Touch-Targets: mindestens 44px Höhe */
    .filter-toggle,
    .medium-btn,
    .filter-apply-btn {
        min-height: 44px;
        padding: 10px 18px;
    }

    .filter-reset-btn {
        min-height: 44px;
        padding: 10px 16px;
    }

    /* Jahres-Slider: größere Thumbs für Touch */
    .year-slider::-webkit-slider-thumb {
        width: 26px;
        height: 26px;
    }

    .year-slider::-moz-range-thumb {
        width: 26px;
        height: 26px;
    }

    .year-slider-container {
        height: 40px;
    }
}

@media (max-width: 480px) {
    /* Movie-Gallery: maximal 2 Spalten */
    .movie-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .movie-info h3 {
        font-size: 0.9rem;
    }

    /* Filter-Selects: volle Breite */
    .filter-item {
        flex: 1 1 100%;
    }

    /* Cast-Grid & Media-Label: adaptive Spaltenbreite */
    .cast-grid {
        grid-template-columns: auto 1fr;
    }

    .media-label {
        width: auto;
        min-width: 80px;
    }
}

@media (max-width: 380px) {
    /* Film-Karten-Poster auf sehr kleinen Screens ausblenden */
    .film-card-poster {
        display: none;
    }
}

/* ---------------------------------------------------------------------------
   Filmankaufs-Vorschlag Widget (Beta)
   --------------------------------------------------------------------------- */

.vs-widget h3 {
    font-size: 1.1rem;
}

.vs-input {
    width: 100%;
    padding: 8px 11px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    margin-bottom: 6px;
    box-sizing: border-box;
}

.vs-input:focus {
    border-color: #ee71ab;
}

.vs-textarea {
    width: 100%;
    padding: 8px 11px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s;
    margin-bottom: 6px;
    box-sizing: border-box;
    font-family: inherit;
}

.vs-textarea:focus {
    border-color: #ee71ab;
}

.vs-bestand {
    margin-bottom: 6px;
}

.vs-bestand-note {
    font-size: 0.82rem;
    color: #ee71ab;
    font-weight: 600;
    margin-bottom: 3px;
}

.vs-bestand-item {
    font-size: 0.85rem;
    color: #0056b3;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
}

.vs-bestand-item:hover {
    background: #fff0f7;
}

.vs-orig-titel {
    color: #999;
    font-size: 0.82rem;
}

.vs-results {
    margin-bottom: 6px;
    max-height: 220px;
    overflow-y: auto;
}

.vs-result-item {
    padding: 7px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.88rem;
    transition: background 0.15s;
    border-bottom: 1px solid #f5f5f5;
}

.vs-result-item:last-child {
    border-bottom: none;
}

.vs-result-item:hover {
    background: #fff0f7;
}

.vs-result-main {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.vs-result-meta {
    font-size: 0.78rem;
    color: #999;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.vs-result-regie {
    color: #777;
}

.vs-result-imdb {
    color: #0056b3;
    text-decoration: none;
    font-size: 0.78rem;
}

.vs-result-imdb:hover {
    text-decoration: underline;
}

.vs-result-bestand {
    opacity: 0.55;
    cursor: default;
}

.vs-bestand-badge {
    background: #e8f5ec;
    color: #2a7a3a;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 9px;
    white-space: nowrap;
}

.vs-result-jahr {
    color: #999;
    font-size: 0.8rem;
}

.vs-loading, .vs-noresult, .vs-error {
    display: block;
    font-size: 0.85rem;
    padding: 6px 0;
    color: #999;
    font-style: italic;
}

.vs-error {
    color: #c00;
    font-style: normal;
}

.vs-selected-card {
    margin-bottom: 10px;
}

.vs-sel-inner {
    background: linear-gradient(135deg, #fff0f7, #f8e8f2);
    border-left: 3px solid #ee71ab;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.9rem;
}

.vs-sel-meta {
    color: #666;
    font-size: 0.83rem;
}

.vs-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.vs-captcha-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.vs-captcha-label {
    font-size: 0.85rem;
    color: #555;
    white-space: nowrap;
}

.vs-captcha-q {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ee71ab;
}

.vs-captcha-input {
    width: 52px;
    padding: 5px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    text-align: center;
    transition: border-color 0.2s;
}

.vs-captcha-input:focus {
    border-color: #ee71ab;
}

.vs-btn-row {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.vs-submit-btn {
    background: #ee71ab;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.88rem;
    transition: background 0.2s;
    flex: 1;
}

.vs-submit-btn:hover {
    background: #d9539a;
}

.vs-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.vs-back-btn {
    background: white;
    color: #ee71ab;
    border: 1px solid #ee71ab;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.88rem;
    transition: all 0.2s;
}

.vs-back-btn:hover {
    background: #fff0f7;
}

.vs-msg {
    margin-top: 8px;
    font-size: 0.88rem;
    min-height: 1.2em;
}

.vs-success {
    color: #2a7a3a;
    font-weight: 600;
}

/* Inline-Panel: Trigger-Button unter Suchergebnissen */
.vs-trigger-btn {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 12px 20px;
    background: white;
    border: 2px dashed #ee71ab;
    border-radius: 12px;
    color: #ee71ab;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}

.vs-trigger-btn:hover {
    background: #fff0f7;
}

/* Inline-Panel: äußerer Container */
.vs-panel-inner {
    background: white;
    border-radius: 12px;
    border-left: 4px solid #ee71ab;
    box-shadow: 0 3px 14px rgba(238,113,171,0.12);
    padding: 20px 22px 24px;
    margin-top: 10px;
}

/* Inline-Panel: Kopfzeile */
.vs-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.vs-panel-header h3 {
    font-size: 1.05rem;
    color: #ee71ab;
}

.vs-panel-close-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #666;
    font-size: 0.83rem;
    padding: 4px 12px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.vs-panel-close-btn:hover {
    border-color: #ee71ab;
    color: #ee71ab;
}

/* Inline-Panel: Eingabefelder */
.vs-panel-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.vs-panel-input:focus {
    border-color: #ee71ab;
}

/* Inline-Panel: Ergebnisliste */
.vs-results-panel {
    margin-bottom: 8px;
    max-height: 480px;
    overflow-y: auto;
    border-radius: 6px;
}

.vs-panel-hint {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    font-style: italic;
}

/* Mobile: Hamburger-Widget bekommt mehr max-height für das mehrstufige Formular */
#hwVorschlag.active .widget-content {
    max-height: 1100px;
}

.vs-hw-content {
    padding-bottom: 8px;
}

/* Film Search Result Cards */
.film-results-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.film-card {
    display: flex;
    align-items: stretch;
    gap: 12px;
    background: #fafafa;
    border-radius: 8px;
    border-left: 4px solid #ee71ab;
    padding: 12px 12px 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: none;
}

.film-card:hover {
    background: #fff0f7;
    box-shadow: 0 3px 10px rgba(238, 113, 171, 0.2);
    transform: translateX(3px);
}

.film-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.film-card-title {
    font-weight: 600;
    color: #ee71ab;
    font-size: 1rem;
    line-height: 1.3;
}

.film-card-year {
    font-size: 0.8rem;
    color: #999;
}

.film-card-orig {
    font-size: 0.82rem;
    color: #888;
    font-style: italic;
}

.film-card-regie {
    font-weight: 600;
    color: #ee71ab;
}

.film-card-inhalt {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
}

.film-card-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.85rem;
    color: #666;
}

.avail-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    vertical-align: middle;
    white-space: nowrap;
}

.avail-sym {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.avail-yes {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
}

.avail-no {
    background: #ffebee;
    color: #b71c1c;
    border: 1px solid #f5a9a3;
}

/* Medium-Logos */
.medium-logo-sm {
    height: 36px;
    width: auto;
    vertical-align: middle;
    margin-right: 3px;
}

.medium-logo-label {
    height: 48px;
    width: auto;
    vertical-align: middle;
}

.film-card-poster {
    flex-shrink: 0;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    margin-right: 8px;
}

/* Pagination */
.load-more-item {
    border: none !important;
    padding: 15px 0 !important;
    text-align: center;
}

.load-more-btn {
    background: white;
    border: 2px solid #ee71ab;
    color: #ee71ab;
    padding: 10px 30px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.load-more-btn:hover {
    background: #ee71ab;
    color: white;
}

.film-card-poster img {
    width: 70px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
