
.header {
    display: flex;
    justify-content: space-between; /* This will separate the logo and profile */
    align-items: center; /* This will vertically center align the items */
    padding: 10px;
    position: fixed; /* To keep the header at the top */
    top: 0;
    left: 0;
    right: 0; /* To stretch across the screen */
    z-index: 1000; /* To ensure it's above other content */
}

.logo a {
    text-decoration: none;
    color: #333;
    font-size: 24px;
    font-weight: bold; /* Optionally make the logo text bolder */
}

.profile {
    display: flex;
    align-items: center;
}

.user-details img {
    width: 45px; /* Or the size of your preference */
    height: 45px;
    border-radius: 40%; /* To make the image circular */
    margin-left: 5px; /* Space between the text and image */
    margin-right: 10px;
}


/* Style for the login link */
.profile a {
    text-decoration: none;
    color: #007bff; /* Bootstrap primary color for links, adjust as needed */
    font-weight: bold;
}



.logo-image {
    height: 60px; /* Example size, adjust as needed */
    margin-left: 10px;
    /* Additional styles as needed */
}


.user-details {
    display: flex;
    align-items: center;
    /* Additional styles as needed */
}


.main-content {
    width: 100%;
    max-width: 1200px; /* Or whatever maximum width you prefer */
    margin-top: 70px; /* Adjust this value to match the height of your header */
    padding: 1em; /* Optional: for some spacing */
    box-sizing: border-box; /* To include padding in the width */
    /* ...other styles as needed... */
}


/* Dropdown Menu Styles */
.dropdown-content {
    display: none;
    position: absolute;
    right: 10px; /* Adjust based on your layout */
    background-color: #ffffff; /* Light background for the dropdown */
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    border-radius: 4px; /* Rounded corners */
    overflow: hidden; /* Ensures nested elements adhere to border radius */
    top: 60px; /* Adjust based on the height of your header */
    z-index: 1;
}

/* Dropdown Link Styles */
.dropdown-content a {
    color: #333; /* Dark color for contrast */
    padding: 12px 16px; /* Ample padding for touch targets */
    text-decoration: none; /* Removes underline from links */
    display: block; /* Ensures full-width link areas */
    transition: background-color 0.2s; /* Smooth transition for hover state */
}

.dropdown-content a:hover {
    background-color: #f6f6f6; /* Slight background change on hover */
}

/* Enhancements for Logout Icon */
.dropdown-content a.logout-link {
    color: #D32F2F; /* Slightly more intense color for logout to indicate action */
}

.dropdown-content a.logout-link:hover {
    background-color: #fce4e4; /* Light red background on hover for logout link */
}

/* Logout Icon */
.logout-icon {
    margin-right: 8px; /* Space between icon and text */
    vertical-align: middle; /* Aligns icon with text */
}


.dropdown-content.show {
    display: block;
}
