*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: url('/mnt/data/image.png') no-repeat center center/cover;
    color: #333;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #f9f9f9, #eaeaea), url('/mnt/data/image.png') no-repeat center center/cover;
    color: #333;
    line-height: 1.6;
}

header {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 80px;
    margin-bottom: 10px;
    filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.3));
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Layout */
main {
    width: 90%;
    max-width: 1000px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 12px;
}

section {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
}

/* Search Bar */
#search-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
}

#search-box {
    flex-grow: 1;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #007bff;
    border-radius: 8px;
    outline: none;
}

#search-btn {
    padding: 12px 20px;
    font-size: 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

#search-btn:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* Map */
#map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    margin-top: 15px;
}

/* Weather Info */
#weather-info {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px;
}

#weather-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Add rounded edges for a polished look */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

#weather-info p {
    font-size: 1.2rem;
    color: #555; /* Softer text color for better readability */
    margin: 5px 0; /* Add spacing between paragraphs */
}

/* Alerts & Shelters */
#alert-message {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid #ff8800;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a shadow for depth */
    margin-bottom: 15px; /* Add spacing between messages */
}

#shelter-message {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid #ff8800;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a shadow for depth */
    margin-bottom: 15px; /* Add spacing between messages */
}

.shelter {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    text-align: center;
}

.shelter h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.shelter p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
}

.shelter-photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-top: 10px;
    display: block;
    object-fit: cover;
}

/* Footer */.shelter {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.shelter a {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: block;
}

.shelter p {
    font-size: 0.9rem;
    color: #555;
    margin-top: 5px;
}
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    font-size: 1rem;
    border-radius: 10px; /* Rounded corners for a modern look */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Add a shadow for depth */
    letter-spacing: 0.5px; /* Slightly increase letter spacing */
}

/* Responsive */
@media (max-width: 768px) {
    main {
        padding: 20px;
    }

    #weather-info {
        flex-direction: column;
        align-items: flex-start;
    }

    #weather-icon {
        margin-bottom: 10px;
    }

    footer {
        font-size: 0.9rem; /* Adjust footer font size for smaller screens */
    }
}

#chatbot-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 400px;
    height:500px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1000;
    background-color: #fff;
}

#chatbot-frame {
    width: 100%;
    height: 100%;
    border: none;
}
