body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container, .dashboard-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    margin: 0; /* Ensure no extra margin */
}

.login-container form {
    margin: 0; /* Ensure no extra margin inside the form */
    padding: 0; /* Ensure no extra padding inside the form */
}

input, textarea, button {
    width: calc(100% - 20px); /* Adjust width to account for padding */
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensure padding and border are included in the width */
}

button {
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

.calendar-controls {
    margin-bottom: 20px;
}

#calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
}

.day.taken {
    background-color: #ffcccc;
}

.day.selected {
    background-color: #ccffcc;
}

/* Add this to your existing styles */
.dashboard-container {
    position: relative; /* Ensure the logout button is positioned relative to this container */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 800px;
    text-align: center;
    margin: 0 auto; /* Center the container */
}

.logout-button {
    position: absolute;
    top: 20px; /* Adjust top position */
    left: calc(110% - 200px); /* Center horizontally */
    transform: translateX(-50%); /* Adjust for exact centering */
    padding: 8px 16px;
    background-color: #ffffff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 200px;
}

.logout-button:hover {
    background-color: #c82333;
}

/* Ensure the welcome title has enough space */
.dashboard-container h2 {
    margin-top: 60px; /* Add space above the welcome title to avoid overlap */
    margin-bottom: 20px; /* Add space below the welcome title */
}

/* Add this to your existing styles */
.day.weekend {
    background-color: #f0f0f0; /* Light gray background for weekend days */
    color: #666; /* Darker text color for better contrast */
}

.day.taken.weekend {
    background-color: #ffcccc; /* Light red background for taken weekend days */
    color: #666;
}

/* Add this to your existing styles */
.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

.weekdays div {
    padding: 10px;
    background-color: #f8f9fa; /* Light gray background for weekday names */
    border-radius: 4px;
}

.day.weekend {
    background-color: #f0f0f0; /* Light gray background for weekend days */
    color: #666; /* Darker text color for better contrast */
}

.day.taken.weekend {
    background-color: #ffcccc; /* Light red background for taken weekend days */
    color: #666;
}

/* Remove styles for the "Cancel PTO" button */
#cancelPTO {
    display: none; /* Hide the button */
}

/* Add this to your existing styles */
.button-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.change-password-button, .logout-button {
    width: 200px; /* Fixed width for both buttons */
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.change-password-button {
    background-color: rgba(0,0,255,0.4); /* Blue color for Change Password */
    color: white;
}

.change-password-button:hover {
    background-color: #0056b3;
}

.logout-button {
    background-color: rgba(255,0,0,0.4); /* Red color for Logout */
    color: white;
}

.logout-button:hover {
    background-color: #c82333;
}

/* Overlay for password change success */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.overlay-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.overlay-content button {
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.overlay-content button:hover {
    background-color: #0056b3;
}