body {
  font-family: Arial, sans-serif;
  padding: 10px;
  background: #f9f9f9;
}
h2,
h3 {
  color: #333;
}
label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}
textarea {
  width: 97%;
  height: 120px;
  padding: 10px;
  font-family: monospace;
  font-size: 14px;
}
select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  box-sizing: border-box;
}
button {
  margin: 10px 5px 10px 0;
  padding: 8px 14px;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  background-color: #0056b3;
}
pre {
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  white-space: pre-wrap;
  overflow-x: auto;
}
.mismatch-item {
  margin-bottom: 12px;
  border: 1px solid #ddd;
  padding: 10px;
  background: #fff;
  border-radius: 4px;
}
.mismatch-item div {
  margin-top: 4px;
}
.fixed-toolbar {
  position: sticky;
  top: 0;
  background: #f9f9f9;
  padding: 10px 0;
  z-index: 999;
  border-bottom: 1px solid #ddd;
}
/* New Table Styles */
.o_account_reports_table,
.coa-table,
.completed-tasks-table,
.duplicate-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 12px;
  background: #fff;
  max-height: 400px; /* Adjust as needed */
  overflow-y: auto;
  display: block; /* Important for overflow to work on tables */
}
.o_account_reports_table th,
.o_account_reports_table td,
.coa-table th,
.coa-table td,
.completed-tasks-table th,
.completed-tasks-table td,
.duplicate-table th,
.duplicate-table td {
  border: 1px solid #ddd;
  padding: 6px;
  text-align: left;
}
.o_account_reports_table th,
.coa-table th,
.completed-tasks-table th,
.duplicate-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}
.o_account_reports_table .number {
  text-align: right;
}
pre,
#table-output,
#nameMismatch,
#duplicateCodes {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ccc;
}
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.button-group button {
  flex: 1 1 auto;
}

.sbu-section {
  margin-top: 20px;
}

.sbu-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 1rem;
}

#sbuCheckboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.sbu-option {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-size: 0.95rem;
}

.sbu-option input[type="checkbox"] {
  transform: scale(1.2);
  accent-color: #007bff;
}

.sbu-option:hover {
  background-color: #e6f0ff;
  border-color: #007bff;
}

.sbu-option input[type="checkbox"]:checked + span {
  font-weight: bold;
  color: #007bff;
}

.container {
    display: flex;
    gap: 20px;
}

.column {
    flex: 1;
}
/* ...existing code... */

/* Card Layout */
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 24px 20px;
  margin-bottom: 24px;
  border: 1px solid #eee;
}

.container {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-top: 24px;
}

.column {
  flex: 1;
  min-width: 320px;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #1a237e;
  letter-spacing: 0.5px;
}

h3 {
  font-size: 1.1rem;
  margin: 18px 0 8px 0;
  color: #3949ab;
}

label, .sbu-label {
  font-size: 1rem;
  color: #222;
  margin-bottom: 6px;
}

textarea, select, input[type="text"] {
  border-radius: 6px;
  border: 1px solid #bbb;
  background: #f7f9fa;
  margin-bottom: 12px;
  transition: border 0.2s;
}

textarea:focus, select:focus, input[type="text"]:focus {
  border: 1.5px solid #1976d2;
  outline: none;
}

.button-group, .toolbar-buttons {
  display: flex;
  gap: 10px;
  margin: 12px 0;
  flex-wrap: wrap;
}

button {
  background: linear-gradient(90deg, #1976d2 60%, #42a5f5 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 18px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(25, 118, 210, 0.08);
  transition: background 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
button:hover {
  background: linear-gradient(90deg, #1565c0 60%, #1976d2 100%);
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.12);
}

.sbu-section {
  margin-top: 18px;
  margin-bottom: 10px;
}

#sbuCheckboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.sbu-option {
  background: #f5f7fa;
  border: 1.5px solid #e3e6ef;
  border-radius: 7px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.sbu-option:hover {
  background: #e3f2fd;
  border-color: #1976d2;
}
.sbu-option input[type="checkbox"]:checked + span {
  font-weight: bold;
  color: #1976d2;
}

pre, #table-output, #nameMismatch, #duplicateCodes {
  background: #f9f9fb;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  padding: 12px;
  margin-bottom: 14px;
  font-size: 0.97rem;
}

.mismatch-item {
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background: #fff;
  margin-bottom: 10px;
  padding: 8px 12px;
}

.main-header {
  background: linear-gradient(90deg, #1976d2 60%, #42a5f5 100%);
  color: #fff;
  /* padding: 12px 0 16px 0;
  margin-bottom: 12px; */
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
}
.header-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo {
  font-size: 2.2rem;
}
.subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  margin-left: 12px;
  opacity: 0.85;
}

.main-nav {
  background-color: #333;
  padding: 10px 0;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.main-nav a {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.main-nav a:hover {
  background-color: #555;
}

.input-search {
  border-radius: 6px;
  border: 1px solid #bbb;
  background: #f7f9fa;
  margin-bottom: 12px;
  padding: 8px;
  width: 98%;
  transition: border 0.2s;
}

.button-group {
  display: flex;
  gap: 10px;
  margin: 18px 0 8px 0;
  flex-wrap: wrap;
}
.button-group button {
  flex: 1 1 auto;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 6px;
}

.note {
  font-size: 0.95rem;
  color: #555;
  margin-top: 8px;
  background: #e3f2fd;
  padding: 8px 12px;
  border-radius: 6px;
}

.output-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.tab-btn {
  background: #f7f9fa;
  border: 1px solid #bbb;
  border-radius: 6px 6px 0 0;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 500;
  color: #1976d2;
  transition: background 0.2s, border 0.2s;
}
.tab-btn.active, .tab-btn:hover {
  background: #1976d2;
  color: #fff;
  border-bottom: 2px solid #fff;
}

.tab-content {
  background: #fff;
  border-radius: 0 0 8px 8px;
  border: 1px solid #e0e0e0;
  padding: 16px 12px;
  min-height: 120px;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
    gap: 0;
  }
  .column {
    min-width: 0;
  }
}

/* ...existing code... */