/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile {
    text-align: center;
}

.user-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

#user-name {
    font-size: 1.2rem;
    font-weight: bold;
}

#logout-btn {
    margin-top: 20px;
    padding: 10px;
    width: 100%;
    background-color: #ff4444;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
}

#logout-btn:hover {
    background-color: #cc0000;
}

/* Main Content */
.content {
    flex-grow: 1;
    padding: 20px;
    background-color: #fff;
    overflow-y: auto;
}

h2 {
    border-bottom: 2px solid #222;
    padding-bottom: 5px;
    color: #222;
}

/* History Container */
.history-list {
    margin-top: 20px;
}

.history-list h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    color: #444;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    background: #f9f9f9;
    padding: 10px;
    margin: 5px 0;
    border-left: 5px solid #3498db;
    transition: 0.3s;
}

ul li:hover {
    background: #e3f2fd;
}

 .history-section ul {

    background: #f9f9f9;
    padding: 10px;
    margin: 5px 0;
    border-left: 5px solid #3498db;
    transition: 0.3s;
}
.history-section ul li:hover {
    background: #e3f2fd;


}

#delete-history {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

#delete-history:hover {
    background-color: #e60000;
}


#delete-wind-history {
    background-color: #ff4444;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

#delete-wind-history:hover {
    background-color: #e60000;
}

#delete-rain-history {
    background-color: #ff6666;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

#delete-rain-history:hover {
    background-color: #cc0000;
}



 