/* Global Styling */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

body {
}

#app[aria-busy="true"] .container.my-5 {
    opacity: 0.5; /* Optional dimming effect while loading */
}

.navbar .navbar-nav {
    flex-wrap: wrap; /* Allows links to wrap to the next line */
    justify-content: center; /* Centers the nav links */
}

/* Navbar Underline Effect */
.navbar .nav-link {
    position: relative;
    padding-bottom: 5px;
    margin:0px 5px 0px 5px;
    transition: color 0.3s ease;
    font-size: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #0d6efd;
    transition: width 0.3s ease, left 0.3s ease;
}

/* Active and Hover States */
.navbar .nav-link.router-link-active::after,
.navbar .nav-link:hover::after {
    width: 100%;
    background-color: #0d6efd;
}

/* Responsive styling for small screens */
@media (max-width: 1200px) {

}

@media (min-width: 1200px) {
    .navbar .nav-link {
        font-size: 100%; /* Standard font size for medium screens and above */
    }
}

#qrCanvas {
    width: 100%;
    height: auto; /* Maintains aspect ratio */
    max-width: 100%; /* Prevents overflow */
}

/* Smaller Spinner */
.spinner-border {
    width: 0.8rem;
    height: 0.8rem;
}
