:root {
    --lok-green: #198754;
    --lok-dark: #121212;
    --lok-gray: #f8f9fa;
}
*:where(:not(ion-icon):not(.bi)) {
    border-radius: 1rem!important;
}

/* Hide scrollbar but keep scrolling */
/* Chrome, Safari, Opera, Edge (Chromium) */
div::-webkit-scrollbar {
    display: none;
}

html,
body {
    overflow: auto;
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE & old Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;              /* Chrome, Safari, Edge */
}


/* bootstrap mods */

.btn-outline-primary {
  color: #0d6efd;
  border-color: #0d6efd;
}
.btn-outline-primary:hover {
  color: #fff;
  background-color: var(--lok-green);
  border-color: var(--lok-green);
}
.card {
    border-radius: 1rem;
}
.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: var(--lok-green);
}
/* end bootstrap mods */


body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8f9fa;
    color: var(--lok-dark);
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
.app-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    /*max-width: 480px; /* Constrain to mobile width aspect ratio */*/
    margin: 0 auto;
    width: 100%;
    background: #ffffff;
    position: relative;
}
.bg-lok {
    background-color: var(--lok-green);
}
.text-lok {
    color: var(--lok-green);
}
.btn-lok {
    background-color: var(--lok-green);
    color: #ffffff;
    border-radius: 30px;
    padding: 12px;
    font-weight: 600;
    width: 100%;
    border: none;
    transition: opacity 0.2s ease-in-out;
}
.btn-lok:hover {
    opacity: 0.9;
    color: #ffffff;
    background-color: #0d5e38;
}
.form-control-lok {
    border: 1px solid #ced4da;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
}
.form-control-lok:focus {
    border-color: var(--lok-green);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.search-bar-wrapper {
    border-radius: 4rem!important;
    box-shadow: 0px 3px 3px 0 rgb(13 71 44 / 44%)!important;
}
.search-bar-wrapper *:hover, .search-bar-wrapper *:focus {
    outline: 0;
    box-shadow: none;
}


/* Top Navigation Header */
.top-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #f1f3f5;
}
.notification-btn {
    position: relative;
    background: var(--lok-gray);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lok-dark);
}
.notification-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background-color: #dc3545;
    border-radius: 50%;
}
/* Floating Bottom Nav Bar */
.floating-bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 65px;
    border-radius: 35px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.03);
}
.nav-item-lok {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #8e8e93;
    font-size: 11px;
    font-weight: 500;
    transition: color 0.2s ease;
}
.nav-item-lok ion-icon {
    font-size: 24px;
    margin-bottom: 2px;
}
.nav-item-lok.active {
    color: var(--lok-green);
}




#map {
    height: 45vh;
    width: 100%;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}
.bottom-sheet {
    flex: 1;
    overflow-y: auto;
    background: #f8f9fa;
    padding: 20px;
}
.asset-card {
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}