.margin-top {
    margin-top: 40px; /* Adjust the value as needed */
}

.brand {
    background: #7bc66b !important;
}

.brand-text {
    color: #7bc66b !important;
}

.red-text {
    color: #9e9e9e !important;
}

.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 20px;
}
.row1 {
    display: flex;
}

.column1 {
    flex: 33.33%;
    padding: 5px;
}

.column {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 10px;
}

.column-label {
    font-size: 16px;
    text-align: center;
    margin-bottom: 10px;
    width: 50px; /* Ensure all labels are the same width */
    background-color: #f0f0f0; /* Light gray background for labels */
}

.input-group, .result-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.single-digit-input, .result, .single-digit-value, .total-cell {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    border: 1px solid #ccc;
    border-radius: 2px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}
/* Ensure input fields are styled as boxes */
.single-digit-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    outline: none; /* Remove default outline */
}

.single-digit-value {
    background-color: #d1e7fd; /* Light blue background for values */
}

.result {
    background-color: #ffd5cd; /* Light red background for results */
}

.calculate-button, .save-button {
    height: 40px;
    font-size: 16px;
    padding: 0 10px;
    cursor: pointer;
    margin-top: 10px;
}

.hidden {
    display: none;
}

.total-cell {
    background-color: #55b552;
}

.heading-section {
    font-size: 32px;
    color: #000;
    background: #7bc66b;
}


.margin-top {
    margin-top: 40px; /* Adjust the value as needed */
}

.brand {
    background: #7bc66b !important;
}

.brand-text {
    color: #7bc66b !important;
}

.red-text {
    color: #9e9e9e !important;
}

.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 20px;
}
.row1 {
    display: flex;
}

.column1 {
    flex: 33.33%;
    padding: 5px;
}

.column {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 10px;
}

.column-label {
    font-size: 16px;
    text-align: center;
    margin-bottom: 10px;
    width: 50px; /* Ensure all labels are the same width */
    background-color: #f0f0f0; /* Light gray background for labels */
}

.input-group, .result-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.single-digit-input, .result, .single-digit-value, .total-cell {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    border: 1px solid #ccc;
    border-radius: 2px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}
/* Ensure input fields are styled as boxes */
.single-digit-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    outline: none; /* Remove default outline */
}

.single-digit-value {
    background-color: #d1e7fd; /* Light blue background for values */
}

.result {
    background-color: #ffd5cd; /* Light red background for results */
}

.calculate-button, .save-button {
    height: 40px;
    font-size: 16px;
    padding: 0 10px;
    cursor: pointer;
    margin-top: 10px;
}

.hidden {
    display: none;
}

.total-cell {
    background-color: #55b552;
}

.heading-section {
    font-size: 32px;
    color: #000;
    background: #7bc66b;
}

.form-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 400px;
    margin: auto;
}
.form-group label {
    display: flex;
    width: 30%;
    text-align: right;
    align-items: center;
    white-space: nowrap;
    margin-right: 10px;
    padding-right: 10px;
    margin-top: 20px;
}
.form-group input[type="text"],
.form-group input[type="number"],
.form-group select {
    flex-grow: 1;
    padding: 8px;
    box-sizing: border-box;
}
.form-group input[type="submit"] {
    display: inline-block;
    margin-right: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    align-items: center;
    width: auto;
    padding: 8px 16px;
    box-sizing: border-box;
    margin-left: 30%;
}
.form-group input[type="submit"]:focus {
    outline: 2px solid;
    outline-color: Highlight; /* Use the browser's default highlight color */
    outline-offset: 2px; /* Add some space between the outline and the button */
    box-shadow: none; /* Remove any existing box-shadow that might interfere */
}
.form-group input[type="submit"][name="cancel"] {
    margin-left: 10px;
}

.error-message {
    font-size: 14px;
    color: red;
    margin-top: -5px;
    margin-bottom: 10px;
    text-align: center;
}

.terms-container {
    display: flex;
    align-items: center;
}

.alert {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 16px;
    /* Common styles for all alerts */
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    /* Specific styles for error alerts */
}

.error-message {
    font-size: 14px;
    color: red;
    margin-top: -5px;
    margin-bottom: 10px;
    text-align: center;
}

.terms-container {
    display: flex;
    align-items: center;
}

.alert {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 16px;
    /* Common styles for all alerts */
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    /* Specific styles for error alerts */
}

.variable-list {
  width: 300px;
  padding: 10px;
  border: 1px solid #ccc;
  font-family: Arial, sans-serif;
}

.variable-item {
  margin-bottom: 12px;
}

.variable-item label {
  font-weight: bold;
  display: block;
  margin-bottom: 4px;
  color: #333;
}

.variable-item span {
  display: block;
  padding: 6px;
  background-color: #f0f0f0;
  border-radius: 4px;
  color: #555;
}


/* Style collapsible headers */
summary {
  cursor: pointer;
  font-weight: bold;
  margin: 6px 0;
  padding: 4px;
  background-color: #f0f0f0;
  border-radius: 4px;
}

/* Indent nested details */
details {
  margin-left: 1em;
  margin-bottom: 0.5em;
}

/* Style file list */
ul {
  list-style-type: disc;
  margin-left: 1.5em;
}

li a {
  text-decoration: none;
  color: #0077cc;
}

li a:hover {
  text-decoration: underline;
}

.file-icon {
    margin-right: 0.5em;
    font-size: 1.2em;
}

img.fallback {
  border: 2px dashed red;
  background-color: #fee;
}