﻿.v4-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 24px 40px;
    color: #202124;
}

.v4-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
}

    .v4-page-header h1 {
        margin: 0;
        font-size: 27px;
        font-weight: 700;
    }

        .v4-page-header h1 span {
            font-weight: 600;
        }

    .v4-page-header p {
        margin: 5px 0 0;
        color: #6b7280;
        font-size: 14px;
    }

.v4-mode-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f5f7fa;
    border-radius: 8px;
    padding: 12px 16px;
    min-width: 300px;
}

.v4-mode-icon {
    width: 38px;
    height: 38px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    font-size: 20px;
}

.v4-mode-info strong,
.v4-mode-info span {
    display: block;
}

.v4-mode-info strong {
    font-size: 13px;
}

.v4-mode-info span {
    color: #6b7280;
    font-size: 12px;
    margin-top: 2px;
}


/* SECTIONS */

.v4-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 18px;
}

.v4-section-heading {
    margin-bottom: 18px;
}

    .v4-section-heading h2,
    .v4-section-title h2 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
    }

    .v4-section-heading p {
        margin: 4px 0 0;
        color: #6b7280;
        font-size: 13px;
    }


/* FILM */

.v4-film-section {
    background: #f8fafc;
}

.v4-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.v4-secondary-button {
    border: 0;
    background: #eef1f5;
    padding: 9px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

    .v4-secondary-button i {
        margin-right: 6px;
    }

.v4-film-content {
    display: flex;
    gap: 18px;
}

.v4-poster {
    width: 116px;
    flex: 0 0 116px;
}

    .v4-poster img {
        width: 116px;
        height: 164px;
        object-fit: cover;
        border-radius: 5px;
    }

.v4-film-information {
    flex: 1;
}

.v4-film-title h3 {
    margin: 4px 0 2px;
    font-size: 20px;
}

.v4-film-title p {
    margin: 1px 0;
    color: #6b7280;
    font-size: 13px;
}

.v4-film-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.v4-film-fact {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    padding: 11px;
}

    .v4-film-fact > i {
        font-size: 18px;
    }

    .v4-film-fact span,
    .v4-film-fact strong {
        display: block;
    }

    .v4-film-fact span {
        font-size: 11px;
        color: #6b7280;
    }

    .v4-film-fact strong {
        font-size: 13px;
        margin-top: 2px;
    }

.v4-info-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 12px;
    background: #eaf3ff;
    color: #1769aa;
    border-radius: 6px;
    font-size: 12px;
}


/* FORM */

.v4-form-grid {
    display: grid;
    gap: 18px;
}

.v4-form-grid-2 {
    grid-template-columns: 1fr 1fr;
}

.v4-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.v4-required {
    color: #e31b23;
}

.v4-input {
    width: 100%;
    height: 40px;
    border: 1px solid #d6dae1;
    border-radius: 6px;
    padding: 0 11px;
    font-size: 13px;
    background: white;
    box-sizing: border-box;
}

    .v4-input:focus {
        outline: none;
        border-color: #999;
    }

.v4-readonly {
    background: #f1f3f5;
    color: #6b7280;
}

.v4-help-text {
    color: #8a919a;
    font-size: 11px;
    margin-top: 5px;
}

.v4-input-with-icon {
    position: relative;
}

    .v4-input-with-icon input {
        padding-right: 40px;
    }

    .v4-input-with-icon i {
        position: absolute;
        right: 12px;
        top: 11px;
        font-size: 17px;
    }

.v4-input-with-suffix {
    display: flex;
}

    .v4-input-with-suffix input {
        border-radius: 6px 0 0 6px;
    }

    .v4-input-with-suffix span {
        width: 42px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #eef1f4;
        border: 1px solid #d6dae1;
        border-left: 0;
        border-radius: 0 6px 6px 0;
        font-size: 13px;
    }


/* DESCRIPTION */

.v4-subsection {
    margin-top: 25px;
}

.v4-label-with-help {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
}

    .v4-label-with-help label {
        font-size: 13px;
        font-weight: 600;
    }

    .v4-label-with-help i {
        color: #7c838c;
        font-size: 13px;
    }

.v4-description-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.v4-description-option {
    border: 1px solid #d8dde4;
    border-radius: 7px;
    padding: 14px;
}

.v4-description-selected {
    border: 2px solid #e31b23;
}

