﻿h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

/* On manual field validation .modified class is not added so this class is used instead. */
.manual-valid {
    outline: 1px solid #26b050;
}


.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.topmeny a:link {
    color: white;
    background-color: #333;
    text-decoration: none;
}

.topmeny a:visited {
    color: white;
    background-color: #333;
    text-decoration: none;
}

.topmeny a:hover {
    color: white;
    background-color: #333;
    text-decoration: none;
}

.topmeny a:active {
    color: white;
    background-color: #333;
    text-decoration: none;
}

.navbar-toggle {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar {
    margin-bottom: 0px !important;
    z-index: 1000;
}

body {
    background-color: #f1f1f0 !important;
}

.logo {
    width: 200px;
}

.myContainer {
    background-color: #FFF !important;
    padding: 20px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
    margin-top: auto;
}

.carddesign {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    background-color: #FFF;
    padding: 20px;
    margin-bottom: 35px;
    Font-family: Calibri, Candara, Segoe, Segoe UI, Optima, Arial, sans-serif !important;
}


.calendarow {
    border-bottom: 1px solid Gray !important;
    padding: 5px !important;
}

.CalendarDate {
    font-size: 20px;
    font-weight: bold;
    color: dimgray;
}

.CalendarMonth {
    font-size: 12px;
    font-weight: bold;
    color: dimgray;
}

.CalendarTime {
    font-size: 16px;
    font-weight: bold;
    color: dimgray;
}

.Calendarname {
    font-size: 20px;
    font-weight: bold;
    color: dimgray;
}

.Calendarinformation {
    font-size: 20px;
    font-weight: bold;
    color: dimgray;
}

.location {
    width: 10px;
    height: 10px;
}

.boxlayout {
    box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.15);
    padding: 10px 30px;
    text-align: left;
    margin-top: 20px !important
}

.vimmerbutton,
.vimmerbuttonMedium,
.vimmerbutton-secondary,
.vimmerbuttonSmall-secondary,
.vimmerbuttonSmall {
    text-decoration: none;
    color: #ffffff !important;
    background-color: #000000 !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    background-image: none;
    stroke: none;
    display: inline-block;
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
    text-align: center;
    border-radius: 4px;
    vertical-align: middle;
}

.vimmerbutton-secondary,
.vimmerbuttonSmall-secondary {
    background-color: #6c757d !important;
}

.vimmerbutton,
.vimmerbutton-secondary {
    margin: 30px auto 0 0;
    padding: 14px 64px 14px 63px;
    font-size: 1rem;
}
.vimmerbuttonMedium {
    margin: 0px auto 0 0;
    padding: 4px 32px 4px 32px;
    font-size: 1rem;
}
.vimmerbuttonSmall,
.vimmerbuttonSmall-secondary {
    margin: 0px auto 0 0;
    padding: 0px 15px 0px 15px;
    font-size: 0.85rem;
    height: 32px;
    line-height: 32px;
}

/* Remove default button and anchor styles */
.vimmerbutton:focus,
.vimmerbutton-secondary:focus,
.vimmerbuttonSmall:focus,
.vimmerbuttonSmall-secondary:focus,
.vimmerbutton:active,
.vimmerbutton-secondary:active
.vimmerbuttonSmall:active,
.vimmerbuttonSmall-secondary:active {
    outline: none;
    box-shadow: none;
}

.vimmerbutton-secondary:hover,
.vimmerbuttonSmall-secondary:hover {
    background-color: #5c636a !important;
}

.vimmerbutton:hover,
.vimmerbuttonSmall:hover {
    background-color: #222222 !important;
    color: #fff !important;
}

