* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #f3f5f7;
  padding: 40px 20px;
}

.container {
  max-width: 900px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

h1 {
  text-align: center;
  color: #1565c0;
  margin-bottom: 30px;
}

h2 {
  margin: 25px 0 15px;
  color: #333;
  border-left: 5px solid #1565c0;
  padding-left: 10px;
}

hr {
  margin: 30px 0;
  border: none;
  border-top: 1px solid #ddd;
}

/* Form */

.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.form-group label {
  width: 260px;
  font-weight: bold;
  color: #444;
}

.form-group input,
.form-group textarea,
.form-group select {
  flex: 1;
  padding: 10px;
  border: 1px solid #bbb;
  border-radius: 6px;
  font-size: 15px;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Buttons */

button {
  padding: 12px 22px;
  margin: 10px 8px 20px 0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: #1565c0;
  color: white;
  font-size: 15px;
  transition: 0.3s;
}

button:hover {
  background: #0d47a1;
}

/* Tables */

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

table th {
  background: #1565c0;
  color: white;
  padding: 12px;
  border: 1px solid #ddd;
}

table td {
  padding: 12px;
  border: 1px solid #ddd;
}

table tr:nth-child(even) {
  background: #f8f8f8;
}

table tr:hover {
  background: #eef5ff;
}

table td:last-child,
table th:last-child {
  text-align: right;
}

/* Grand Total */

table tr:last-child {
  background: #1565c0;
  color: white;
  font-size: 18px;
  font-weight: bold;
}

/* Responsive */

@media (max-width: 768px) {

  .container {
    padding: 20px;
  }

  .form-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-group label {
    width: 100%;
    margin-bottom: 8px;
  }

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

  button {
    width: 100%;
    margin-bottom: 10px;
  }

  table {
    font-size: 14px;
  }

  table th,
  table td {
    padding: 8px;
  }

}


.money-input {
    width: 180px;
    padding: 10px 14px;
    border: 2px solid #1976d2;
    border-radius: 8px;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    text-align: right;
    background: #f8fbff;
    transition: .25s;
}

.money-input:focus {
    border-color: #0d47a1;
    background: white;
    box-shadow: 0 0 8px rgba(25,118,210,.25);
}

.amount{
    font-weight:bold;
    font-size:18px;
    color:#1565c0;
}