.v4-option-header {
    display: flex;
    gap: 10px;
}

    .v4-option-header strong,
    .v4-option-header span {
        display: block;
    }

    .v4-option-header strong {
        font-size: 13px;
    }

    .v4-option-header span {
        margin-top: 3px;
        color: #6b7280;
        font-size: 11px;
    }

.v4-radio {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid #cbd0d7;
    border-radius: 50%;
    margin-top: 1px;
}

.v4-radio-selected {
    border: 5px solid #e31b23;
}

.v4-synopsis-preview {
    margin-top: 14px;
    background: #f0f1f3;
    border-radius: 5px;
    padding: 12px;
    color: #444;
    font-size: 12px;
    line-height: 1.5;
}

.v4-editor {
    border: 1px solid #d8dde4;
    border-radius: 6px;
    margin-top: 13px;
    overflow: hidden;
}

.v4-editor-toolbar {
    height: 38px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    border-bottom: 1px solid #e1e4e8;
}

    .v4-editor-toolbar select {
        border: 0;
        font-size: 12px;
    }

    .v4-editor-toolbar button {
        border: 0;
        background: transparent;
        width: 28px;
        height: 28px;
    }

    .v4-editor-toolbar span {
        flex: 1;
    }

.v4-editor-body {
    height: 86px;
    padding: 12px;
    color: #a0a6ad;
    font-size: 12px;
}


/* PLACE */

.v4-place-grid {
    grid-template-columns: 1.8fr 1fr .7fr 1fr;
}


/* FOOTER */

.v4-page-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 4px;
}

.v4-cancel-button,
.v4-save-button {
    height: 42px;
    border-radius: 6px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 600;
}

.v4-cancel-button {
    border: 1px solid #d6dae1;
    background: white;
}

.v4-save-button {
    border: 0;
    background: #e31b23;
    color: white;
    min-width: 150px;
}

    .v4-save-button i {
        margin-right: 7px;
    }


/* RESPONSIVE */

@media (max-width: 900px) {

    .v4-film-facts {
        grid-template-columns: 1fr 1fr;
    }

    .v4-place-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {

    .v4-page-header {
        flex-direction: column;
    }

    .v4-mode-info {
        width: 100%;
        box-sizing: border-box;
    }

    .v4-form-grid-2,
    .v4-description-grid {
        grid-template-columns: 1fr;
    }

    .v4-film-content {
        flex-direction: column;
    }

    .v4-film-facts {
        grid-template-columns: 1fr 1fr;
    }

    .v4-place-grid {
        grid-template-columns: 1fr;
    }
}

.v4-place-select-row {
    display: flex;
    gap: 8px;
}

    .v4-place-select-row .v4-input {
        flex: 1;
    }

.v4-new-place-button {
    height: 40px;
    padding: 0 13px;
    border: 1px solid #d6dae1;
    border-radius: 6px;
    background: white;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

    .v4-new-place-button:hover {
        background: #f5f6f7;
    }

.v4-section-description {
    margin: 5px 0 0;
    color: #6b7280;
    font-size: 13px;
}

.v4-film-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.v4-film-selection-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
}

.v4-primary-button {
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #e31b23;
    color: white;
    font-size: 13px;
    font-weight: 600;
}

    .v4-primary-button:disabled {
        background: #d1d5db;
        color: #ffffff;
        cursor: not-allowed;
    }

    .v4-primary-button i {
        margin-right: 6px;
    }

.v4-film-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}

.v4-film-poster {
    width: 220px;
}

    .v4-film-poster img {
        display: block;
        width: 220px;
        height: auto;
        border-radius: 2px;
    }

.v4-film-info {
    min-width: 0;
}

    .v4-film-info h3 {
        margin: 0 0 2px 0;
        font-size: 28px;
        font-weight: 500;
    }

.v4-film-original-title {
    color: #555;
    font-size: 15px;
    margin-bottom: 22px;
}

.v4-film-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.v4-film-fact {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    padding: 11px;
}

    .v4-film-fact span {
        display: block;
        font-size: 12px;
        color: #6b7280;
    }

    .v4-film-fact strong {
        display: block;
        font-size: 13px;
        margin-top: 2px;
    }

.v4-film-synopsis {
    margin-top: 18px;
    line-height: 1.55;
    font-size: 15px;
    color: #222;
}


