/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and page background */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Header styling */
header {
    background-color: #ff5722;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
}

/* Logo styling */
.logo {
    font-size: 24px;
}

/* Menu toggle icon */
.menu-toggle {
    cursor: pointer;
}

/* Search bar */
.search {
    display: flex;
    align-items: center;
}

/* Search input field */
.search input {
    padding: 10px;
    border: none;
    border-radius: 5px;
}

/* Search button */
.search button {
    background-color: #fff;
    color: #ff5722;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    margin-left: 10px;
}

/* User account icon */
.user {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s;
}

/* User icon hover effect */
.user:hover {
    background-color: #007BFF;
    color: #fff;
}

/* User profile image */
.user img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

/* User profile name */
.user span {
    font-weight: bold;
    color: #333;
    transition: color 0.3s;
}

/* Sign-in text */
.sign-in-text {
    display: none;
}

/* Sign-in text visible on hover */
.user:hover .sign-in-text {
    display: inline;
}

/* Sign-in button */
.sign-in-button {
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s;
}

/* Sign-in button hover effect */
.sign-in-button:hover {
    background-color: #0056b3;
}

/* Sidebar styling */
.sidebar {
    width: 0;
    position: fixed;
    top: 0;
    left: -250px;
    background-color: #333;
    height: 100%;
    overflow-x: hidden;
    transition: 0.5s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Sidebar menu list */
.sidebar ul {
    list-style-type: none;
    padding: 20px;
}

/* Sidebar menu list item */
.sidebar ul li {
    margin: 5px;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    transition: 0.3s;
}

/* Sidebar menu list item hover effect */
.sidebar ul li:hover {
    color: #ff5722;
}

/* Main content */
.main-content {
    margin-left: 250px;
    transition: 0.5s;
}

/* Sidebar animation */
.sidebar.active {
    width: 250px;
}

/* Main content animation */
.main-content.active {
    margin-left: 0;
}

/* Page content structure */
main {
    display: flex;
}

/* Email list styling */
.email-list {
    width: 30%;
    background-color: #fff;
    border-right: 1px solid #ccc;
    padding: 20px;
    overflow-y: auto;
    border-radius: 10px;
}

/* Email content styling */
.email-content {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    overflow-y: auto;
    border-radius: 10px;
}

/* Email list item styling */
.email-item {
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 10px;
    cursor: pointer;
    border-radius: 10px;
}

/* Email list item hover effect */
.email-item:hover {
    background-color: #f0f0f0;
}

/* Email sender styling */
.sender {
    font-weight: bold;
}

/* Improved sidebar animation with additional styles */
.sidebar {
    width: 0;
    position: fixed;
    top: 0;
    left: -250px;
    background-color: #333;
    height: 100%;
    overflow-x: hidden;
    transition: 0.5s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Sidebar active state */
.sidebar.active {
    left: 0;
}

/* Additional styles for the sidebar */
.sidebar ul {
    list-style-type: none;
    padding: 20px;
}

/* Sidebar menu item hover effect */
.sidebar ul li:hover {
    color: #ff5722;
}

/* Sidebar header styling */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #333;
    border-bottom: 1px solid #444;
}

/* Sidebar title styling */
.sidebar-title {
    color: #fff;
    font-weight: bold;
}

/* Close sidebar button styling */
.close-sidebar {
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    margin-right: 10px;
}

/* Existing CSS styles here... */

/* Sign-in form styling */
.sign-in-form {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

/* Sign-in form container styling */
.form-container {
    text-align: center;
}

/* Sign-in form input fields */
form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Sign-in form button styling */
form button {
    background-color: #ff5722;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

/* Add this style to make the sign-in button visually prominent on hover */
form button:hover {
    background-color: #ff4316; /* Change color on hover */
}

/* Profile picture label styling */
.profile-picture-label {
    cursor: pointer;
    display: inline-block;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-align: center;
    margin-bottom: 10px;
}

/* Profile picture label hover effect */
.profile-picture-label:hover {
    background-color: #0056b3;
}
