body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    height: 100vh;
}
.header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.balance {
    margin-left: 20px;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    background-color: #fff;  /* Light background for the container */
    border: 1px solid #ccc;  /* Border around the grid to define it better */
    padding: 10px;           /* Padding around the grid */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    width: auto;             /* Auto width based on content */
}

.grid {
    display: grid;
    grid-template-columns: repeat(6, 100px); /* Set for 6 columns */
    grid-template-rows: repeat(15, 25px); /* Set for 15 rows */
    gap: 1px; /* Smaller gap to mimic Excel */
    background-color: #f8f8e8; /* Background color for the gaps, looks like grid lines */
}

.cell {
    background-color: #fff; /* White cells */
    border: 1px solid #ddd; /* Light grey border for each cell */
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Courier New', Courier, monospace; /* Monospaced font for uniformity */
    cursor: text; /* Cursor as pointer to indicate interactivity */
    color: #333; /* Darker text for better readability */
}

.green-cell {
    background-color: #90ee90; /* Light green to indicate values under current balance */
}

.header-cell {
    background-color: #e8e8e8; /* Light grey background for headers */
    color: #000;               /* Black text for contrast */
    font-weight: bold;         /* Make header text bold */
    text-align: center;        /* Center-align the text */
    border: 1px solid #ccc;    /* Consistent border with the rest of the grid */
}

form {
    margin-top: 20px;
}
input[type="text"] {
    padding: 10px;
    font-size: 1em;
    margin-bottom: 10px;
    width: 80%;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
input[type="submit"] {
    padding: 10px 20px;
    font-size: 1em;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
input[type="submit"]:hover {
    background-color: #0056b3;
}