.v4-poster-button {
    width: 100%;
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid #d6dae1;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

    .v4-poster-button:hover {
        background: #f5f6f7;
    }

    .v4-poster-button i {
        margin-right: 5px;
    }

.v4-film-poster-placeholder {
    width: 220px;
    aspect-ratio: 2 / 3;
    background: #eef0f3;
    border: 1px solid #dfe3e8;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #8a9199;
    gap: 10px;
}

    .v4-film-poster-placeholder i {
        font-size: 38px;
    }

    .v4-film-poster-placeholder span {
        font-size: 13px;
    }


.v4-description-option .quill-wrapper {
    height: 200px !important;
    overflow: hidden !important;
}

    .v4-description-option .quill-wrapper .ql-toolbar {
        height: 50px;
        box-sizing: border-box;
    }

    .v4-description-option .quill-wrapper .ql-container {
        height: 150px !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

/* Begränsa editorn i poster-dialogen */
.v4-poster-editor .quill-wrapper .ql-editor {
    min-height: 0 !important;
    height: 100% !important;
    box-sizing: border-box;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.v4-description-option {
    display: flex;
    flex-direction: column;
    min-height: 245px;
}

    .v4-description-option .quill-wrapper {
        flex: 1;
        min-height: 0;
        height: auto !important;
    }



/* =========================================================
   SKAPA NYTT EVENEMANG - VALRUTA
   ========================================================= */

.create-event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.create-event-option {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    min-height: 330px;
    padding: 22px;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 9px;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

    .create-event-option:hover {
        border-color: #c8cdd3;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transform: translateY(-1px);
    }


/* Ikon */

.create-event-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #e31b23;
    font-size: 30px;
}

.create-event-icon-dark {
    color: #15191d;
}


/* Text */

.create-event-content h5 {
    margin: 0 0 8px 0;
    font-size: 17px;
    font-weight: 700;
    color: #172033;
}

.create-event-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #5d6673;
}


/* Info-ruta */

.create-event-info {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 11px 12px;
    background: #eaf3ff;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: #40546b;
    margin-bottom:7px;
}

    .create-event-info i {
        flex-shrink: 0;
        color: #1677d2;
        font-size: 15px;
        margin-top: 1px;
    }


/* Knappar */

.create-event-button {
    width: 100%;
    margin-top: auto;
    padding: 11px 14px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.15s ease;
}

.create-event-option:hover .create-event-button {
    opacity: 0.92;
}

.create-event-button-primary {
    background: #e31b23;
    color: #fff;
}

.create-event-button-dark {
    background: #15191d;
    color: #fff;
}


/* Modal */

.modal-content {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.modal-header {
    padding: 22px 24px 12px;
    border-bottom: 0;
}

    .modal-header .modal-title {
        font-size: 20px;
        font-weight: 700;
        color: #172033;
    }

.modal-body {
    padding: 8px 24px 24px;
}

@media (max-width: 768px) {

    .create-event-grid {
        grid-template-columns: 1fr;
    }

    .create-event-option {
        min-height: 280px;
    }
}



/* =========================================================
   FÖRESTÄLLNING
   ========================================================= */

.event-show-v4 {
    border: 1px solid #e31b23;
    border-radius: 6px;
    background: #fff;
    overflow: visible;
    margin-top: 14px;
}

.event-show-header {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: linear-gradient( to right, #fff7f7, #ffffff );
}

.event-show-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.event-show-date,
.event-show-time {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #20252b;
}

    .event-show-date i,
    .event-show-time i {
        font-size: 14px;
    }

.event-show-separator {
    color: #9aa1a9;
}

.event-show-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: #dff5e5;
    color: #247a3b;
    font-size: 11px;
    font-weight: 600;
}

.event-show-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-show-action,
.event-show-collapse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #d9dee4;
    border-radius: 5px;
    background: #fff;
    color: #30363d;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

    .event-show-action:hover,
    .event-show-collapse:hover {
        background: #f5f6f7;
    }

.event-show-delete {
    color: #dc3545;
    border-color: #f0c7cb;
}

    .event-show-delete:hover {
        background: #fff3f3;
    }

.event-show-collapse {
    width: 32px;
    padding: 0;
}

.event-show-body {
    padding: 16px;
    border-top: 1px solid #e8eaed;
}

.event-show-section-title {
    margin-bottom: 12px;
}

    .event-show-section-title h5 {
        margin: 0;
        font-size: 14px;
        font-weight: 700;
        color: #20252b;
    }

.event-show-datetime-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.event-show-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #20252b;
}

    .event-show-field label span {
        color: #e31b23;
    }

.event-show-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

    .event-show-input-group .form-control {
        height: 38px;
        border: 1px solid #d5dbe1;
        border-radius: 5px;
        font-size: 13px;
    }

        .event-show-input-group .form-control:focus {
            border-color: #e31b23;
            box-shadow: 0 0 0 2px rgba(227, 27, 35, 0.08);
        }

@media (max-width: 768px) {

    .event-show-datetime-grid {
        grid-template-columns: 1fr;
    }
}

.event-show-datetime-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.event-show-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #20252b;
}

    .event-show-field label span {
        color: #e31b23;
    }

.event-show-field .form-control {
    height: 38px;
    border: 1px solid #d5dbe1;
    border-radius: 5px;
    font-size: 13px;
}

    .event-show-field .form-control:focus {
        border-color: #e31b23;
        box-shadow: 0 0 0 2px rgba(227, 27, 35, 0.08);
    }

@media (max-width: 768px) {
    .event-show-datetime-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   SEKTIONER & PRISER
   ========================================================= */

.event-show-section {
    margin-top: 22px;
}

.event-show-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

    .event-show-section-header h5 {
        margin: 0;
        font-size: 14px;
        font-weight: 700;
        color: #20252b;
    }

.event-show-small-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 11px;
    border: 1px solid #cfd5db;
    border-radius: 5px;
    background: #fff;
    color: #20252b;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

    .event-show-small-button:hover {
        background: #f5f6f7;
    }

.event-show-empty-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 70px;
    border: 1px dashed #d4d9df;
    border-radius: 6px;
    color: #7a838d;
    font-size: 13px;
}

    .event-show-empty-section i {
        font-size: 16px;
    }


.event-show-location {
    border: 1px solid #d9dee4;
    border-radius: 6px;
    overflow: visible;
}

.event-show-location-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 7px 10px;
    background: #fafbfc;
}

