/* Colores, fuentes y base. Los mismos que la app de microcredenciales: los del aula virtual (AU24),
   barra negra, verde #00796b y fondo gris claro; Oswald en los títulos y Roboto en el texto. */

@font-face {
  font-family: "Oswald";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/oswald-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald";
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/oswald-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2");
}

:root {
  --background: #f1f3f2;
  --foreground: #252a29;
  --card: #ffffff;
  --primary: #00796b;
  --primary-hover: #00695c;
  --primary-foreground: #ffffff;
  --secondary: #ebeeed;
  --muted: #ebeeed;
  --muted-foreground: #5b6462;
  --accent: #e0f1ee;
  --accent-foreground: #005a50;
  --destructive: #c62828;
  --destructive-hover: #b71c1c;
  --destructive-soft: #fbe6e6;
  --success: #2e7d32;
  --success-soft: #e4f2e5;
  --warning: #8a5800;
  --warning-soft: #fbefd5;
  --border: #dce1df;
  --input: #c9d1cf;
  --ring: #00796b;
  --row-hover: #f6f8f7;
  --header: #000000;
  --header-foreground: #ffffff;
  --header-muted: #aab5b3;
  --header-accent: #26a69a;

  --radius: 0.4rem;
  --radius-md: 0.32rem;
  --radius-xl: 0.56rem;

  --font-heading: "Oswald", "Arial Narrow", sans-serif;
  --font-sans: "Roboto", system-ui, "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--background);
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button,
select,
input,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
