[x-cloak] {
    display: none !important;
}

#event_organizer,
#event_name,
#event_location {
    text-transform: uppercase;
}

#qr-code img,
.modal-qr img {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
}

* {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
}

.card {
    border-color: #00000014;
}

#logo {
    display: block;
    width: 200px;
    margin: 0 auto;
    margin-bottom: 2em;
}

.loader {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 2px solid;
    border-color: #FFF #FFF transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border: 1px solid;
    border-color: transparent #FF3D00 #FF3D00;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    animation: rotationBack 0.5s linear infinite;
    transform-origin: center center;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotationBack {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

#header-input {
    display: block;
    position: relative;
}

#header-wrapper #header-loader {
    display: none;
    justify-content: start;
    align-items: center;
    margin: 0.5em;
}

#header-wrapper.loading #header-input::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-color: #ccccccb0;
    user-select: none;
}

#header-wrapper.loading #header-loader {
    display: flex;
}

.site-footer {
    text-align: center;
    padding: 3em 0 2em;
    margin-top: 2em;
    color: #555;
    font-size: 10pt;
}

.site-footer a {
    color: #555;
}

.site-footer-links a {
    text-decoration: none;
}

.site-footer-links span {
    margin: 0 0.5em;
}

#event_scan_date {
    margin-left: 19px;
    margin-right: 19px;
}

.nav-pills .nav-link {
    color: hsl(30 100% 30% / 1);
}

.nav-pills .nav-link.active {
    background-color: hsl(30 100% 60% / 1);
    color: #111;
}

.program-item:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.accordion-toggle svg {
    transition: transform 0.2s ease;
}

.accordion-toggle.is-open svg {
    transform: rotate(180deg);
}

.edit-program-icon {
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

.edit-program-icon:hover,
.edit-program-icon:focus-visible {
    opacity: 1;
}

/*
 * Bootstrap's own .modal class defaults to display:none (normally toggled by
 * Bootstrap's JS, which this page doesn't load). Alpine's x-show clears the
 * inline style entirely when shown rather than restoring a prior value, so
 * override the base rule only when Alpine hasn't hidden it via an inline style.
 */
.modal:not([style]) {
    display: block;
}

.toast-notification {
    position: fixed;
    bottom: 1.5em;
    left: 50%;
    transform: translateX(-50%);
    background-color: #212529;
    color: #fff;
    padding: 0.75em 1.5em;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1100;
}

.accordion-toggle:hover,
.accordion-toggle:focus-visible {
    background-color: #0000000a !important;
    border-radius: 4px;
}