/* Disabled state */
.vimmerbutton:disabled,
.vimmerbuttonMedium:disabled,
.vimmerbuttonSmall:disabled,
.vimmerbutton-secondary:disabled,
.vimmerbuttonSmall-secondary:disabled,
.vimmerbutton.is-disabled,
.vimmerbuttonMedium.is-disabled,
.vimmerbuttonSmall.is-disabled,
.vimmerbutton-secondary.is-disabled,
.vimmerbuttonSmall-secondary.is-disabled {
    background-color: #b0b0b0 !important;
    color: #e5e5e5 !important;
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

/* Prevent hover styles when disabled */
.vimmerbutton:disabled:hover,
.vimmerbuttonMedium:disabled:hover,
.vimmerbuttonSmall:disabled:hover,
.vimmerbutton-secondary:disabled:hover,
.vimmerbuttonSmall-secondary:disabled:hover,
.vimmerbutton.is-disabled:hover,
.vimmerbuttonMedium.is-disabled:hover,
.vimmerbuttonSmall.is-disabled:hover,
.vimmerbutton-secondary.is-disabled:hover,
.vimmerbuttonSmall-secondary.is-disabled:hover {
    background-color: #b0b0b0 !important;
}


input[type=text] {
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.rounded-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ticketchoice {
    font-size: 16px !important;
}

.ticketchoiceheader {
    background-color: #000000 !important;
}

.navbar .nav-link,
.navbar .navbar-brand {
    font-size: 1.2rem;
}

.accordion-button:not(.collapsed) {
    background-color: #6c757d !important;
    color: white !important;
}
.invalid-border {
    border: 1px solid red;
    border-radius: 0.25rem;
}

.vimmer-modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.codemodaldiv {
    max-height: 90vh;
    width: 100%;
    max-width: 420px;
    overflow: auto;
}

.cursor-pointer {
    cursor: pointer;
}

.formatted-text {
    white-space: pre-wrap;
    font-family: inherit; /* Om du inte vill ha monospace-font */
}


.vimmer-warning {
    border-color: #ffc107; /* Bootstrap warning yellow color */
}
.mail-complete{
    transition: opacity 0.5s;
}

.OrganizerInformation img {
    max-width: 100%;
    height: auto;
}

.smalldatebox {
    position: relative;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #1a58ab;
    font-weight:bold;
    min-width:100px !important;
}

    .smalldatebox::after {
        content: "";
        position: absolute;
        right: 0; /* där border-right normalt sitter */
        top: 15%; /* luft från toppen */
        height: 70%; /* hur lång linjen ska vara */
        width: 2px; /* tjocklek */
        background-color: #dcdcdc; /* linjefärg */
        border-radius: 2px; /* lite mjukare */
    }

.debug-zone {
    border: 3px dashed #ff006e;
    background: rgba(255, 0, 110, 0.08);
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    position: relative;
    animation: debug-glow 1.5s infinite alternate;
}

@keyframes debug-glow {
    0% {
        box-shadow: 0 0 5px #ff006e;
    }

    100% {
        box-shadow: 0 0 25px #ff006e;
    }
}

.OrganizerEventname
{
    font-size:24px !important;
    font-weight:bold;
}

.page-wrapper {
    min-height: 100vh; /* fyll hela höjden */
    display: flex;
    flex-direction: column; /* stapla vertikalt */
}

.page-content {
    flex: 1 0 auto; /* tar upp allt utrymme mellan NavMenu och footer */
}


/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(40, 40, 40, 0.97);
    color: #fff;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    animation: slideUp 0.35s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.cookie-inner {
    padding: 1rem 0;
}

.cookie-consent-banner h5 {
    font-size: 1.05rem;
    font-weight: 600;
}

.cookie-consent-banner p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-link {
    color: #fff;
    text-decoration: underline;
    margin-left: 0.25rem;
}

    .cookie-link:hover {
        opacity: 0.85;
    }

/* MOBIL */
@media (max-width: 768px) {
    .cookie-consent-banner {
        text-align: center;
    }

        .cookie-consent-banner .btn {
            width: 100%;
        }
}

.cookie-settings {
    max-width: 720px;
    margin: 0 auto;
}

/* Priview overlay */
.preview-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.preview-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 320px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,.3);
}



.event-item {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    gap: 20px;
}

.event-date {
    min-width: 70px;
    text-align: center;
    font-weight: bold;
}

    .event-date .day {
        font-size: 26px;
    }

    .event-date .month {
        font-size: 14px;
        color: #1e4db7;
    }

    .event-date .time {
        font-size: 13px;
        color: #666;
    }

.event-info {
    flex: 1;
}

.event-title {
    font-size: 20px;
    font-weight: 600;
}

