body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

h1, h2 {
    text-align: center;
    color: #0056b3;
}

h1 {
    margin-bottom: 5px;
}

h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: normal;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="number"],
select,
textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

form input, form select, form textarea {
    width: 100%;
}

div[style*="flex"] input,
div[style*="flex"] select,
div[style*="flex"] button {
    margin-bottom: 0;
}

button {
    padding: 10px 16px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button.full-width,
#loginForm button,
#timesheet-form button[type="submit"],
#cancel-edit,
#add-expense,
#export-csv,
#logout {
    width: 100%;
    margin-top: 8px;
}

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

.error {
    color: #d93025;
    text-align: center;
    margin-top: 10px;
}

.hidden {
    display: none;
}

#timesheet-container, #pm-container, #admin-container {
    max-width: 800px;
}

#expense-form {
    background: #eef;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
}

.expense-entry {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.expense-entry:last-child {
    border-bottom: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}
