body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

select, input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}

.hidden {
    display: none;
}

#invoicePreview {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#headerLogo {
    max-height: 120px;
    width: auto;
    object-fit: contain;
    margin-left: 20px;
}

.header h1 {
    font-size: 2em;
    margin-right: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logout-btn {
    background-color: #f44336;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.logout-btn:hover {
    background-color: #da190b;
}

.charges-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.charges-table th,
.charges-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

/* Updated header styles */
.charges-table tr:first-child,
.charges-table tr:first-child th,
.table-header,
.table-header th {
    background-color: #4CAF50 !important;
    color: white !important;
}

.charges-table .total-row {
    background-color: #f9f9f9;
    border-top: 2px solid #ddd;
}

.charges-table td:last-child,
.charges-table th:last-child {
    text-align: right;
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

#loginLogo {
    max-height: 100px;
    margin-bottom: 20px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-form .form-group {
    margin-bottom: 0;
}

.login-form input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-form button {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.login-form button:hover {
    background-color: #45a049;
}

.admin-menu {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.admin-menu h2 {
    color: #333;
    margin-bottom: 30px;
}

.menu-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4CAF50;
    color: white;
    padding: 30px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.2s, background-color 0.2s;
}

.menu-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.menu-btn span {
    text-align: center;
}