/* Container: Force-aligned left, bypassing CMS centering */
  .ndr-calc-container {
    max-width: 650px;
    margin: 20px 0 !important;
    text-align: left !important;
    font-family: Arial, Helvetica, sans-serif;
  }

  /* Table structure */
  .ndr-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 15px 0 !important;
    border: 1px solid #ccc;
    background-color: #fff;
  }

  /* Header Styling */
  .ndr-table thead th {
    background-color: #f2f2f2;
    color: #333;
    padding: 12px;
    border: 1px solid #ccc;
    text-align: left !important;
    font-weight: bold;
  }

  /* Cell Styling */
  .ndr-table td {
    padding: 12px;
    border: 1px solid #ccc;
    text-align: left !important;
    vertical-align: top;
  }

  /* Input Fields */
  .input-field {
    width: 100px;
    padding: 6px;
    border: 1px solid #999;
    border-radius: 3px;
    display: block; /* Puts error text on a new line */
    margin-bottom: 5px;
  }

  /* Output Styling */
  .output-box {
    font-weight: bold;
    color: #005a9c;
    font-size: 1.1em;
  }

  /* Error Text - CMS Safe */
  .error-text {
    color: #d93025;
    font-size: 0.85em;
    font-weight: bold;
    display: block;
    min-height: 1.2em; /* Keeps space even if CMS strips content */
  }

  /* Highlighting the active row */
  .active-row {
    background-color: #f0f7ff !important;
  }

  /* Note Box and Controls */
  .controls {
    text-align: left !important;
    margin-top: 10px;
  }

  .note-box {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 12px;
    font-size: 0.9em;
    margin-bottom: 15px;
    border-radius: 4px;
    line-height: 1.4;
  }

  .reset-btn {
    padding: 8px 16px;
    background-color: #6c757d;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  .reset-btn:hover {
    background-color: #5a6268;
  }