/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
}

body {
    display: flex;
    background-color: #f5f5dc; /* Beige background color */
    height: 100vh;
}

.sidebar {
    width: 60px;
    height: 100vh;
    background-color: #333; /* Dark gray sidebar */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
}

.sidebar-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
    justify-content: center; /* Vertically centers icons */
}

.sidebar-icons a {
    display: block;
    margin: 15px 0;
}

.sidebar-icons img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1); /* White icons */
    transition: filter 0.3s, transform 0.3s; /* Smooth transition effects */
}

/* Active page icon styling */
.sidebar-icons a.active img {
    filter: brightness(0.4); /* Darker brightness for active icon */
}

/* Hover effect: Subtle glow and scaling effect */
.sidebar-icons a:hover img {
    transform: scale(1.05); /* Slight zoom */
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5)) brightness(1.3); /* Glow effect */
}

.content {
    margin-left: 80px;
    padding: 40px;
    width: calc(100% - 80px); /* Adjust width to avoid sidebar */
    color: white;
}

h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Update Section and Notifications Styling */
.update-section,
.notification {
    margin-bottom: 10px; /* Space between notifications */
}

/* Styling for the update section */
.update-section {
    background-color: #222; /* Dark gray background */
    padding: 20px;
    border-radius: 10px;
    color: #fff;
}

.update-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.update-section p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #bbb; /* Light gray text */
}

.update-section ul {
    list-style-type: none; /* Remove list bullets */
    padding-left: 0;
    margin-bottom: 10px;
}

.update-section ul li {
    margin-bottom: 5px;
    line-height: 1.6;
}

/* Notification styling */
.notification {
    display: flex;
    align-items: center;
    background-color: #222;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Light shadow for notifications */
}

.notification-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Circular avatar */
    margin-right: 15px;
}

.notification p {
    flex: 1;
    margin: 0;
    color: #bbb; /* Light gray text */
}

.notification-buttons {
    display: flex;
    gap: 10px; /* Space between buttons */
}

/* Confirmation button styling */
.confirm-button {
    background-color: #4CAF50; /* Green button */
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Decline button styling */
.decline-button {
    background-color: #D9534F; /* Red button */
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Hover effects for buttons */
.confirm-button:hover {
    background-color: #45a049; /* Darker green shade */
}

.decline-button:hover {
    background-color: #c9302c; /* Darker red shade */
}

/* Tooltip styling */
.sidebar-icons a {
    position: relative;
}

.sidebar-icons a:hover::after {
    content: attr(data-tooltip); /* Display tooltip text */
    position: absolute;
    left: 57px; /* Position tooltip to the right of the icon */
    top: 50%;
    transform: translateY(-50%);
    background-color: #444; /* Dark background */
    color: #fff; /* White text */
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Soft shadow */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1;
}

/* Arrow styling */
.sidebar-icons a:hover::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 48px; /* Center the arrow relative to the icon */
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #444; /* Arrow pointing left */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1;
}

/* Display tooltip and arrow on hover */
.sidebar-icons a:hover::after,
.sidebar-icons a:hover::before {
    opacity: 1;
    visibility: visible;
}
