/* SERtool compartive page-specific styles */

    .container {
      width: 100%;
      max-width: 960px;
      margin: 40px auto;
      padding: 0 20px;
      flex: 1;
    }

    .page-header {
      text-align: center;
      margin: 0 auto 28px;
      padding: 28px 24px;
      background: linear-gradient(135deg, #14304f 0%, #1c4a76 50%, #266a9c 100%);
      border-radius: 12px;
      color: white;
      box-shadow: 0 6px 20px rgba(20, 48, 79, 0.18);
    }

    .page-title {
      font-size: 26px;
      color: #ffffff;
      margin: 0 0 12px;
      font-weight: 700;
      text-shadow: 0 1px 10px rgba(0, 20, 45, 0.5);
    }

    .intro-text {
      text-align: left;
      max-width: 900px;
      margin: 0 auto;
      line-height: 1.7;
      font-size: 14px;
      color: #dbeafe;
      text-shadow: 0 1px 6px rgba(0, 20, 45, 0.4);
    }

    .intro-text em { color: #ffffff; font-style: italic; }

    .section {
      background-color: #ffffff;
      padding: 28px 32px;
      border-radius: 12px;
      margin-bottom: 30px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
      border: 1px solid #e2e8f0;
    }

    .section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
      flex-wrap: wrap;
      gap: 10px;
      padding-bottom: 14px;
      border-bottom: 1px dashed #e2e8f0;
    }

    .section h2 {
      color: #1a365d;
      margin-bottom: 0;
      font-size: 18px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 8px;
      letter-spacing: 0.01em;
    }

    .form-group { margin-bottom: 18px; }

    label {
      display: block;
      margin-bottom: 6px;
      font-weight: 600;
      color: #1a365d;
      font-size: 14px;
      letter-spacing: 0.02em;
    }

    input[type="text"],
    input[type="number"] {
      width: 100%;
      padding: 11px 14px;
      border: 1px solid #cbd5e0;
      border-radius: 8px;
      font-size: 14px;
      background-color: #f8fafc;
      color: #2d3748;
      font-family: inherit;
      transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
    }

    input[type="text"]:focus,
    input[type="number"]:focus {
      outline: none;
      border-color: #3182ce;
      background-color: #ffffff;
      box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
    }

    @keyframes flashHighlight {
      0% { background-color: #ebf8ff; border-color: #3182ce; }
      100% { background-color: #f8fafc; border-color: #cbd5e0; }
    }
    .input-flash { animation: flashHighlight 1.2s ease-out; }

    .pair-inputs { display: flex; gap: 16px; flex-wrap: wrap; }
    .pair-inputs > div { flex: 1; min-width: 0; }

    .note {
      font-size: 13px;
      color: #64748b;
      line-height: 1.6;
      margin-top: 8px;
      background: #f8fafc;
      border-radius: 8px;
      padding: 12px 16px;
      border: 1px solid #edf2f7;
    }

    .note em { color: #c05621; font-style: normal; font-weight: 600; }

    .note code {
      background: #edf2f7;
      padding: 2px 6px;
      border-radius: 4px;
      font-family: monospace;
      font-size: 12.5px;
      color: #2d3748;
    }

    .note strong { color: #c05621; }

    .action-btn {
      background-color: #1a365d;
      color: white;
      border: none;
      border-radius: 8px;
      padding: 11px 22px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
      box-shadow: 0 4px 12px rgba(26, 54, 93, 0.22);
      text-decoration: none;
    }

    .action-btn:hover:not(:disabled) {
      background-color: #2c5282;
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(26, 54, 93, 0.28);
    }

    .action-btn:disabled {
      background-color: #a0aec0;
      cursor: not-allowed;
      box-shadow: none;
    }

    #result-section { margin-top: 20px; display: none; }

    .threshold-row {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .threshold-row label {
      white-space: nowrap;
      margin-bottom: 0;
    }

    .threshold-row input[type="number"] { flex: 1; }

    .example-btn {
      padding: 8px 16px !important;
      font-size: 13px !important;
      background-color: #ebf8ff !important;
      color: #2c5282 !important;
      border: 1px solid #bee3f8 !important;
      box-shadow: none !important;
      font-weight: 600 !important;
    }

    .example-btn:hover:not(:disabled) {
      background-color: #bee3f8 !important;
      color: #1a365d !important;
      transform: translateY(-1px);
    }

    .run-btn-container { text-align: center; margin-top: 20px; }

    #status-message {
      margin-bottom: 12px;
      font-weight: 500;
      font-size: 14px;
      padding: 12px 16px;
      border-radius: 8px;
      background: #f8fafc;
      border: 1px solid #edf2f7;
      text-align: center;
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #status-message:empty { display: none; }

    #download-link {
      display: none;
      margin: 0 auto;
    }

    #result-section .action-btn {
      width: fit-content;
      margin: 0 auto;
    }

    @media (max-width: 768px) {
      .nav-links li { margin: 12px 0; width: 100%; text-align: center; position: relative; }
      .dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        background-color: #2d3748;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 8px;
        border-radius: 6px;
        width: 80%;
        margin-left: auto; margin-right: auto;
        display: flex; flex-direction: column; align-items: center;
        padding: 0;
      }
      .nav-links li:hover .dropdown, .nav-links li:focus-within .dropdown { max-height: 300px; padding: 8px 0; }
      .dropdown a {
        padding: 10px 0; text-align: center; font-size: 15px; color: #cbd5e0;
        width: 100%; display: flex; justify-content: center; align-items: center;
        text-decoration: none; transition: background-color 0.2s;
      }
      .dropdown a:hover { background-color: #4a5568; color: white; }

      .container { margin: 24px auto; padding: 0 14px; }
      .page-header { padding: 20px 16px; margin-bottom: 20px; }
      .intro-text { font-size: 13px; }
      .section { padding: 20px 18px; }
      .pair-inputs { flex-direction: column; gap: 0; }
      .threshold-row { flex-direction: column; align-items: flex-start; gap: 8px; }
      .threshold-row label { align-self: flex-start; }
      .section-header { flex-direction: column; align-items: flex-start; }
      .section h2 { font-size: 16px; }
      .action-btn { width: 100%; }
      .example-btn { width: auto !important; }
    }

  
  
