#toolbarContainer {
    display: contents;
}

/* Cusstom Scrollbar*/
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

::-webkit-scrollbar-thumb:active {
    background: rgba(0, 0, 0, .9);
}

/*//////*/

/* loading screen */
div.loaderscreen {
    position: fixed;
    z-index: 9009;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.loader {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    border: 4px solid #0000;
    border-radius: 50%;
    border-right-color: #25b09b;
    animation: l15 1s infinite linear;
}

.loader::before,
.loader::after {
    content: "";
    grid-area: 1/1;
    margin: 2px;
    border: inherit;
    border-radius: 50%;
    animation: l15 2s infinite;
}

.loader::after {
    margin: 8px;
    animation-duration: 3s;
}

@keyframes l15 {
    100% {
        transform: rotate(1turn)
    }
}

/*//////*/

/* loggin */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    position: relative;
}

.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.6);
    /* ความโปร่งใสของฟอร์ม */
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(10px);
    /* เพิ่มความเบลอเบาๆ */
    z-index: 1;
    /* ให้ฟอร์มอยู่ด้านบนสุด */
}

.login-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #007bff;
    text-transform: uppercase;
}

/*//////*/

/* Custom Input*/
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/*//////*/

:root {
    --nav-height: 73px;
    --footer-height: 65px;
    --gap: 3rem;
    --margin-x: 3rem;
}

body {
    font-family: 'Kanit';
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin: 0;
    padding: 0;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.navbar-custom {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

.nav-link-custom {
    color: #6c757d !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem !important;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-link-custom:hover {
    color: #667eea !important;
    background: rgba(255, 255, 255, 0.7);
}

.nav-link-custom.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-gradient-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-gradient-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: white;
}

.main-footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 4px 0 20px rgba(102, 126, 234, 0.1);
    height: var(--footer-height);
}

.feature-badge {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    color: #667eea;
    font-weight: 600;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    border: none;
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-shadow {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stats-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.icon-container {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.icon-container:hover {
    transform: scale(1.1);
}

.icon-container-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #667eea 100%);
}

.icon-container-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.icon-container-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.icon-container-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.icon-container-pink {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

.icon-container-teal {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

@media (max-width: 361px) {}

@media (max-width: 430px) {}

@media (min-width: 482px) {
    .text-sd-start {
        text-align: start !important;
    }
}

@media (min-width: 576px) {}

@media (max-width: 576px) {}

@media (min-width: 768px) {}

@media (max-width: 576px) {
    .px-cs-col-0 {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (min-width: 992px) {
    .nav-bg-lg-gray {
        background-color: rgb(243 244 246 / 0.8);
        border-radius: 1rem;
    }
}

@media (min-width: 816px) {}

@media (min-width: 1200px) {}

@media (min-width: 1400px) {}