#webContent {
    margin-left: 80px;
    transition: margin 400ms ease-in-out;

    &.webcontent-collapsed {
        margin-left: 280px !important;
    }
}

#sidebar {

    color: white;
    background-color: #04385c;

    display: flex;
    flex-direction: column;
    flex-shrink: 0;

    position: fixed;
    height: 100%;
    z-index: 3;
    padding: 1rem 0;

    transition: width 400ms ease-in-out;
    overflow: hidden;

    .sidebar-collapse-button {

        display: inline-block;
        color: white;
        border: none;
        background: none;
        transition: transform 200ms ease-in-out;

    }

    &.sidebar-enlarged {
        width: 280px !important;

        .sidebar-collapse-button { transform: rotate(-180deg); }

        a.nav-link {
            text-align: start !important;

            i.bi {
                margin: 0 1rem 0 .5rem !important;
            }

            span.sidebar-item-text {
                display: inline !important;
            }
        }
    }

    &:not(.sidebar-enlarged) {
        width: 80px;
    }

    #sidebar-brand {

        max-width: 120px;
        align-self: center;
        display: flex;
        align-items: center;
        color: inherit;
        text-decoration: none;
        padding: 0 .5rem;

    }

    ul.sidebar-items {

        flex-direction: column;
        margin-bottom: auto;

        li.nav-item {

            a.nav-link {

                color: inherit;
                transition: all 200ms;
                text-align: center;
                white-space: nowrap;
                
                &:hover { background-color: rgba(0, 0, 0, 0.15); }
                
                i.bi {
                    // transition: all 200ms ease-in-out;
                    // margin: 0 auto;   
                }

                span.sidebar-item-text {

                    display: none;

                }

            }

        }

    }

}

// .card-badge-container {
//     position: relative;

//     .card-badge {
//         aspect-ratio: 1 / 1;

//         height: calc(100% + 20px);

//         position: absolute;
//         top: calc(-30% - 21px);
//         left: -26px;

//         background-color: #04385c;
//         border-bottom: 30px;
//         border-left: 30px;
//         border-right: 30px;

//         transform: rotate(45deg);
//         // -webkit-transform: rotate(45deg);
//     }
// }

#newVenueTabBtns {

    // border-radius: 50rem;
    overflow: hidden;
    width: fit-content;

    .nav-item > .nav-link {
        // border-radius: 1rem !important;

        color: #04385c;

        &.active {
            color: white;
            background-color: #04385c;
        }
    }

}

.btn-facing-left {
    border-top-left-radius: 1.2rem !important;
    border-bottom-left-radius: 1.2rem !important;
    border-top-right-radius: 0.8rem !important;
    border-bottom-right-radius: 0.8rem !important;
}

.btn-facing-right {
    border-top-left-radius: 0.8rem !important;
    border-bottom-left-radius: 0.8rem !important;
    border-top-right-radius: 1.2rem !important;
    border-bottom-right-radius: 1.2rem !important;
}

#venueModal .modal-content {
    min-height: 550px;
}

#locationMapOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Darkened overlay with 70% opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure the overlay is above the map */
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3); /* Light border for the spinner */
    border-top: 4px solid #3498db; /* Blue spinner */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.venue-textarea {
    resize: none;
    min-height: 152px !important;
}