/* main.css */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #e0f7fa; /* consistent background */
}

/* Make main content stretch to fill space */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* fill remaining vertical space */
    padding: 1rem 2rem; /* a bit more horizontal padding */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #006064;
    color: #b2ebf2;
    border-bottom: 2px solid #004d52;

    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
    text-align: left;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

header .home-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b2ebf2;
    text-decoration: none;
}

header .home-link:hover {
    text-decoration: underline;
}

header .header-logo {
    width: 32px;
    height: 32px;
}

header .button-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

header .location-button {
    background-color: #00acc1;
    color: white;
    border: none;
    padding: 0.45rem 0.9rem;
    border-radius: 5px;
    font-size: 0.95rem;
    cursor: pointer;
}

header .location-button:hover {
    background-color: #00838f;
}

footer {
    background-color: #b2ebf2; /* soft teal tone */
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #80cbc4;
    border-top: 1px solid #80cbc4;
    font-size: 0.9rem;
    color: #004d52;
}

/* Page title */
h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #004d52;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Map container styling */
#map-container {
    width: 90%;
    max-width: 1000px;
    height: 400px;
    margin: 0 auto 30px auto;
    border: 2px solid #006064;
    border-radius: 8px;
    overflow: hidden;
    background-color: #e0f7fa;
}

#map-container > div {
    width: 100% !important;
    height: 100% !important;
}

/* Weather Warning Panel */

#warning-panel {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto 2rem auto;
    padding: 1rem 1.25rem;
    border-radius: 8px;

    background: #f1fbfd;          
    border: 2px solid #80cbc4;
    box-shadow: 0 2px 6px rgba(0, 96, 100, 0.08);
}

#warning-panel h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    color: #004d52;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Individual warning rows */
.warning {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0.6rem 0.75rem;
    margin-bottom: 0.4rem;
    border-radius: 6px;

    font-size: 0.95rem;
    font-weight: 500;
    background: #e0f7fa;     
    color: #004d52;
    border-left: 6px solid #006064;
}

.warning:last-child {
    margin-bottom: 0;
}

/* High temperature */
.warning-high {
    border-left-color: #d84315;   
    background: #fff3e0;
    color: #8d3c00;
}

/* Low temperature */
.warning-low {
    border-left-color: #0277bd;   
    background: #e1f5fe;
    color: #01579b;
}

/* No data */
.warning-no-data {
    border-left-color: #757575;
    background: #f5f5f5;
    color: #616161;
    font-style: italic;
}

/* Buttons */
/* .button-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.location-button {
    background-color: #006064;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.location-button:hover {
    background-color: #004d52;
} */
