/* Paleta de Frida Replay sobre el panel de OpenReplay.
   El panel lee casi todos sus colores de variables --color-*; aquí sólo se redefinen.
   Regla: la base es neutra, los botones van en "tinta" y el rosa marca lo que está
   activo o reproduciéndose (menú, pestañas, enlaces, avance del reproductor). */

:root:root {
  /* Tinta: botones y acciones normales */
  --bg-teal: #1c1c1f;
  --fr-on-ink: #ffffff;

  /* Rosa: acento */
  --fr-pink: #ee2a8b;
  --color-main: #c81e74;
  --color-teal: #c81e74;
  --color-teal-dark: #9f1459;
  --color-teal-light: #ee2a8b1a;
  --color-tealx: #c81e74;
  --color-tealx-light: #fde7f2;
  --color-tealx-light-border: #fbcfe4;
  --color-tealx-lightest: #ee2a8b14;
  --color-bg-blue: #fde7f2;
  --color-active-blue-border: #fbcfe4;
  --color-indigo: #ee2a8b;
  --color-indigo-lightest: #fde7f2;
  --color-figmaColors-main: #c81e74;
  --color-figmaColors-accent-secondary: #c81e74;
  --color-figmaColors-primary-outlined-hover-background: #ee2a8b14;
  --color-figmaColors-primary-outlined-resting-border: #ee2a8b80;
  --color-borderColor-primary: #ee2a8b;

  /* Base neutra */
  --color-gray-lightest: #f6f6f7;
  --color-gray-lighter: #f1f1f3;
  --color-gray-light-shade: #ececef;
  --color-gray-light: #e4e4e7;
  --color-gray-medium: #71717a;
  --color-gray-dark: #52525b;
  --color-gray-darkest: #1c1c1f;
  --color-gray-light-blue: #f6f6f7;
  --color-active-blue: #f4f4f5;
  --color-active-dark-blue: #e4e4e7;
  --color-blueLight: #f4f4f5;
  --color-offWhite: #fafafa;
  --color-light-blue-bg: #f4f4f5;
  --color-cyan: #f4f4f5;
  --color-borderColor-default: #e4e4e7;

  /* Estados */
  --color-green: #2e9e5b;
  --color-green-dark: #237a46;
  --color-orange: #d9822b;
  --color-orange-dark: #b0651b;
  --color-red: #d92d20;

  --toastify-color-info: #71717a;
  --toastify-icon-color-info: #71717a;
  --toastify-color-success: #2e9e5b;
  --toastify-icon-color-success: #2e9e5b;
  --toastify-color-warning: #d9822b;
  --toastify-icon-color-warning: #d9822b;
  --toastify-color-error: #d92d20;
  --toastify-icon-color-error: #d92d20;
  --toastify-color-progress-light: #ee2a8b;
}

:root.dark {
  --bg-teal: #f5f5f5;
  --fr-on-ink: #171717;

  --color-main: #ff6fb5;
  --color-teal: #ff6fb5;
  --color-teal-dark: #ff9bcb;
  --color-teal-light: #ee2a8b33;
  --color-tealx: #ff6fb5;
  --color-tealx-light: #3d1029;
  --color-tealx-light-border: #6b1a47;
  --color-tealx-lightest: #ee2a8b26;
  --color-bg-blue: #3d1029;
  --color-active-blue-border: #6b1a47;
  --color-indigo: #ee2a8b;
  --color-indigo-lightest: #3d1029;
  --color-figmaColors-main: #ff6fb5;
  --color-figmaColors-accent-secondary: #ff6fb5;

  --color-gray-lightest: #262626;
  --color-gray-lighter: #2d2d2d;
  --color-gray-light-shade: #404040;
  --color-gray-light: #404040;
  --color-gray-medium: #a1a1aa;
  --color-gray-dark: #d4d4d4;
  --color-gray-darkest: #f5f5f5;
  --color-gray-light-blue: #71717a;
  --color-active-blue: #2d2d2d;
  --color-active-dark-blue: #404040;
  --color-blueLight: #2d2d2d;
  --color-offWhite: #1e1e1e;
  --color-light-blue-bg: #2d2d2d;
  --color-cyan: #2d2d2d;
  --color-borderColor-default: #404040;

  --color-green: #3fbf75;
  --color-orange: #e89a4a;
  --color-red: #f0584c;
}

/* El texto de un botón en tinta cambia con el tema: blanco sobre negro, negro sobre blanco. */
.ant-btn-primary:not(.ant-btn-dangerous):not(:disabled):not(.ant-btn-background-ghost) {
  background-color: var(--bg-teal) !important;
  border-color: var(--bg-teal) !important;
  color: var(--fr-on-ink) !important;
}
.ant-btn-primary:not(.ant-btn-dangerous):not(:disabled):not(.ant-btn-background-ghost):hover {
  opacity: 0.85;
}

/* Logo. El login y el encabezado traen el ancho fijo en el HTML (200 y 120 px): aquí se
   agranda. Donde el panel usa el logo oscuro también en tema oscuro, se pone el blanco. */
img[src*="/logo"][width="200"] {
  width: 300px;
}
img[src*="/logo"][width="120"] {
  width: 168px;
}
:root.dark img[src*="logo.a2f45c11"] {
  content: url("/logo-white.5d348911-fr3.svg");
}
