import type { CompanyId } from "@/core/auth/types";

export interface Company {
  id: CompanyId;
  name: string;
  shortName: string;
  cui: string;
  color: string;
  address: string;
  city: string;
  logo?: {
    light: string; // logo for light backgrounds
    dark: string; // logo for dark backgrounds
  };
}

export const COMPANIES: Record<CompanyId, Company> = {
  beletage: {
    id: "beletage",
    name: "Beletage SRL",
    shortName: "Beletage",
    cui: "",
    color: "#22B5AB",
    address: "str. Unirii, nr. 3, ap. 26",
    city: "Cluj-Napoca",
    logo: {
      light: "/logos/logo-btg-light.svg",
      dark: "/logos/logo-btg-dark.svg",
    },
  },
  "urban-switch": {
    id: "urban-switch",
    name: "Urban Switch SRL",
    shortName: "Urban Switch",
    cui: "",
    color: "#6366f1",
    address: "",
    city: "Cluj-Napoca",
    logo: {
      light: "/logos/logo-us-light.svg",
      dark: "/logos/logo-us-dark.svg",
    },
  },
  "studii-de-teren": {
    id: "studii-de-teren",
    name: "Studii de Teren SRL",
    shortName: "Studii de Teren",
    cui: "",
    color: "#f59e0b",
    address: "",
    city: "Cluj-Napoca",
    logo: {
      light: "/logos/logo-sdt-light.svg",
      dark: "/logos/logo-sdt-dark.svg",
    },
  },
  group: {
    id: "group",
    name: "Grup Companii",
    shortName: "Grup",
    cui: "",
    color: "#64748b",
    address: "",
    city: "Cluj-Napoca",
  },
};

export const COMPANY_LIST = Object.values(COMPANIES);
