/* style.css */
body {
    background-image: url('https://karthik-v202.github.io/Disaster-Wise/src/login.jpg');
    background-size:cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    padding-bottom: 5rem; /* Space for fixed navbar */
    font-family: sans-serif;
}

.search-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem; /* Increased margin */
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 0.5rem 1rem 0.5rem 2.5rem; /* Adjust padding for icon */
    border-radius: 2rem; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    outline: none;
    background-color: #f0f0f0; /* Light gray background */
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: gray;
}

.disaster-history-container {
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    width: 90%;
    max-width: 768px; /* Adjust as needed */
    padding: 1.5rem;
}

.disaster-history h1 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.history-items {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Spacing between history items */
}

.history-item {
    background-color: #f0f0f0;
    border-radius: 1rem;
    padding: 1rem;
    color: #333;
}

.navigation-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0; /* Adjusted padding */
    display: flex;
    justify-content: space-around;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: #555;
}

.nav-item i {
    font-size: 1.25rem; /* Adjusted icon size */
    margin-bottom: 0.25rem;
    color: #555;
}

.nav-item span {
    font-size: 0.85rem; /* Adjusted font size */
    color: #555;
}

.nav-item.active {
    color: #007bff;
}
.nav-item.active i, .nav-item.active span {
    color: #007bff; /* Highlight active item */
}
