* {
    padding: 0;
    margin: 0;
    font-family: "Quicksand", sans-serif;
    font-weight: 400;
}

a {
    cursor: pointer;
    color: black;
}

/* Font Sizes */

h1, h2 {
    font-size: 1.8rem;
}

h3{
    font-size: 1.4rem;
}

h4, p, a, td, th, button, .close, input, label, .circ, select {
    font-size: 1.0rem;
}

button:hover {
    cursor: pointer;
}

/* Added to allow for 'sold' banner on inventory pages */
.image-container {
    position: relative; /* Allows absolute positioning of child elements */
    display: inline-block; /* Keeps it inline with surrounding content */
}

.sold-overlay {
    position: absolute;
    top: 50%; /* Center vertically before rotation */
    left: 50%; /* Center horizontally before rotation */
    transform: translate(-50%, -50%) rotate(-45deg); /* Center and rotate */
    color: red;
    font-size: 3rem; /* Adjust size based on image dimensions; use rem for responsiveness */
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap; /* Prevent wrapping */
    pointer-events: none; /* Allow clicks to pass through to the image/container */
    z-index: 10; /* Ensure it's on top */
    /* Optional: Add semi-transparent background for better visibility */
    /* background-color: rgba(255, 255, 255, 0.7); */
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.brevoField {
    margin-bottom: 1rem !important;
}

.burg {color: rgb(144,0,32);}
.grey {color: rgb(191,193,194)}

.navbar-nav {
    align-items: center;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* Optional: Remove any top margin for seamless appearance */
}

.inventory-image {
    border: 2px solid #ccc;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.inventory-image:hover {
    opacity: 0.8;
    transition: opacity 0.3s;
}

table {
    width: 100%;
}

.tableDiv {
    margin-bottom: 1rem;
    .cell {
        input, select {
            width: 100%;
        }
    }
}

.navbar {
    position: relative; /* Contains the absolute logo */
}

.navbar-brand {
    position: absolute;
    top: -7pt; /* Vertically center the logo within the navbar */
    /* transform: translateY(-50%); /* Adjust for perfect vertical centering */
    left: 0;
    z-index: 10; /* Ensure logo is above other elements if needed */
    padding: 0;
}

/* Login pinned to top-right */
.login-item-desktop {
    list-style-type: none;
    display: flex;
}

#full-screen-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
}

#full-screen-loader .loader-content {
    text-align: center;
    color: white;
}

.loader-content {
    max-width: 420px;
}

@media only screen and (min-width: 768px) {

    h1, h2 {
        font-size: 2.5rem;
    }

    h3{
        font-size: 2rem;
    }

    h4, p, a, td, th, button, .close, input, label, .circ, select {
        font-size: 1rem;
    }

    .finePrint {
        font-size: 0.75rem;
    }

    #profile-menu {
        right: 0 !important;
        left: auto !important;
    }

    @media only screen and (min-width: 992px) {

        .login-item-desktop {
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            z-index: 10;
        }

        .container-fluid {
            padding-left: 160px; /* Logo width (150px) + margin (10px); adjust as needed */
            padding-right: 160px; /* Symmetric for true page centering */
        }

    }

}
