:root {
    --background_light: rgb(50, 51, 46);
    --background_dark: rgb(40, 41, 35);
}

.body_custom {
    /*width: 100%;*/
    position: relative;
    /*text-align: center;*/
    margin-right: auto;
    margin-left: auto;
    background: var(--background_dark);
    color: white;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.center_text {
    color: white;
    font-size: 13px;
    bottom: 0px;
    text-align: center;
}

.band_column {
    width: 22.5vw;
    padding: 10px;
    float: left;
}

.venue_column {
    width: 24vw;
    padding: 10px;
    float: left;
}

.year_column {
    width: 22.5vw;
    /* 8vw */
    padding: 10px;
    float: left;
}

.stats_column {
    width: 22.5vw;
    /* 20vw */
    padding: 10px;
    float: left;
    overflow: auto;
}

.table_col {
    /*height: 85vh;*/
    overflow: auto;
}

.table_col thead th,
.upcoming_band_list_table thead th,
.venue_table_col thead th,
.city_table_col thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    /* Adjust as needed */
}

th {
    border-left: 2px solid rgb(204, 206, 209) !important;
}

table,
th,
td {
    border: none;
}

tr:nth-child(even) td {
    border-left: 2px dotted var(--background_dark);
}

tr:nth-child(odd) td {
    border-left: 2px dotted var(--background_light);
}


td:first-child {
    border-left: 0px !important;
}


th:first-child {
    border-left: 0px !important;
}

.stats_list_table {
    font-size: small;
    width: 100%;
}

.upcoming_band_list_table {
    overflow: auto;
}

.venue_table_col,
.city_table_col {
    overflow: auto;
}

.mega_left {
    float: left;
    width: 28vw;
    margin-top: 4em;
}

.mega_right {
    display: inline-table;
    float: right;
    width: 71vw;
    /*height: 100%;*/
    margin-top: 4em;
}

.legend {
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    width: 7vw;
    height: 2vw;
    border-radius: 5px;
    font-size: 0.8vw !important;
    text-align: center;
    margin-left: 0.5vw;
}

.filter-count {
    margin-right: 0.5vw;
    width: 6vw;
}

.main-buttons {
    font-size: 0.8vw !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.main-buttons:hover,
.create-account-btn:hover,
.login-btn:hover {
    transition: background-color 0.2s ease;
    background-color: rgb(11, 94, 215) !important;
}

.create-account-btn,
.login-btn {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

tr:nth-child(even) {
    background-color: var(--background_light);
}

tr:nth-child(odd) {
    background-color: var(--background_dark);
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(214, 216, 219, 0.67);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(214, 216, 219, 0.67);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(214, 216, 219, 1);
}

.tooltip-container {
    opacity: 1;
    position: relative;
    transition: opacity 0.3s ease;
}

.tooltip-container-hidden {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.container {
    /*max-height: 85.4vh;*/
    align-content: center;
    overflow: auto;
    overflow-x: visible;
    overflow-y: visible;
    margin-top: 0.6em;
    margin-bottom: 2.5em;
}

.tooltip-container:hover .tooltip-content-archive {
    visibility: visible;
    opacity: 1;
    transition: .5s all ease;
    transition-delay: 0.5s;
}

.tooltip-content-archive {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background: transparent;
    left: -2%;
    top: 0px;
    padding: 0 15px;
    font-size: 15px;
    /*width: 160px;*/
    margin-top: 2px;
    min-height: 50px;
    transition: .5s all ease;
    transition-delay: 0s;
    z-index: 2;
    color: #000000;
}

.courier_font {
    font-family: 'Courier New', monospace;
}

@media (max-width:960px) {

    .venue_column,
    .band_column,
    .year_column,
    .stats_column {
        width: 100vw;
        padding-left: 15vw;
        padding-right: 15vw;
    }

    .mega_right {
        width: 100vw;
        padding-bottom: 10vh;
    }

    .mega_left {
        width: 100vw;
        padding-left: 5vw;
        padding-right: 5vw;
        max-height: unset;
        height: unset;
    }

    .venue_table_col,
    .city_table_col,
    .upcoming_band_list_table,
    .table_col {
        max-height: unset;
        height: unset;
    }

    .container {
        max-height: unset;
    }

    .band_col {
        max-width: 50% !important;
    }
}

.modal-dialog {
    width: 64vw !important;
    max-width: unset !important;
}

.modal-lg,
.modal-xl {
    max-width: unset !important;
}

#success_modal_content {
    align-content: center !important;
    width: 40%;
    margin: 0 auto;
}

#id_setlist_url {
    text-decoration: unset;
    color: unset;
}

#id_setlist_url:hover {
    color: lightblue;
}