.event-extra {
    color: #666;
}

.event-meta {
    font-size: 14px;
    margin-top: 4px;
}

.event-action {
    min-width: 120px;
}

 
@media (max-width: 768px) {
    .event-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
        border: 1px solid #eee;
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .event-date {
        text-align: left;
        margin-bottom: 10px;
    }

    .event-action {
        width: 100%;
        margin-top: 12px;
    }

        .event-action .vimmerbutton {
            width: 100%;
        }















}

/* =========================
   EVENT DETAIL PAGE ONLY
   ========================= */

.event-layout-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

/*.event-page .event-grid {
    display: grid !important;
    grid-template-columns: minmax(380px, 420px) 1fr;
    gap: 2.5rem;
    align-items: start;
}*/
.event-page .event-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 900px) {

    .event-page .event-grid {
        grid-template-columns: 1fr;
    }
}

/*.event-page .event-tickets {
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.5rem;
    position: sticky;
    top: 20px;
}*/

.event-page .event-tickets {
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.5rem;
    position: sticky;
    top: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-self: start;
}

@media (max-width: 900px) {

    .event-page .event-tickets {
        position: static;
        top: auto;
    }
}
.event-page main,
.event-page aside {
    min-width: 0;
}

.event-layout-wrapper {
    overflow-x: hidden;
    max-width: 100%;
}

.event-page {
    max-width: 100%;
}

.event-page .event-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: .25rem;
}

.event-page .event-subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.event-page .event-description {
    line-height: 1.7;
    color: #374151;
}

    .event-page .event-description img {
        max-width: 100%;
        border-radius: 12px;
        margin: 1.5rem 0;
    }

/* Mobile */
@media (max-width: 900px) {
    .event-page .event-grid {
        grid-template-columns: 1fr;
    }

    .event-page .event-tickets {
        position: static;
        /*order: 2;*/
    }

    .event-page .event-content {
        order: 1;
    }
}

.event-header {
    max-width: 1280px;
    margin: 0 auto 1.5rem auto;
}

.event-main-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: .25rem;
}

.event-main-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
}



