html, body, #cesiumContainer {

    width:100%;
    height:100%;
    margin:0;
    overflow:hidden;
    font-family:Arial;

}

/* ==========================
   POPUP
========================== */

#popup{

    display:none;
    opacity:0;
    transition:0.5s;

    position:absolute;
    top:100px;
    right:20px;

    width:260px;

    background:rgba(0, 0, 0, 0.65);
    color:white;

    padding:18px;

    border-radius:18px;

    z-index:999;

    backdrop-filter:blur(15px);

    box-shadow:0 0 25px rgba(0,0,0,0.3);

}

#popup h2{

    margin-top:0;
    margin-bottom:10px;

    font-size:22px;

}

#popup p{

    line-height:1.5;
    font-size:14px;

}

/* ==========================
   SIDEBAR
========================== */

#sidebar{

    position:absolute;

    top:20px;
    left:20px;

    width:240px;

    background:rgba(255, 255, 255, 0.404);

    backdrop-filter:blur(15px);

    border-radius:25px;

    padding:20px;

    z-index:999;

    box-shadow:0 0 25px rgb(0, 0, 0);

}

/* TITLE */

#sidebar h1{

    color:rgb(0, 0, 0);

    text-align:center;

    margin-top:0;

    margin-bottom:20px;

    font-size:26px;

}

/* BUTTON */

#sidebar button{

    width:100%;

    margin-bottom:12px;

    padding:14px;

    border:none;

    border-radius:14px;

    background:rgba(255,255,255,0.12);

    color:rgb(0, 0, 0);

    font-size:14px;

    cursor:pointer;

    transition:0.3s;

}

/* HOVER EFFECT */

#sidebar button:hover{

    background:rgba(255,255,255,0.28);

    transform:scale(1.03);

}

/* ==========================
   SEARCH BAR
========================== */

#searchInput{

    width:100%;

    padding:14px;

    margin-bottom:15px;

    border:none;

    border-radius:14px;

    background:rgba(255,255,255,0.12);

    color:rgb(0, 0, 0);

    font-size:20px;

    outline:none;

    box-sizing:border-box;

}

#searchInput::placeholder{

    color:rgba(0, 0, 0, 0.7);

}

/* ==========================
   BOTTOM BANNER
========================== */

.bottom-banner{

    position:fixed;

    bottom:-150px;

    left:6.7%;

    transform:translateX(-50%);

    z-index:999;

}

.bottom-banner img{

    width:250px;

    max-width:90vw;

    height:auto;

}

/* DETAIL BUTTON */

#detailBtn{

    width:100%;

    margin-top:15px;

    padding:12px;

    border:none;

    border-radius:12px;

    background:white;

    color:black;

    font-weight:bold;

    cursor:pointer;

    transition:0.3s;

}

#detailBtn:hover{

    transform:scale(1.03);

    background:#f2f2f2;

}

#detailBtn{

    width:100%;

    margin-top:15px;

    padding:12px;

    border:none;

    border-radius:12px;

    background:white;

    color:rgb(0, 0, 0);

    font-weight:bold;

    cursor:pointer;

    transition:0.3s;

}

#detailBtn:hover{

    transform:scale(1.03);

}

#navBtn{

    width:100%;

    margin-top:10px;

    padding:12px;

    border:none;

    border-radius:12px;

    background:#f10b0b;

    color:white;

    font-weight:bold;

    cursor:pointer;

    transition:0.3s;

}

#navBtn:hover{

    transform:scale(1.03);

}

#refreshMapBtn{

    position:absolute;

    top:4.5px;

    right:200px;

    z-index:999;

    width:45px;

    height:35px;

    border:none;

    border-radius:10px;

    background:rgba(40,40,40,0.8);

    color:white;

    font-size:28px;

    cursor:pointer;

    transition:0.3s;

}

#refreshMapBtn:hover{

    background:rgb(255, 255, 255);

    color:black;

}

#showcaseBtn{

    position:absolute;

    top:4.5px;

    right: 250px;

    z-index:999;

    width:50px;

    height:35px;

    border:none;

    border-radius:12px;

    background:rgba(40,40,40,0.8);

    color:rgb(190, 8, 8);

    font-size:24px;

    cursor:pointer;

    transition:0.3s;

}

#showcaseBtn:hover{

    transform:scale(1.1);

    background:#ffffff;

}

/* ----------------------------------------------------------- */
/* AR VIEWER - MICRO VERSION (LEFT PERMANENT POSITION)         */
/* ----------------------------------------------------------- */

#arPanel {
    /* Position fixed/absolute supaya ia melekat pada koordinat skrin */
    position: absolute;
    
    /* Kedudukan Tetap (Permanent) di sebelah kiri */
    left: 311px; 
    
    /* Jarak dari atas. Adjust nombor ini supaya ia duduk bawah sidebar asal */
    top: 25px; 
    
    /* Saiz Micro */
    width: 140px; 
    
    /* Gaya Glassmorphism Cerah */
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* Design Kotak Melengkung */
    border-radius: 18px;
    padding: 12px 10px;
    
    /* Kekal di atas lapisan peta */
    z-index: 999;
    
    /* Bayang-bayang & Border halus */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    
    /* Susunan Kandungan */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Bahagian Tajuk */
.ar-header {
    text-align: center;
    margin-bottom: 12px;
}

/* Kotak Ikon Atas */
.ar-icon-box {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px auto;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.ar-icon-box svg {
    width: 16px;
    height: 16px;
}

#arPanel h1 {
    color: #000;
    margin: 0;
    font-size: 13px; /* Saiz teks tajuk yang kecil */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Senarai Butang */
.ar-list {
    display: flex;
    flex-direction: column;
    gap: 6px; /* Jarak rapat antara butang */
}

/* Gaya Butang (Curve Box Panjang) */
.arBtn {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #000;
    font-size: 10px; /* Saiz teks butang yang kecil */
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

/* Anak Panah Merah Kecil */
.arBtn span {
    color: #f10b0b;
    font-size: 11px;
    font-weight: bold;
}

/* Efek Hover (Tetap di tempat, cuma warna berubah) */
.arBtn:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(241, 11, 11, 0.3);
    transform: scale(1.03); /* Membesar sikit bila hover */
}

/* Sembunyikan scrollbar jika kandungan terlalu panjang */
#arPanel {
    max-height: 50vh;
    overflow-y: auto;
    scrollbar-width: none;
}
#arPanel::-webkit-scrollbar {
    display: none;
}