.setlist-container {
    position: relative;
}

.setlist-container:hover .setlist-content-archive {
    visibility: visible;
    opacity: 1;
    transition: .5s all ease;
    transition-delay: 0.5s;
    width: 1% !important;
    pointer-events: none;
}

.setlist-content-archive {
    visibility: hidden;
    width: 1% !important;
    opacity: 0;
    display: block;
    position: absolute;
    background: transparent;
    padding: 0 15px;
    font-size: 15px;
    transition: .5s all ease;
    transition-delay: 0s;
    z-index: 200;
    color: #000000;
}

#setlistModal.fade:not(.show) .modal-dialog {
    visibility: hidden;
}

.autocomplete-container {
    position: relative;
}

.country-suggestions {
    position: absolute;
    top: 100%;
    /* Position below the input field */
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    max-height: 150px;
    /* Set a maximum height */
    overflow-y: auto;
    /* Enable vertical scrollbar if content exceeds max height */
    display: none;
    /* Initially hidden */
    background-color: var(--background_light);
    z-index: 1000;
    /* Ensure it appears above other elements */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Add a subtle shadow */
    border-radius: 4px;
    /* Rounded corners for a smooth look */
    padding: 5px;
    /* Slight padding for space */
    font-size: 10px;
}

.country-container-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    /* Light border between items */
}

.country-container-item:last-child {
    border-bottom: none;
    /* Remove border for the last item */
}

.country-container-item:nth-child(even) {
    background-color: var(--background_light);
}

.country-container-item:nth-child(odd) {
    background-color: var(--background_dark);
}

.country-container-item:hover {
    background-color: #aaa;
}

.navbar {
    max-height: 10vh !important;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-image-container {
    width: 30px;
    height: 30px;
    display: flex;
    /* Center the image within the container */
    justify-content: center;
    align-items: center;
    margin-left: 1em;
    /* Adjust as needed */
    background-color: #f0f0f0;
    /* Optional placeholder color */
}

.navbar-image-container img {
    width: 100%;
    height: 100%;
    display: block;
}

.concert-header-container {
    position: relative;
    text-align: center;
}

.concert-header-container::after {
    content: "";
    position: absolute;
    top: 50%;
    /* Position at the middle */
    left: 0;
    width: 100%;
    height: 1px;
    /* Adjust thickness as needed */
}

.concert-header-container-default::after {
    background: linear-gradient(to right, rgba(214, 216, 219, 0), rgba(214, 216, 219, 1), rgba(214, 216, 219, 0));
}

.concert-header-container-white::after {
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.concert-header-container-red::after {
    background: linear-gradient(to right, rgba(255, 0, 0, 0), rgba(255, 0, 0, 1), rgba(255, 0, 0, 0));
}

#id_filter_string {
    font-size: x-small;
}

.filter-string {
    max-height: 6vh;
    overflow-y: auto;
    white-space: normal;
    box-sizing: border-box;
}

.main-buttons-div {
    display: inline-block;
    /* Ensure buttons are in a row */
}


#delete-modal-dialog {
    max-width: 450px !important;
    /* whatever feels right */
    width: 90%;
    /* responsive fallback on tiny screens */
}

#username-block {
    flex: 0 0 auto;
    /* don’t grow or shrink */
    display: inline-flex;
    /* shrink-to-fit, but still a flex-item */
    align-items: center;
    /* vertical center of its own content */
    width: auto !important;
    max-width: 12vw !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 0.5vw;
}

#username-block::before,
#username-block::after,
.main-buttons::before,
.main-buttons::after {
    content: "";
    display: inline-block;
    width: 0.5em;
    white-space: nowrap;
}

.form-control,
.form-select,
.datetime-picker,
.datetime-picker:focus .form-control:focus,
.form-select:focus {
    background-color: rgb(40, 41, 35) !important;
    color: #eee !important;
    border: 1px solid #555 !important;
    box-shadow: none !important;
}

