:root {
    --bs-success-rgb: 71, 222, 152 !important;
    --primary-color: #ff5a5f;
    --secondary-color: #00a699;
    --accent-color: #f7b731;
    --bg-light: #f9f9f9;
    --text-dark: #222;
}

html,
body {
    height: 100%;
    width: 100%;
    background: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

main {
    height: 100%;
    display: flex;
    flex-flow: column;
}
/* Navigation Bar */
.navbar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 0 0 18px 18px;
    padding: 12px 0;
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.2s;
}
.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

#page-container {
    flex: 1 1 auto;
    overflow: auto;
}

#topNavBar {
    flex: 0 1 auto;
}

.thumbnail-img {
    width: 50px;
    height: 50px;
    margin: 2px
}
.product-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    padding: 18px;
    margin: 12px;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.product-card:hover {
    box-shadow: 0 8px 32px rgba(255,90,95,0.18);
    transform: translateY(-4px) scale(1.03);
}
.product-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 14px;
}
.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}
.product-price {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.product-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    margin: 0 4px;
}
.product-btn:hover {
    background: var(--accent-color);
}
}

.truncate-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.truncate-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
}

.modal-dialog.large {
    width: 80% !important;
    max-width: unset;
}

.modal-dialog.mid-large {
    width: 50% !important;
    max-width: unset;
}

@media (max-width:720px) {
    .modal-dialog.large {
        width: 100% !important;
        max-width: unset;
    }
    .modal-dialog.mid-large {
        width: 100% !important;
        max-width: unset;
    }
    .product-card {
        padding: 10px;
        margin: 6px;
    }
    .product-img {
        width: 80px;
        height: 80px;
    }
    }
}

.display-select-image {
    width: 60px;
    height: 60px;
    margin: 2px
}

img.display-image {
    width: 100%;
    height: 45vh;
    object-fit: cover;
    background: black;
}


/* width */

::-webkit-scrollbar {
    width: 5px;
}


/* Track */

::-webkit-scrollbar-track {
    background: #f1f1f1;
}


/* Handle */

::-webkit-scrollbar-thumb {
    background: #888;
}


/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.img-del-btn {
    right: 2px;
    top: -3px;
}

.img-del-btn>.btn {
    font-size: 10px;
    padding: 0px 2px !important;
}