body { background: #f6f8fb; }

.top-bar {
    background: #1a3d6a;
    color: #fff;
    padding: 14px 0;
    margin-bottom: 24px;
}

.top-bar h3 { color: #fff; }

.summary-card,
.event-card,
.template-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
}

.event-card .row + .row { border-top: 1px solid #eee; padding-top: 16px; margin-top: 16px; }

.event-row + .event-row {
    border-top: 1px solid #eee;
    padding-top: 16px;
    margin-top: 16px;
}

.event-row [data-book-now-wrap] {
    flex-shrink: 0;
    white-space: nowrap;
}

.event-row [data-book-now-wrap] .btn {
    white-space: nowrap;
}

.search-bar {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.search-bar-title {
    font-weight: 400;
    color: #1a3d6a;
    letter-spacing: 0.2px;
}

.search-bar-subtitle {
    font-size: 15px;
    margin-top: 4px;
}

.search-bar-form {
    background: #f6f8fb;
    border-radius: 999px;
    padding: 6px 18px;
    box-shadow: inset 0 0 0 1px #e3e8ef;
}

.search-bar-label {
    color: #1a3d6a;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
}

.search-bar-date {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 4px 8px;
    font-weight: 600;
    color: #1a3d6a;
    min-width: 160px;
}

.search-bar-date:focus {
    outline: none;
    box-shadow: none;
}

@media (max-width: 575px) {
    .search-bar-form { width: 100%; padding: 4px 10px; }
    .search-bar-date { min-width: 0; flex: 1; }
}

.info-badge {
    display: inline-block;
    background: #eef3fb;
    color: #1a3d6a;
    padding: 4px 10px;
    border-radius: 999px;
    margin-right: 8px;
    margin-bottom: 4px;
    font-size: 13px;
}

.lang-switcher .dropdown-menu { right: 0; left: auto; }

.lang-switcher .dropdown-toggle {
    background: transparent;
    border: none;
    color: #fff;
    padding: 4px 8px;
    font-size: 14px;
    box-shadow: none;
}

.lang-switcher .dropdown-toggle:hover,
.lang-switcher .dropdown-toggle:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: none;
}

.language-flag { width: 18px; margin-right: 6px; vertical-align: -3px; }

.top-bar h3 {
    font-size: 1.4rem;
    margin: 0;
}

.top-bar .btn-link { font-size: 14px; padding: 4px 8px; }

.top-bar-actions { gap: 12px; }
.top-bar-actions .nav-link-sm { font-size: 14px; padding: 4px 8px; text-decoration: none; }
.top-bar-actions .nav-link-sm:hover { text-decoration: underline; }

@media (max-width: 575px) {
    .top-bar { padding: 10px 0; }
    .top-bar h3 { font-size: 1.05rem; }
    .top-bar-actions { gap: 4px; }
    .top-bar-actions .nav-link-sm { font-size: 12px; padding: 2px 6px; }
    .top-bar .lang-switcher .dropdown-toggle { padding: 2px 6px; font-size: 12px; }
    .top-bar .lang-switcher .language-flag { width: 14px; margin-right: 4px; }
}

.card-img { max-width: 100%; }

.event-details { margin-top: 4px; }
.event-details.is-loading { opacity: 0.6; pointer-events: none; }

.inline-counter { display: inline-flex; align-items: center; }
.inline-counter button { width: 32px; padding: 0; }
.inline-counter .inline-counter-value {
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    padding: 0 8px;
    color: #1a3d6a;
    font-weight: 600;
    justify-content: center;
}

.hero-carousel {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    overflow: hidden;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 8%;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    padding: 18px;
    background-size: 60% 60%;
}

.hero-carousel .carousel-indicators li {
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.7);
}

.event-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    background: #eef3fb;
}

.time-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.time-grid-centered { justify-content: center; }

.time-grid button {
    min-width: 56px;
    background: #fff;
    color: #1a3d6a;
    border: 1px solid #1a3d6a;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 13px;
}

.time-grid button.is-selected,
.time-grid button:hover {
    background: #1a3d6a;
    color: #fff;
}

.modal-body input.is-invalid,
.modal-body textarea.is-invalid { border-color: #dc3545; }

.modal-body-compact { padding: 16px 20px; }
.modal-body-compact .form-group { margin-bottom: 12px; }
.modal-body-compact label {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}
.modal-body-compact legend {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    margin-top: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 4px;
}

.booking-summary-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: #f6f8fb;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 12px;
    font-size: 14px;
}