.form-control::placeholder {
    color: #888;
    opacity: 1;
}


.form-control::-webkit-input-placeholder {
    color: #888;
    /* placeholder shade */
    opacity: 1;
    /* make sure it’s not translucent */
}

.form-control::-moz-placeholder {
    color: #888;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #888;
}

.form-check-input {
    --bs-form-check-bg: #222;
    /* dark grey fill */
    --bs-form-check-border-color: #555;
    /* lighter grey border */

    --bs-form-check-checked-bg: #0d6efd;
    /* default blue */
    --bs-form-check-checked-border-color: #0d6efd;

    --bs-form-check-focus-color: #0d6efd;
    --bs-form-check-focus-ring: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

input[type="checkbox"].form-check-input:checked {
    background-color: rgb(155, 115, 0) !important;
    border-color: rgb(155, 115, 0) !important;
    accent-color: rgb(155, 115, 0) !important; /* GOLD COLOUR */
    /* for browsers that support it */
}

input[type="checkbox"].form-check-input:hover:checked,
input[type="checkbox"].form-check-input:focus:checked {
    box-shadow: 0 0 0 .20rem rgba(255, 215, 0, 0.2) !important;
    /* Gold glow */
}

#setlistModal.fade.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#setlistModalDialog {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    /* remove default margins so flex centering works */
    margin: 0 !important;
}

.legend2 {
    transition:
        transform 0.2s ease-in-out,
        --bs-bg-opacity 0.2s ease-in-out;
    transform-origin: center center;
}

.legend2:hover {
    transform: scale(1.05);
    --bs-bg-opacity: 0.55;
    cursor: pointer;
}

.legend2.fallback-opacity {
    opacity: 0.55;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.legend2.fallback-opacity:hover {
    transform: scale(1.05);
    opacity: 1;
}

.legend2.filter-brightness {
    filter: brightness(0.9);
    transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
}

.legend2.filter-brightness:hover {
    transform: scale(1.05);
    filter: brightness(1);
}


.scroll-top-logo {
    display: inline-block;
    overflow: visible;
}

.scroll-top-logo img {
    transition: filter 0.2s ease, transform 0.2s ease;
}

.scroll-top-icon {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translate(-50%, -60%) scale(0.7);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.scroll-top-logo:hover img {
    filter: grayscale(100%);
    transform: scale(0);
}

.scroll-top-logo:hover .scroll-top-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

[id$="_submit-btn"] {
    display: inline‑flex;
    align-items: center;
}

#btn-spinner {
    display: none;
}

/* small colored square */
.legend-box {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  vertical-align: middle;
}

.legend-info-icon {
  font-size: 1.5rem;   /* tweak as needed */
  color: #fff;         /* ensure it stays white */
}


.popover.legend-popover .popover-header {
  background-color: #333 !important;
  color:            #fff   !important;
}

.popover.legend-popover .popover-body {
  background-color: #444 !important;
  color: #ddd;
}

.legend-entry {
    margin-bottom: 0.3rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    border-radius: 5px;
}

.legend-entry-black {
    color: black!important;
}

.empty-state-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-top: 12px;
    animation: emptyFade 0.25s ease-in-out;
}

.empty-state-image {
    width: 350px;
    max-width: 90%;
    opacity: 0.95;
}

.empty-state-title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #4b5563;
    opacity: 0.95;
}

.empty-state-subtitle {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    color: #6b7280;
}
@keyframes emptyFade {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.empty-state-svg {
    max-width: 900px;
    height: auto;
}


.empty-title-anim {
    transform-origin: center left;
}

.fade-out-right {
    animation: fadeOutRight 0.3s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.3s ease forwards;
}

@keyframes fadeOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* When we’re showing the empty state, allow clicks to pass through the overlay */
#loading-screen.empty-state {
    pointer-events: none;
    background: transparent; /* optional: remove dim background if you have one */
}



.empty-state-svg {
    width: 80vw;          /* bigger presence on screen */
    max-width: 1600px;    /* cap it on ultra-wide displays */
    height: auto;
}

/* SVG empty-state background */
#loading-screen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 1!important;
}

/* When it's the empty-state version, we already do click-through */
#loading-screen.empty-state {
    pointer-events: none;
    background: transparent;
}