.event-show-location-info {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 11px;
    color: #505862;
}

    .event-show-location-info i {
        color: #66717d;
        margin-right: 4px;
    }

    .event-show-location-info strong {
        color: #20252b;
        font-size: 12px;
    }

.event-show-location-divider {
    color: #c1c6cc;
}

.event-show-location-delete {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 9px;
    border: 1px solid #f0c7cb;
    border-radius: 5px;
    background: #fff;
    color: #dc3545;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

    .event-show-location-delete:hover {
        background: #fff3f3;
    }


.event-show-price-table {
    padding: 10px 10px 8px;
    border-top: 1px solid #e1e5e9;
}

.event-show-price-header,
.event-show-price-row {
    display: grid;
    grid-template-columns: minmax(120px, 1.2fr) minmax(110px, 1fr) 80px minmax(110px, 1fr) 50px 100px 58px 30px;
    column-gap: 8px;
    align-items: center;
}

.event-show-price-header {
    padding: 0 4px 6px;
    font-size: 10px;
    font-weight: 600;
    color: #68717b;
}

.event-show-price-row {
    margin-bottom: 6px;
}

    .event-show-price-row .form-control,
    .event-show-price-row .form-select {
        height: 32px;
        padding: 4px 8px;
        border: 1px solid #d5dbe1;
        border-radius: 4px;
        font-size: 11px;
    }

    .event-show-price-row .form-select {
        padding-right: 26px;
    }

.event-show-price-input {
    position: relative;
}

    .event-show-price-input .form-control {
        padding-right: 30px;
    }

    .event-show-price-input span {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        color: #68717b;
        font-size: 10px;
        pointer-events: none;
    }

.event-show-price-active {
    display: flex;
    justify-content: center;
}

    .event-show-price-active .form-check {
        margin: 0;
    }

    .event-show-price-active .form-check-input {
        width: 32px;
        height: 18px;
        margin: 0;
        cursor: pointer;
    }

.event-show-price-delete {
    display: flex;
    justify-content: center;
}

    .event-show-price-delete button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border: 0;
        background: transparent;
        color: #dc3545;
        cursor: pointer;
    }

        .event-show-price-delete button:hover {
            background: #fff3f3;
            border-radius: 4px;
        }

