    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          sans-serif;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        background-color: #f5f5f5;
      }

      .container {
        background-color: white;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 30px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      }

      .tabs {
        display: flex;
        border-bottom: 2px solid #eee;
        margin-bottom: 30px;
      }

      .tab {
        padding: 15px 25px;
        cursor: pointer;
        border-bottom: 3px solid transparent;
        transition: all 0.3s ease;
      }

      .tab:hover {
        background-color: #f8f9fa;
      }

      .tab.active {
        background-color: #f0f8ff;
        border-bottom: 3px solid #007bff;
        color: #007bff;
        font-weight: 600;
      }

      .tab-content {
        display: none;
      }

      .tab-content.active {
        display: block;
      }

      .contract-section {
        margin-bottom: 30px;
      }

      .contract-card {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 15px;
        background-color: #fafafa;
      }

      .contract-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
      }

      .contract-title {
        font-weight: 600;
        font-size: 16px;
      }

      .remove-btn {
        background-color: #dc3545;
        color: white;
        border: none;
        padding: 5px 10px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 12px;
      }

      .contract-fields {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;
        align-items: end;
      }

      .field-group {
        display: flex;
        flex-direction: column;
      }

      .calculation-display {
        background-color: #e8f5e8;
        padding: 10px;
        border-radius: 4px;
        font-weight: 600;
        text-align: center;
        border: 1px solid #c3e6c3;
      }

      .add-contract-btn {
        width: 100%;
        padding: 12px;
        background-color: #28a745;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 16px;
        margin-bottom: 20px;
      }

      .summary-card {
        background-color: #e3f2fd;
        border: 1px solid #bbdefb;
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 20px;
      }

      .summary-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
      }

      .summary-total {
        border-top: 2px solid #1976d2;
        padding-top: 10px;
        font-weight: bold;
        font-size: 16px;
      }

      .cost-highlight {
        background-color: #fff3cd;
        border: 1px solid #ffeaa7;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 20px;
        text-align: center;
      }

      .cost-value {
        font-size: 18px;
        font-weight: bold;
        color: #856404;
      }

      .tax-config {
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 20px;
      }

      .stock-inputs {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        margin-bottom: 20px;
      }

      .profit-positive {
        color: #28a745;
        font-weight: bold;
      }

      .profit-negative {
        color: #dc3545;
        font-weight: bold;
      }

      .profit-neutral {
        color: #6c757d;
        font-weight: bold;
      }

      table {
        margin-top: 20px;
        width: 100%;
        border-collapse: collapse;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
      }

      th {
        background-color: #f8f9fa;
        text-align: left;
        padding: 15px;
        font-weight: 600;
        border-bottom: 2px solid #dee2e6;
      }

      td {
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
      }

      tr:hover {
        background-color: #f8f9fa;
      }

      tr:nth-child(even) {
        background-color: #fdfdfd;
      }

      input,
      select {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        margin-top: 5px;
      }

      input:focus,
      select:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
      }

      label {
        font-weight: 500;
        color: #333;
        margin-bottom: 5px;
      }

      button {
        padding: 12px 20px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.3s ease;
      }

      button:hover {
        background-color: #0056b3;
      }

      .input-group {
        margin-bottom: 20px;
      }

      .results-section {
        margin-top: 30px;
      }

      .result-highlight {
        background-color: #d4edda;
        border: 1px solid #c3e6cb;
        border-radius: 6px;
        padding: 15px;
        margin-bottom: 20px;
        font-weight: 600;
      }

      @media (max-width: 768px) {
        .contract-fields {
          grid-template-columns: 1fr;
          gap: 10px;
        }

        .container {
          padding: 15px;
        }

        table {
          font-size: 14px;
        }

        th,
        td {
          padding: 8px;
        }

        .stock-inputs {
          grid-template-columns: 1fr;
        }
      }
