html, body {
    height: 100%;
    overflow: hidden; /* NGĂN TOÀN BỘ WINDOW SCROLL */
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f2f2f2;
}

header {
    background: #1e88e5;
    color: white;
    padding: 14px 20px;
    font-size: 22px;
    font-weight: bold;
}

#controls {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: white;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
    align-items: center;
}

#map {
    height: calc(100vh - 150px);
    width: 100%;
}

.btn {
    background: #1e88e5;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: bold;
}

.btn:hover {
    background: #1565c0;
}

gmp-place-autocomplete {
    width: 300px;
}

#status {
    margin-left: 20px;
    font-size: 14px;
    color: #444;
}

#status-container {
    margin-top: 8px;
    line-height: 1.4;
    font-size: 14px;
}

#w3w-wrapper {
    margin-top: 4px;
    display: flex;
    gap: 8px;
    font-weight: 500;
}

#w3w-wrapper span,
#w3w-wrapper span a {
    color: #0077cc;
    cursor: pointer;
    font-weight: 500;
}

#w3w-wrapper span:hover,
#w3w-wrapper a:hover {
    text-decoration: underline;
}

.open-goc-nho::before {
    content: "🔗 ";
}

.open-w3w-map::before {
    content: "🧭 ";
}

.search-container {
    position: relative;
    display: inline-block;
}

.search-input {
    padding: 10px 12px;
    width: 260px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.suggestions-box {
    position: absolute;
    top: 40px;
    width: 260px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    display: none;
    z-index: 1000;
}

.suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
}

.suggestion-item:hover {
    background: #f0f0f0;
}

.w1 { color: #d93025; }   /* red-ish */
.w2 { color: #1a73e8; }   /* blue */
.w3 { color: #fbbc04; }   /* yellow */


#status { font-size: 14px; margin-bottom: 4px; }
#address-line { font-size: 12px; color: #888; }

.place-address {
    font-size: 11px;
    color: #777;
}

.three-words {
    font-size: 14px;
    font-weight: 600;
}

.aura-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: rgba(0,0,0,0.2);
    transition: background 0.4s ease;
}

.day-night-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 28px;
    pointer-events: none;
}