.event-show-add-price {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 3px 0 0 4px;
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: #1769aa;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

    .event-show-add-price:hover {
        text-decoration: underline;
    }

.event-show-price-more {
    display: flex;
    justify-content: center;
}

.event-show-more-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding: 0 7px;
    border: 1px solid #d5dbe1;
    border-radius: 4px;
    background: #fff;
    color: #3f4852;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}

    .event-show-more-button:hover {
        background: #f5f6f7;
    }

    .event-show-more-button i {
        font-size: 9px;
    }

.event-show-price-details {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 8px 12px 10px;
    margin-bottom: 6px;
    border-top: 1px solid #edf0f2;
    background: #fafbfc;
}

.event-show-price-detail-field {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .event-show-price-detail-field i {
        color: #68717b;
        font-size: 12px;
    }

    .event-show-price-detail-field label {
        margin: 0;
        color: #505862;
        font-size: 11px;
        font-weight: 600;
    }

    .event-show-price-detail-field .form-control {
        width: 75px;
        height: 28px;
        padding: 3px 7px;
        border: 1px solid #d5dbe1;
        border-radius: 4px;
        font-size: 11px;
    }

    .event-show-price-detail-field:last-child .form-control {
        width: 150px;
    }


.event-show-websale {
    display: flex;
    align-items: flex-end;
    gap: 28px;
    margin-top: 14px;
    padding: 10px 12px 4px;
    border-top: 1px solid #e1e5e9;
}

.event-show-websale-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 38px;
}

    .event-show-websale-toggle .form-check {
        margin: 0;
    }

    .event-show-websale-toggle .form-check-input {
        width: 32px;
        height: 18px;
        margin: 0;
        cursor: pointer;
    }

    .event-show-websale-toggle strong {
        font-size: 12px;
        color: #20252b;
    }

.event-show-delivery-method {
    width: 260px;
}

    .event-show-delivery-method label {
        display: block;
        margin-bottom: 5px;
        font-size: 11px;
        color: #505862;
        font-weight: 500;
    }

    .event-show-delivery-method .form-select {
        height: 38px;
        font-size: 13px;
    }


.event-show-price-menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
    padding: 10px 0;
}

.event-show-price-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #d7dce2;
    border-radius: 6px;
    background: #fff;
    color: #212529;
    font-size: 14px;
    text-align: left;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

    .event-show-price-menu-item:hover {
        background: #f5f7f9;
        border-color: #adb5bd;
    }

    .event-show-price-menu-item i {
        font-size: 16px;
    }

.event-show-add-price-wrapper {
    position: relative;
    display: inline-block;
    z-index: 10000;
}

.event-show-price-dropdown {
    position: absolute;
    left: 0;
    top: calc(100% + 5px);
    z-index: 10001;
    width: 260px;
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d5dbe1;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    padding: 4px 0;
}

.event-show-price-dropdown-header {
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #e5e8eb;
}

.event-show-price-dropdown-new {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 14px;
    border: 0;
    border-bottom: 1px solid #e5e8eb;
    background: #fff;
    color: #212529;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

    .event-show-price-dropdown-new:hover {
        background: #f5f7f9;
    }

.event-show-price-dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 7px 14px;
    border: 0;
    background: #fff;
    color: #212529;
    font-size: 14px;
    text-align: left;
}

    .event-show-price-dropdown-item:hover {
        background: #f5f7f9;
    }

    .event-show-price-dropdown-item i {
        width: 18px;
        font-size: 14px;
    }


.event-show-add-section-wrapper {
    position: relative;
    display: inline-block;
    z-index: 10000;
}

.event-show-section-dropdown {
    position: absolute;
    left: 0;
    top: calc(100% + 5px);
    z-index: 10001;
    width: 280px;
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d5dbe1;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    padding: 4px 0;
}

.event-show-section-dropdown-new {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 14px;
    border: 0;
    border-bottom: 1px solid #e5e8eb;
    background: #fff;
    color: #212529;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

    .event-show-section-dropdown-new:hover {
        background: #f5f7f9;
    }

.event-show-section-dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 7px 14px;
    border: 0;
    background: #fff;
    color: #212529;
    font-size: 14px;
    text-align: left;
}

    .event-show-section-dropdown-item:hover {
        background: #f5f7f9;
    }

    .event-show-section-dropdown-item i {
        width: 18px;
        font-size: 14px;
    }

.event-show-dropdown-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: transparent;
}

.event-show-price-dropdown,
.event-show-section-dropdown {
    z-index: 9999;
}

.v4-credits {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
}

.v4-credit-row {
    display: flex;
    align-items: baseline;
    width: 100%;
    gap: 6px;
}

    .v4-credit-row strong {
        display: inline;
        white-space: nowrap;
        margin-right: 4px;
    }

    .v4-credit-row span {
        display: inline;
        overflow-wrap: normal;
        word-break: normal;
    }

