* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: Trebuchet MS, sans-serif;
    background-color: #F9F6E6;
    line-height: 2em;
  }
  
/* Login screen */
  .login {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .login-screen {
    background-color: #E1EACD;
    border-radius: 12px;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
    width: 70%;
    padding: 2.5em;
    text-align: center;
  }
  
  .login h1 {
    margin-bottom: 2em;
    font-size: xx-large;
  }
  
 /* Header */
  .main-screen {
    display: flex;
    flex-direction: column;
  }
  
  header {
    background-color: #E1EACD;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 5px 0 rgba(0,0,0,0.24), 0 5px 5px 0 rgba(0,0,0,0.19);
    padding: 1.5em;
  }
  
  .page-title {
    font-size: 2.3em;
    padding-left: 0.3em;
    color: #1A4D2E;
    font-weight: bold;
  }
  
  .user {
    gap: 1.5em;
    font-size: large;
    display: flex;
    align-items: center;
    color: #1A4D2E;
    font-weight: bold;
  }
  
/* Page content */
  .main-content {
    padding: 2.5em;
    width: 100%;
    flex: 1;
  }
  
  .balance-alert {
    background-color: white;
    font-size: 2.2em;
    font-weight: bold;
    padding: .75em;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 1em;
  }

  .positive {
    color: #399918;
  }
  
  .negative {
    color: #D84040;
  }
  
  .neutral {
    color: black;
  }
  
/* Add expense section */
  .add-expenses {
    background-color: #E1EACD;
    padding: 2em;
    border-radius: 12px;
    margin-bottom: 4em;
  }
  
  .add-expenses h2 {
    color: #1A4D2E;
    margin-bottom: 1em;
    font-size: xx-large;
  }
  
  /* Common Expense Options */
  .common-expenses {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-bottom: 1em;
  }
 
  /* New Expense Info */
  .expense-form {
    display: flex;
    flex-direction: column;
    gap: 1em;
  }
  
  .form-row-of-info {
    display: flex;
    gap: 5em;
  }
  
  .form-info {
    flex: 1;
  }
  
  .form-info label {
    margin-bottom: 0.5em;
    font-weight: bold;
    display: block
  }

  input, select {
    padding: 8px;
    border: 1px solid #1A4D2E;
    border-radius: 12px;
    font-size: 1em;
    background-color: #F9F6E6;
    width: 100%;
  }
  
  /* Amount input with currency selection */
  .amount-input {
    display: flex;
  }
  
  .currency {
    width: 50px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: #1A4D2E;
  }
  
  .amount-input input {
    flex: 1;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  
  [type="submit"] {
    background-color: #1A4D2E;
    color: white;
    border: #1A4D2E;
    padding: 10px;
    border-radius: 12px;
    font-size: 1em;
    cursor: pointer;
    margin-top: 1em;
    transition: 0.4s;
  }
  
  
  /* Expenses list */
  
  .expense-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .expense-history h2 {
    color: #1A4D2E;
    margin-bottom: .75em;
    font-size: xx-large;
  }
  
  .expenses-list {
    display: flex;
    flex-direction: column;
    gap: 1em;
  }
  
  .expense-title {
    color: #1A4D2E;
    font-size: 1.45em;
  }
  
  .expense-details {
    color: #5d5d5d;
    font-size: 1em;
    display: flex;
    flex-wrap: wrap;
  }
  
  .expense-item {
    border: 1px solid #1A4D2E;
    border-radius: 12px;
    position: relative;
    padding: 1em;
    border-radius: 12px;
  }
  
  [type='date'] {
    font-family: Trebuchet MS, sans-serif;
  }
  
  .filter-buttons {
    display: flex;
    gap: 0.5em;
  }
  
  .login-button, .save-button, .logout-button {
    background-color: #1A4D2E;
    color: white;
    border: #1A4D2E;
    font-size: 1.1em;
    cursor: pointer;
    transition: 0.4s;
    padding: 10px 25px;
    border-radius: 12px;
  }

  .filter-button, .common-expense-button, .delete-button {
    background-color: #F9F6E6;
    color: #1A4D2E;
    border: 1px solid #1A4D2E;
    padding: 7px 14px;
    border-radius: 12px;
    font-size: .9em;
    cursor: pointer;
    transition: 0.4s;
    margin-bottom: 1em;
  }

  .filter-button:hover, .login-button:hover, .logout-button:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  }

  .delete-button:hover, .save-button:hover, [type="submit"]:hover, .common-expense-button:hover {
    background-color: #1A4D2E;
    color: white;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  }

  .filter-button.active {
    background-color: #1A4D2E;
    color: white;
  }