.organizer-hero {
    background: linear-gradient(180deg, #f4f5f7 0%, #eceef1 100%);
    border-bottom: 1px solid #e1e4e8;
    /* magic: bryt ur myContainer */
    margin-left: calc(-1 * var(--bs-gutter-x, 1rem));
    margin-right: calc(-1 * var(--bs-gutter-x, 1rem));
    padding: 32px 0;
}

.organizer-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.organizer-hero-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.organizer-name {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}

.organizer-contact {
    display: flex;
    gap: 24px;
    font-size: 0.95rem;
    color: #333;
}

    .organizer-contact i {
        margin-right: 6px;
        color: #555;
    }

/* MOBIL */
@media (max-width: 768px) {
    .organizer-hero-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .organizer-name {
        font-size: 1.8rem;
    }

    .organizer-contact {
        flex-direction: column;
        gap: 6px;
    }
}


/*.help-icon {
    display: inline-flex !important;
    align-items: center;
    font-size: 0.9rem;
    line-height: 1;
}*/

.form-help {
    background: #f8f9fa;
    border-left: 4px solid #0d6efd;
    padding: 0.75rem 1rem;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    border-radius: 4px;
}


.event-date-inline {
    font-size: 0.75em;
    font-weight: 500;
    color: #444;
}

@media (max-width: 576px) {
    .event-date-inline {
        display: block;
        margin-left: 0;
        margin-top: 0.25rem;
    }
}

@media (max-width: 576px) {
    .event-layout-wrapper {
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (max-width: 576px) {

    .event-page .event-tickets {
        background: transparent;
        border: none;
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

        .event-page .event-tickets > * {
            padding-left: 0.75rem;
            padding-right: 0.75rem;
        }
}

@media (max-width: 576px) {
    .event-page .event-grid {
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .accordion-button {
        padding: 0.75rem 0.75rem;
    }

    .accordion-body {
        padding: 0.75rem;
    }
}

@media (max-width: 576px) {
    .event-page .event-tickets {
        background: transparent;
        border: none;
        padding: 0;

    }

        .event-page .event-tickets > * {
            padding-left: 0.75rem;
            padding-right: 0.75rem;
        }
}

.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(3px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-overlay-box {
    text-align: center;
}


.admin-event-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-event-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
}

.event-main {
    flex: 1;
}

.event-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.event-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #666;
}

.status {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
}

    .status.online {
        background: #e7f6ec;
        color: #198754;
    }

    .status.offline {
        background: #eef1f4;
        color: #555;
    }

.event-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 📱 MOBIL */
@media (max-width: 576px) {
    .admin-event-card {
        flex-direction: column;
        gap: 12px;
    }

    .event-actions {
        width: 100%;
    }

        .event-actions button {
            width: 100%;
        }
}

.approval-status {
    margin-top: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

    .approval-status.approved {
        background: #e6f6ea;
        color: #137333;
    }

    .approval-status.pending {
        background: #fdecea;
        color: #b3261e;
    }

.approval-msg {
    font-size: 0.75rem;
    color: #666;
    margin-top: 2px;
}


.help-icon {
    font-size: 1.1rem;
   /* font-weight: 600;*/
    text-decoration: none;
}

.help-tooltip {
    position: absolute;
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    max-width: 220px;
    z-index: 1000;
}

.help-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-dialog {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    max-width: 90%;
}

.nav-link.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.ticket-portal {
    background-color: #f1f1f0 !important;
}


.event-step {
    border-radius: 14px;
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

    .event-step:hover {
        box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    }

.step-header {
    background-color: #fff;
    border-radius: 14px;
}

.step-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #6f42c1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.date-wrapper {
    border-radius: 14px;
    border: 1px solid #e9e9e9;
}

    .date-wrapper .card-header {
        background: #fff;
    }

.date-block {
    padding: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    background: #fff;
}

.block-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Sektion cards */
.section-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}

/* Pris rader */
.price-row {
    background: #fafafa;
    border-radius: 8px;
    padding: 12px;
}

.date-inner {
    padding: 10px 0;
}

.date-section {
    margin-bottom: 36px;
}

.section-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.date-inner {
    padding: 24px 20px;
}

/* Luft mellan sektioner */
.date-section {
    margin-bottom: 40px;
}

/* Mer space mellan titel och fält */
.section-title {
    margin-bottom: 20px;
}

/* Lite mer vertikal spacing i rader */
.date-section .row {
    margin-bottom: 10px;
}

/* Gör så innehållet inte klistrar mot vänsterkant */
.date-content {
    padding: 12px 24px 24px 24px;
}

.date-section:first-child {
    background: #fafafa;
    padding: 24px;
    border-radius: 12px;
}

.date-wrapper {
    padding: 8px 4px;
}

.date-header {
    padding: 14px 12px;
}


.date-surface {
    background: #f8f9fb;
    padding: 28px;
    border-radius: 16px;
}

.price-row {
    padding: 20px;
    margin-bottom: 14px;
    background: #f9fafb;
    border-radius: 12px;
}

    .price-row + .price-row {
        margin-top: 12px;
    }


.price-row {
    padding: 20px 22px;
    margin-bottom: 16px;
    background: #f8f9fb;
    border-radius: 14px;
    border: 1px solid #eceff3;
}

    .price-row .form-label {
        margin-bottom: 6px;
        font-weight: 500;
    }

    .price-row .form-control,
    .price-row .form-select {
        margin-bottom: 6px;
    }

    .price-row button.btn-link {
        font-size: 0.85rem;
    }

.price-row {
    padding: 18px 0;
    border-top: 1px solid #f0f2f5;
}
.price-card {
    background: #f8f9fa;
}

    .price-card + .col-12 {
        margin-top: 1rem;
    }


@media (max-width: 768px) {

    /* Ta bort inre kort-känslan */
    .date-surface {
        background: transparent;
        padding: 0;
        border-radius: 0;
    }

    .date-wrapper {
        border: none;
        padding: 0;
    }

    .date-section:first-child {
        background: transparent;
        padding: 0;
    }

    .section-box {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .price-card {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        border-bottom: 1px solid #dee2e6 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .price-row {
        background: transparent !important;
        border: none !important;
        padding: 12px 0 !important;
    }

    /* Alla action-knappar */
    .date-section .btn,
    .date-section .vimmerbutton,
    .date-section .dropdown-toggle {
        width: 100%;
    }

    /* Ta bort datum-knappen */
    .date-section .btn-outline-danger {
        width: 100%;
        margin-top: 1rem;
    }

    .date-section {
        margin-bottom: 28px;
    }

    .section-title {
        margin-bottom: 14px;
        font-size: 0.85rem;
    }
    .form-control,
    .form-select {
        min-height: 46px;
        font-size: 16px; /* förhindrar zoom i iOS */
    }
    .section-box > .row:first-child {
        padding-bottom: 8px;
        border-bottom: 1px solid #eee;
        margin-bottom: 16px;
    }
}
.invoice-support-card {
    background: #f6f1e7;
    border: 1px solid #e6d8bd;
    border-radius: 12px;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.support-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.support-icon {
    font-size: 28px;
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-text h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #2c2c2c;
}

.support-text p {
    margin: 6px 0 0 0;
    color: #666;
    font-size: 14px;
}

.support-btn {
    background: #d4a437;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.support-btn:hover {
    background: #b88d2f;
}

.dashboard-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.dashboard-header h4 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2b2b2b;
}

.dashboard-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-box {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 12px;
    background: #f9fafb;
    transition: all 0.2s ease;
}

.stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: #ececec;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 13px;
    color: #7a7a7a;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #1f1f1f;
}

/* Highlight box (next invoice) */
.stat-box.highlight {
    background: linear-gradient(135deg, #f6f1e7, #fff9ec);
    border: 1px solid #e6d8bd;
}

.stat-box.highlight .stat-icon {
    background: #d4a437;
    color: white;
}

.invoice-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    margin-top: 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    border: 1px solid #f1f1f1;
}
@media (max-width: 768px) {

    .invoice-support-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .support-action {
        width: 100%;
    }

    .support-btn {
        width: 100%;
        margin-top: 40px;
    }
}
.invoice-header h4 {
    margin: 0 0 20px 0;
    font-weight: 600;
    font-size: 18px;
}

/* TABLE */
.invoice-table {
    width: 100%;
    border-collapse: collapse;
}

.invoice-table thead {
    background: #f9fafb;
}

.invoice-table th {
    text-align: left;
    padding: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.invoice-table td {
    padding: 16px 14px;
    border-top: 1px solid #f1f1f1;
    font-size: 14px;
}

.invoice-table tbody tr {
    transition: all 0.15s ease;
}

.invoice-table tbody tr:hover {
    background: #fafafa;
}

/* Amount */
.amount {
    font-weight: 600;
}

/* Status badges */
.status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status.paid {
    background: #e6f7ee;
    color: #0f9d58;
}

.status.unpaid {
    background: #fdeaea;
    color: #d93025;
}

/* Download button */
.download-btn {
    background: transparent;
    border: 1px solid #e5e7eb;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.download-btn:hover {
    background: #f3f4f6;
}

/* Footer */
.invoice-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Pagination */
.pagination-custom {
    display: flex;
    gap: 6px;
}

.page-btn {
    border: 1px solid #e5e7eb;
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s;
}

.page-btn:hover {
    background: #f3f4f6;
}

.page-btn.active {
    background: #d4a437;
    color: white;
    border-color: #d4a437;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.table-fade {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        /* transform: translateY(6px); */
    }
    to {
        opacity: 1;
        /* transform: translateY(0); */
    }
}
.support-bg {
    background-color: #f6f1e7;
}
.bg-economy {
    background-color: #D8DADB !important;
}
.table.bg-economy td,
.table.bg-economy th {
    background-color: #D8DADB !important;
}

/* Page background */
.contact-wrapper {
    margin: -20px;
    background: linear-gradient(135deg, #f8f9fa, #eef2f7);
    min-height: 80vh;
}

/* FAQ styling */
.faq-section {
    background: white;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.faq-section h2 {
    font-size: 1.8rem;
}

.faq-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact card */
.contact-card {
    border-radius: 18px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
}

/* Modern inputs */
.modern-input {
    border-radius: 12px;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.modern-input:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}

.pdf-report {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 20px;
}

    /* Ta bort Bootstrap card-look */
    .pdf-report .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        border-radius: 0 !important;
        background: #ffffff !important;
    }

    /* Ta bort grå headerbakgrund */
    .pdf-report .card-header {
        background: #ffffff !important;
        border-bottom: 1px solid #000 !important;
    }

    /* Tabeller */
    .pdf-report table {
        background: #ffffff !important;
    }

    .pdf-report thead th {
        background: #ffffff !important;
        color: #000 !important;
        border-bottom: 2px solid #000 !important;
    }

    .pdf-report td,
    .pdf-report th {
        border-top: 1px solid #ccc !important;
    }

    /* Ta bort bg-economy */
    .pdf-report .bg-economy {
        background: #ffffff !important;
    }

    /* Ta bort text-muted */
    .pdf-report .text-muted {
        color: #000 !important;
    }

    /* Gör summeringsraden tydligare */
    .pdf-report tfoot {
        border-top: 2px solid #000 !important;
    }

.pdf-mode {
    background: #ffffff !important;
}

    .pdf-mode .bg-economy,
    .pdf-mode .card-header,
    .pdf-mode .table,
    .pdf-mode .table thead,
    .pdf-mode .table tbody,
    .pdf-mode .table tfoot {
        background: #ffffff !important;
    }

    .pdf-mode .card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        border-radius: 0 !important;
    }

    .pdf-mode .text-muted {
        color: #000 !important;
    }

    .pdf-mode th {
        background: #ffffff !important;
        border-bottom: 2px solid #000 !important;
    }

    .pdf-mode td,
    .pdf-mode th {
        border-top: 1px solid #ccc !important;
    }

    .pdf-mode tfoot {
        border-top: 2px solid #000 !important;
    }

/*SEATEDITOR*/

/*#editorCanvas {
    position: relative;
    width: 800px;
    height: 800px;
    overflow: hidden;
    box-sizing: border-box;
}*/

#editorCanvas {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-sizing: border-box;
}

    #editorCanvas img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }

/*#seatLayer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}*/
#seatLayer {
    position: absolute;
    inset: 0;
}

.selection-box {
    position: absolute;
    border: 1px dashed #000;
    background: rgba(0, 100, 255, 0.2);
    z-index: 9999;
    pointer-events: none;
}

.seat {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ff6b6b, #b30000);
    border: 1px solid #600000;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.6), 0 1px 2px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s, background 0.1s;
}

   .selection-box {
    z-index: 9999;
}

.modal-back {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: flex-start; /* viktig */
    justify-content: center;
    overflow-y: auto; /* viktig */

    padding: 40px 0; /* så den inte klistrar mot kanten */

    z-index: 99999;
}

.modal-box {
    background: white;
    padding: 20px;
    width: 550px;
}

.table input {
    width: 70px;
}

 

.modal-box.modern {
    background: #f5f5f5;
    width: 420px;
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    max-height: 90vh; /* viktig */
    overflow: auto; /* viktig */

    padding: 20px 24px;
}
.modal-content-scroll {
    max-height: 60vh;
    overflow-y: auto;
}

.modal-box h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

    .form-row label {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .form-row input {
        padding: 4px 6px;
        font-size: 14px;
        border: 1px solid #999;
        border-radius: 4px;
    }

/*.buttons {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}*/

.seatbtn {
    padding: 5px 12px;
    border-radius: 4px;
    
    cursor: pointer;
}
.save-status {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #198754;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0.9;
}

    .seatbtn.ok {
        background: #e0e0e0;
    }

    .seatbtn.cancel {
        background: #eee;
    }

.seat {
    position: absolute;
}

.seat-label {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: black;
    pointer-events: none;
    user-select: none;
}

.hide-labels .seat-label {
    display: none;
}


.tool-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #999;
    background: white;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-group {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
}

.tool-group-right {
    margin-left: 10px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

    .tool-btn:hover {
        background: #ddd;
    }

    .tool-btn:active {
        background: #bbb;
    }


.vimmerbuttonTool {
    background-color: #000000;
    color: #ffffff;
    border: none;
    width: 34px;
    height: 34px;
    padding: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.15s;
}

    .vimmerbuttonTool:hover {
        background-color: #222;
    }

    .vimmerbuttonTool:active {
        background-color: #444;
    }

.seat-toolbar .vimmerbutton {
    margin: 0;
    padding: 6px 14px;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.seat-toolbar {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    background: #f1f1f0;
    border: 1px solid #ddd;
    border-top: none;
    flex-wrap: nowrap; /* viktig */
    box-sizing: border-box;
    margin-left: 16px;
}

.vimmerbuttonTool.active {
    background-color: #222;
    outline: 2px solid #ff0232;
}

.icon-trash {
    font-size: 16px;
    color: white;
}

.row-create {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

    .row-create label {
        white-space: nowrap;
    }

    .row-create input {
        width: 80px;
    }


/*#editorContainer {
    width: 800px;
    display: flex;
    flex-direction: column;
}*/

#editorContainer {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

.seat-menu {
    position: absolute;
    background: #222;
    color: white;
    border: 1px solid #555;
    display: none;
    z-index: 1000;
    min-width: 160px;
}

    .seat-menu div {
        padding: 6px 10px;
        cursor: pointer;
    }

        .seat-menu div:hover {
            background: #444;
        }

    .seat-menu hr {
        border: none;
        border-top: 1px solid #555;
    }

.dialog {
    position: fixed;
    top: 200px;
    left: 200px;
    background: white;
    border: 2px solid black;
    z-index: 999999;
    padding: 20px;
}

.save-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.save-status-inline {
    font-size: 14px;
    color: #198754;
    font-weight: 500;
}


.seatmap-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* centrera */
}

.seatmap-container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.seatmap {
    max-width: 100%;
}

#seatMap {
    width: 100%;
    height: 600px;
    background: #eee;
     
}

.seat-public {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #51cf66, #2b8a3e);
    border: 1px solid #1b5e20;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s, background 0.1s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: white;
}

    /* hover */
    .seat-public:hover {
        transform: scale(1.2);
    }

    /* vald */
    .seat-public.selected {
        background: radial-gradient(circle at 30% 30%, #ffd43b, #f59f00);
        border-color: #e67700;
        color: black;
    }

    /* upptagen */
    .seat-public.taken {
        background: radial-gradient(circle at 30% 30%, #ff6b6b, #c92a2a);
        border-color: #7f1d1d;
        cursor: not-allowed;
    }

        /* disabled hover */
        .seat-public.taken:hover {
            transform: none;
        }

.seatmap {
    /*position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 1 / 1;
    background: #eee;
    min-height: 400px;*/ /* 🔥 viktig */
    /*overflow: hidden;*/
    position: relative;
    width: 100%;
    max-width: 800px;
    background: #eee;
    overflow: hidden;
}

.seatmap-bg {
    width: 100%;
    height: auto;
    display: block;
}
/*.seatmap-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
 
}*/

.seat-item-text {
    position: absolute;
    color: white;
    font-size: 14px;
    font-weight: bold;
    pointer-events: auto;
    user-select: none;
}
.seat-pill {
    background: #198754;
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    margin-right: 4px;
    font-size: 12px;
}
/*SEATEDITOR*/

.preview-footer {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 12px;
    border-top: 1px solid #ddd;
    text-align: center;
    z-index: 5;
}

.event-info-content {
    max-width: 360px;
}

    .event-info-content img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }

.event-tickets img {
    max-width: 100%;
    height: auto;
}

.seatmap-legend {
    display: flex;
    gap: 18px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.legend-dot {
    position: static !important;
    width: 14px;
    height: 14px;
}


/* ===== CHROME MOBILE OVERFLOW FIX ===== */

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.event-page,
.event-layout-wrapper,
.event-grid,
.event-tickets,
.event-page main,
.event-page aside {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 576px) {

    .event-page .event-tickets {
        margin: 0 !important;
        width: 100%;
        max-width: 100%;
    }
}

.seat-public {
    width: clamp(8px, 1.6vw, 14px);
    height: clamp(8px, 1.6vw, 14px);
}