.v4-credit-edit {
    display: inline;
    vertical-align: baseline;
    border: none;
    background: transparent;
    padding: 0 4px;
    color: #64748b;
    cursor: pointer;
}

.v4-credit-input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    border: 1px solid #d6dae1;
    border-radius: 4px;
    padding: 3px 6px;
    font: inherit;
    box-sizing: border-box;
}

.v4-credit-edit {
    display: inline;
    vertical-align: baseline;
    border: none;
    background: transparent;
    padding: 0 4px;
    color: #64748b;
    cursor: pointer;
}


.event-show-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.55);
    z-index: 200003;
}

.event-show-modal {
    width: 100%;
    max-width: 420px;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
   
}

    .event-show-modal h4 {
        margin-bottom: 1.25rem;
    }

.event-poster-placeholder {
    width: 42px;
    height: 48px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}


.v4-settings-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
}

    .v4-settings-toggle span {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .v4-settings-toggle > i {
        color: #697386;
    }

.event-show-delete:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background-color: #f3f3f3;
    color: #888;
    border-color: #ccc;
}

    .event-show-delete:disabled:hover {
        opacity: 0.45;
        background-color: #f3f3f3;
        color: #888;
        border-color: #ccc;
    }

.v4-page-footer button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.v4-poster-editor {
    height: 200px;
    overflow: hidden;
}

    .v4-poster-editor .quill-wrapper {
        height: 100% !important;
        overflow: hidden;
    }

    .v4-poster-editor .ql-container {
        height: 100%;
        overflow: hidden;
    }

    .v4-poster-editor .ql-editor {
        height: 100%;
        min-height: 0 !important;
        box-sizing: border-box;
        overflow-y: auto;
    }

.trailer-preview-modal {
    width: min(900px, 95vw);
    max-width: 900px;
}

    .trailer-preview-modal .vimmer-modal-body {
        padding: 16px;
    }

    .trailer-preview-modal iframe {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        border: 0;
    }

.v4-trailer-preview-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    border: 1px solid #ced4da;
    border-radius: 0 6px 6px 0;
    background: white;
    color: #222;
    cursor: pointer;
}

    .v4-trailer-preview-button:hover:not(:disabled) {
        background: #f1f1f1;
    }

    .v4-trailer-preview-button:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .v4-trailer-preview-button i {
        font-size: 18px;
    }


.vimmer-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.vimmer-modal.trailer-preview-modal {
    width: min(900px, 95vw);
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.trailer-preview-modal .vimmer-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #eee;
}

    .trailer-preview-modal .vimmer-modal-header h5 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
    }

.trailer-preview-modal .vimmer-modal-body {
    padding: 16px;
    background: #111;
}

.trailer-preview-modal iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .vimmer-modal-backdrop {
        padding: 12px;
    }

    .vimmer-modal.trailer-preview-modal {
        width: 100%;
    }

    .trailer-preview-modal .vimmer-modal-body {
        padding: 8px;
    }
}

.v4-validation-errors {
    margin: 0 0 20px;
    padding: 14px 18px;
    border: 1px solid #e5a4a4;
    border-left: 4px solid #c62828;
    border-radius: 6px;
    background: #fff5f5;
    color: #842029;
}

    .v4-validation-errors strong {
        display: block;
        margin-bottom: 6px;
    }

    .v4-validation-errors ul {
        margin: 0;
        padding-left: 24px;
    }

    .v4-validation-errors li {
        margin-top: 3px;
    }



.event-show-location-pending-delete {
    opacity: 0.65;
    border: 1px dashed #dc3545;
    background: #fff8f8;
}

.event-show-section-delete-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
    color: #842029;
    background: #f8d7da;
    border: 1px solid #f5c2c7;
    border-radius: 6px;
}

.event-show-section-undo {
    margin-left: auto;
    padding: 5px 10px;
    color: #842029;
    background: white;
    border: 1px solid #dc3545;
    border-radius: 4px;
    white-space: nowrap;
    cursor: pointer;
}

    .event-show-section-undo:hover {
        color: white;
        background: #dc3545;
    }


/* Standard: Beskrivning / Eventinformation */
.v4-standard-description .quill-wrapper {
    height: 200px !important;
    overflow: hidden !important;
}

    .v4-standard-description .quill-wrapper .ql-toolbar {
        height: 50px;
        box-sizing: border-box;
    }

    .v4-standard-description .quill-wrapper .ql-container {
        height: 150px !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }
