body {
  font-family: 'Inter', sans-serif;
}

header {
  background-color: black;
  color: white;
  padding: 5px;
  text-align: center;
}

h1 {
  color: blue;
}

h2 {
  color: blue;
  text-decoration: underline;
}

header a {
  font-size: 40px;
  color: white;
  text-decoration: none;
}

nav a {
  font-size: 15px;
  padding: 10px;
  color: white;
}

.container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 50%;
  margin-bottom: 1rem;
}

.table-container {
  display: flex;
  flex-wrap: wrap;
}

.table1,
.table2 {
  border-collapse: collapse;
  margin-right: 20px;
  flex: 1 1 45%;
}

.table1 th,
.table1 td,
.table2 th,
.table2 td {
  border: 1px solid black;
  padding: 8px;
}

@media screen and (max-width: 600px) {
  .table1,
  .table2 {
    margin-right: 0;
    margin-bottom: 20px;
    flex: 1 1 100%;
  }
}

.left-align {
  width: 240px;
}

tr:nth-child(even) {
  background-color: lightgray;
}

tr td {
  text-align: right;
  padding: 10px;
  font-size: 14px;
}

input {
  text-align: right;
  padding: 3px;
}

.left-align {
  text-align: left;
  width: 500px;
}

tr {
  height: 40px;
}

button {
  background-color: green;
  font-size: 20px;
  color: white;
  border-radius: 8px;
  padding: 10px;
}

.salary-amount {
  font-weight: 600;
  margin: 6px 0;
  color: #111;
  font-size: 15px;
}

.deduction-details {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed #ccc;
  font-size: 15px;
  font-weight: 500;
  color: #222;
}

.deduction-details span {
  font-weight: 600;
  color: #222;
}

.result-label {
  font-weight: 600;
  color: #222;
}

.results-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
  font-family: 'Arial', sans-serif;
}

.result-box {
  flex: 1;
  min-width: 300px;
  max-width: 360px;
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  font-size: 14px;
  color: #222;
  border-left: 4px solid transparent;
}

.result-box.old-regime {
  border-left-color: #1e40af;
  background: #f5f9ff;
}

.result-box.new-regime {
  border-left-color: #166534;
  background: #f3fcf4;
}

.result-box h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
  color: #222;
}
.recommendation-box {
  text-align: left; /* Align text left for better readability */
  margin: 20px auto; /* Adjust margins for spacing */
  padding: 20px; /* Increase padding for a spacious feel */
  background-color: #f9f9f9; /* Very light gray background */
  color: #333; /* Dark gray text for a modern look */
  border-radius: 8px; /* Slightly rounded corners */
  max-width: 85%; /* Adjust max-width for better responsiveness */
  font-size: 14px;
  font-weight: 500; /* Medium font weight for readability */
  width: 100%;
  border: 1px solid #eee; /* Very subtle light gray border */
  box-sizing: border-box; /* Include padding and border in width */
  line-height: 1.6; /* Improve line spacing */
  clear: both;
}

.recommendation-box ul {
  list-style-type: none; /* Remove default list bullets */
  padding-left: 0; /* Remove default list padding */
}

.recommendation-box li {
  font-size: 13px; /* Slightly increase list item font size */
  margin-bottom: 8px; /* Add space between list items */
  position: relative; /* For custom bullet styling */
  padding-left: 15px; /* Add padding for custom bullet */
}

.recommendation-box li::before {
  content: '•'; /* Use a simple dot as a bullet */
  position: absolute;
  left: 0;
  color: #888; /* Light gray bullet color */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .recommendation-box {
    max-width: 95%; /* Adjust max-width on smaller screens */
    padding: 15px; /* Reduce padding on smaller screens */
  }
}

/* Responsive Fix */
@media screen and (max-width: 768px) {
  .recommendation-box {
    width: 95%; /* Slightly reduced for mobile screens */
  }
}

#new-results-container {
  min-height: 100px;
}

.salary-amount {
  font-size: 1.2em;
  color: #2d3748;
  margin: 10px 0;
}
