body {
    font-family: 'IBM Plex Sans Thai', sans-serif !important;
    /* background-color: #e7f1ee !important; */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'IBM Plex Sans Thai', sans-serif !important;
    font-weight: 700 !important;
}

.bg-login {}

.login-msg-box {
    padding: 1rem;
    background-color: #ffffff !important;
    border-radius: 30px;
}

.text-logo {
    font-weight: 700 !important;
}

.navbar-emerald-teal {
    background: linear-gradient(90deg, #34495e, #2ecc71, #1abc9c) !important;
}

.sidebar-logo-emerald {
    background: #34495e !important;
    color: #ffffff !important;
    font-family: 'IBM Plex Sans Thai', sans-serif !important;
    font-weight: 700 !important;
}

.sidebar-bg {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 50%, #1abc9c 100%);
    color: #fff !important;
}

.sidebar a {
    color: #fff !important;
}

.btn {
    border-radius: 2rem !important;
}

.text-no-service {
    color: #7f8c8d !important;
}

.text-desc {
    color: #34495e !important;
    font-weight: 500;
    font-size: 1rem;
}

hr.hr-soft {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(52, 73, 94, .25), rgba(0, 0, 0, 0));
}

/* TILE MENU */
.tile-card-normal {
    display: block;
    width: 100%;
    border: 0;
    background: linear-gradient(135deg, #17a2b8 0%, #0c5460 100%);
    color: #083c2b;
    border-radius: 1rem;
    padding: 1rem 1rem .75rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(16, 185, 129, .25), inset 0 0 0 1px rgba(255, 255, 255, .2);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    text-decoration: none;
}

.tile-card-normal:hover,
.tile-card-normal:focus {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(16, 185, 129, .35), inset 0 0 0 1px rgba(255, 255, 255, .25);
    filter: saturate(1.05);
    text-decoration: none;
    outline: none;
}

.tile-card {
    display: block;
    width: 100%;
    border: 0;
    background: linear-gradient(135deg, #34d399 0%, #10b981 60%, #059669 100%);
    color: #083c2b;
    border-radius: 1rem;
    padding: 1rem 1rem .75rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(16, 185, 129, .25), inset 0 0 0 1px rgba(255, 255, 255, .2);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    text-decoration: none;
}

.tile-card:hover,
.tile-card:focus {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(16, 185, 129, .35), inset 0 0 0 1px rgba(255, 255, 255, .25);
    filter: saturate(1.05);
    text-decoration: none;
    outline: none;
}

.tile-body {
    min-height: 120px;
    padding: .5rem .5rem 0;
}

.tile-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    -webkit-filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .15));
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .15));
}

.tile-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.tile-footer {
    margin-top: .6rem;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: .75rem;
    padding: .3rem .5rem;
}

/* @media (prefers-color-scheme: dark) {
    .tile-card {
        color: #ecfffa;
    }

    .tile-title,
    .tile-footer {
        color: #ecfffa;
        font-size: 1rem;
    }
} */

/* MAP */
#map {
    margin-top: 1rem;
    height: 320px;
    border-radius: .5rem;
}

/* Widget */

.add-widget-tile {
    border: 2px dashed #6c757d;
    border-radius: 12px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .15s;
    background: #fff;
}

.add-widget-tile:hover {
    background: #f8f9fa;
    border-color: #17a2b8;
}

.widget-card {
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    padding: 16px;
    min-height: 120px;
}

.widget-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #34495e;
}

.widget-value {
    font-size: 1.8rem;
    line-height: 1;
}

.widget-unit {
    font-size: .9rem;
    color: #6c757d;
}

.drag-handle {
    cursor: grab;
    opacity: .6;
}

.sortable-ghost {
    opacity: .3;
}

/* ADMIN2025 */
.menu-grid .tile-link {
    text-decoration: none;
}

.menu-grid .tile {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
    padding: 18px;
    transition: .18s ease;
    height: 100%;
    border: 1px solid #edf2f7;
}

.menu-grid .tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(17, 24, 39, .08);
}

.menu-grid .tile .tile-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f6fb, #e9eef6);
    margin-right: 12px;
    flex: 0 0 44px;
}

.menu-grid .tile .tile-title {
    font-weight: 600;
    color: #34495e;
    margin: 0;
}

.menu-grid .tile .tile-desc {
    color: #6c757d;
    font-size: .9rem;
    margin: 2px 0 0 0;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 999px;
    padding: .35rem .75rem;
    box-shadow: 0 4px 12px rgba(17, 24, 39, .06);
}

.user-chip i {
    color: #17a2b8;
}

/* OVERRIDE */

.navbar-light .navbar-nav .nav-link {
    color: #fff !important;
}

.brand-link {
    border-bottom: none !important;
}

.user-panel {
    border-bottom: none !important;
}