* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Lucida Sans', Geneva, Verdana, sans-serif;
}
.navbar {
    position: absolute;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), transparent);
    top: 0;
    left: 0;
    right: 0;
    z-index: 7;
    display: flex;
    align-items: center; 
    justify-content: space-between;
    padding: 0 20px; 
    background-color: transparent;
}
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.navbar-brand img {
    height: 65px;
    width: auto;
    object-fit: contain;
    display: block;
    background: transparent;
}
.navbar-brand .brand-text {
    font-weight: bold;
    font-size: 1rem;
    color: #000000;
}
.navbar-menu {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
}
.navbar-menu a {
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}
.navbar-menu a:hover {
    color: #8affa2;
}
.navbar-menu a.active {
    border-bottom: none;
    color: #1f7909;
}
.navbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-login {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}
.btn-login-nav {
    display: inline-flex;
    align-items: center;
    gap: 20px; 
    background: none;
    border: none;
    color: #100d0d;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    line-height: normal;
}
.btn-login-nav i {
    display: inline-flex;
    align-items: center;
}
.login-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: #ffffff;
    border: 1px solid #dedddd;
    border-radius: 8px;
    padding: 16px;
    width: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
}
.login-dropdown.show {
    display: block;
}
.login-dropdown input {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}
.btn-submit-login {
    width: 100%;
    padding: 8px;
    background: #4c504c;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-submit-login:hover {
    background: #1a1e1a;
}
.map-page {
    position: relative;
    width: 100%;
    height: 100vh;
}
#map {
    width: 100%;
    height: 100%;
    z-index: 1;
}
.leaflet-top.leaflet-right {
    top: 100px;
    right: 10px;
}
.control-panel {
    position: absolute;
    top: 50pt;
    left: 10pt;
    width: 280px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.14);
    z-index: 1000;
    overflow: hidden;
}
.panel-header {
    padding: 16px 18px;
    font-size: 15px;
    text-align: center;
    font-weight: 700;
    color: #111827;
    background: #f5f6fd;
    border-bottom: 1px solid #e5e7f5;
}
.panel-group {
    padding: 16px 18px;
    border-bottom: 1px solid #eceef3;
}
.panel-group:last-child {
    border-bottom: none;
}
.panel-label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #6b7280;
    text-transform: uppercase;
}
.year-group {
    display: flex;
    gap: 6px;
}
.year-btn {
    flex: 1;
    padding: 8px 0;
    border: 1px solid #dfe2ee;
    background: #ffffff;
    color: #374151;
    font-weight: 600;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.15s ease;
}
.year-btn:hover {
    background: #f0f1fb;
    border-color: #c7cbe8;
}
.year-btn.active {
    background: #4338ca;
    color: #ffffff;
    border-color: #4338ca;
}
.checkbox-row {
    padding-top: 4px;
    display: flex;
    align-items: center;
    font-weight: 600;
    gap: 8px;
    font-size: 13.5px;
    color: #374151;
    margin-bottom: 10px;
    cursor: pointer;
}
.checkbox-row:last-child { margin-bottom: 0; }
.checkbox-row input {
    width: 16px;
    height: 16px;
    accent-color: #4338ca;
    cursor: pointer;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
.pertanian { background: #d2be08; }
.terbangun { background: #ff6562; }
.vegetasi  { background: #4caf50; }
.btn-tampilkan {
    width: calc(100% - 36px);
    margin: 18px;
    padding: 11px;
    background: #4338ca;
    color: #ffffff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.15s ease;
}
.btn-tampilkan:hover {
    background: #312e81;
}
.navbar-login {
    position: relative;
}
.login-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: #ffffff;
    border: 1px solid #dedddd;
    border-radius: 8px;
    padding: 16px;
    width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
}
.login-dropdown.show {
    display: block;
}
.login-dropdown input {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}
.btn-submit-login {
    width: 100%;
    padding: 8px;
    background: #59789f;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}
.btn-submit-login:hover {
    background: #46627f;
}