
  /* Coupon and Referral Code Entry */
  .code-entry-section {
      background: #f8fbff;
      border: 2px dashed #1976d2;
      border-radius: 8px;
      padding: 20px;
      margin: 20px 0;
      text-align: center;
  }

  .code-entry-section h3,
  .code-entry-section h4 {
      color: #1976d2;
      font-size: 18px;
      margin-bottom: 16px;
      text-align: center;
  }

  .code-input-group {
      display: flex;
      flex-direction: column;
      gap: 12px;
      max-width: 500px;
      margin: 0 auto 12px auto;
      flex-wrap: wrap;
  }

  .code-input-group input {
      width: 100%;
      padding: 10px 14px;
      border: 2px solid #e0e0e0;
      border-radius: 6px;
      font-size: 14px;
      transition: border-color 0.3s;
  }

  .code-input-group input:focus {
      outline: none;
      border-color: #1976d2;
  }

  .code-input-group button {
      width: 100%;
      padding: 10px 24px;
      background: #1976d2;
      color: white;
      border: none;
      border-radius: 6px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s;
  }

  .code-input-group button:hover {
      background: #1565c0;
  }

  .code-input-group button:disabled {
      background: #cccccc;
      color: #666666;
      cursor: not-allowed;
      opacity: 0.6;
  }

  .code-status {
      font-size: 13px;
      margin-top: 8px;
      min-height: 20px;
  }

  .code-status.success {
      color: #4CAF50;
  }

  .code-status.error {
      color: #f44336;
  }

  .active-codes {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 12px;
  }

  .code-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #4CAF50;
      color: white;
      padding: 6px 12px;
      border-radius: 16px;
      font-size: 13px;
      font-weight: 600;
  }

  .code-badge .remove-code {
      cursor: pointer;
      margin-left: 4px;
      opacity: 0.8;
      transition: opacity 0.2s;
  }

  .code-badge .remove-code:hover {
      opacity: 1;
  }

  @media (max-width: 768px) {
      .code-input-group {
          flex-direction: column;
      }

      .code-input-group input,
      .code-input-group button {
          width: 100%;
          min-width: auto;
      }
  }
