/* Fonts served by the Andromeda reference portal; pin exact files for visual parity. */
@font-face {
  font-family: "OpenSans-Regular";
  src: url("/fonts/OpenSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "OpenSans-Bold";
  src: url("/fonts/OpenSans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* DeMusica skin inherited from https://www.demusica.mobi/. */
:root {
  --background: #ffffff;
  --foreground: #000000;
  --card: #ffffff;
  --card-foreground: #000000;
  --popover: #ffffff;
  --popover-foreground: #000000;
  --primary: #7bd8ea;
  --primary-foreground: #1d0628;
  --secondary: #d9f4f9;
  --secondary-foreground: #1d0628;
  --muted: #f3fbfc;
  --muted-foreground: #555555;
  --accent: #d9f4f9;
  --accent-foreground: #1d0628;
  --border: #d9e6e8;
  --input: #d9e6e8;
  --ring: #7bd8ea;

  --color-bg-base: #ffffff;
  --color-bg-card: #ffffff;
  --color-bg-elevated: #f3fbfc;
  --color-text-base: #000000;
  --color-text-muted: #555555;
  --color-text-inverse: #1d0628;
  --color-primary: #7bd8ea;
  --color-border: #d9e6e8;
  --color-input-bg: #ffffff;
  --color-input-border: #cbd9dc;
  --color-error: #b42318;
  --primary-300: #a4e7f2;
  --primary-400: #7bd8ea;
  --primary-500: #7bd8ea;
  --primary-600: #4abdd4;
  --secondary-600: #1d0628;
  --gradient-primary: linear-gradient(180deg, #d9f4f9 0%, #ffffff 100%);
  --gradient-primary-secondary: linear-gradient(180deg, #d9f4f9 0%, #ffffff 100%);
  --header-bg: #1d0628;
  --header-shadow: none;
  --footer-bg: transparent;
  --footer-border: #d9e6e8;
  --font-family-base: "OpenSans-Regular", Arial, sans-serif;
  --font-family-display: "OpenSans-Bold", "OpenSans-Regular", Arial, sans-serif;
  --font-bricolage: "OpenSans-Regular";
  --radius-card: 4px;
  --radius: 0.25rem;
}

body.theme-demusica {
  --font-bricolage: "OpenSans-Regular", Arial, Helvetica, sans-serif;
  --font-family-base: "OpenSans-Regular", Arial, sans-serif;
  --font-family-display: "OpenSans-Bold", "OpenSans-Regular", Arial, sans-serif;
  --color-text-base-op-64: rgba(0, 0, 0, 0.64);
  --color-text-base-op-88: rgba(0, 0, 0, 0.88);
  --color-input-tinted: rgba(29, 6, 40, 0.1);
  --header-dropdown-bg: rgb(247, 175, 238);
  background-color: #ffffff;
  background-image: linear-gradient(rgb(217, 244, 249), rgb(255, 255, 255));
  color: #000000;
  font-family: var(--font-family-base);
}

body.theme-demusica main:has(> [data-content-id]) {
  /* The template's login-footer spacing must not create blank space on content details. */
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body.theme-demusica h1,
body.theme-demusica h2,
body.theme-demusica h3,
body.theme-demusica h4 {
  font-family: var(--font-family-display);
}

.theme-demusica .pr-page {
  background-color: transparent;
  color: var(--color-text-base);
  font-family: var(--font-family-base);
}

.theme-demusica .pr-card {
  background-color: #ffffff;
  border-color: var(--color-border);
  border-radius: var(--radius-card);
}

.theme-demusica .pr-title,
.theme-demusica .pr-label,
.theme-demusica .pr-success-text {
  color: var(--color-text-base);
}

.theme-demusica .pr-subtitle {
  color: var(--color-text-muted);
}

.theme-demusica .pr-input {
  background-color: var(--color-input-bg);
  border-color: var(--color-input-border);
  color: var(--color-text-base);
}

.theme-demusica .pr-btn {
  background: var(--color-primary) !important;
  color: var(--color-text-inverse) !important;
  border-radius: 4px;
}
