@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap');

@layer base {
  body.theme-ovooz-fr {
    /* The base layer uses !important to take precedence over Tailwind body utilities. */
    background-color: #ffffff !important;
    color: #323232 !important;
    font-family: 'Open Sans', sans-serif !important;
  }
}

body.theme-ovooz-fr,
.theme-ovooz-fr {
  --primary-500: #286090;
  --primary-400: #3574a8;
  --primary-300: #5192c0;
  --primary-600: #11324e;

  --secondary-600: #04dcd7;

  --gradient-primary-secondary: linear-gradient(112deg, #3574a8 0%, #11324e 100%);

  --color-bg-base:   #ffffff;
  --color-bg-card:   #f0f4f8;
  --color-bg-subtle: #e8edf2;

  --font-family-base: 'Open Sans', sans-serif;
  --font-family-display: 'Open Sans', sans-serif;
  --color-text-base:        #323232;
  --color-text-muted:       rgba(50, 50, 50, 0.55);
  --color-text-inverse:     #ffffff;
  --color-text-base-op-64:  rgba(50, 50, 50, 0.64);

  --base-0:   255 255 255;
  --base-950:  50  50  50;
  --color-surface-base:        #ffffff;
  --color-surface-base-op-16:  rgba(255,255,255,0.16);
  --color-surface-base-op-32:  rgba(255,255,255,0.32);

  --color-border: #d0d8e4;

  --color-input-bg:     #f0f4f8;
  --color-input-border: #b8cede;

  --color-icon-default: #286090;

  --radius-card: 8px;

  --color-error: #d9534f;

  --header-bg:     #286090;
  --header-shadow: 0 2px 8px rgba(17, 50, 78, 0.15);
  --header-nav-hover: rgba(255, 255, 255, 0.16);

  --footer-bg:     #286090;
  --footer-border: #286090;

  --color-dropdown-bg:              #ffffff;
  --color-dropdown-border:          #d0d8e4;
  --color-dropdown-hover:           #e8f0f8;
  --color-dropdown-text:            #323232;
  --color-dropdown-text-selected:   #286090;
  --color-dropdown-item-selected:   #286090;
  --bg-dropdown-item-selected:       rgba(40, 96, 144, 0.08);
  --bg-dropdown-item-selected-hover: rgba(40, 96, 144, 0.14);

  --background: var(--color-bg-base);
  --foreground: var(--color-text-base);
  --card: var(--color-bg-card);
  --card-foreground: var(--color-text-base);
  --primary: var(--primary-500);
  --primary-foreground: #ffffff;
  --muted: var(--color-bg-subtle);
  --muted-foreground: var(--color-text-muted);
  --accent: var(--color-dropdown-hover);
  --accent-foreground: var(--primary-600);
  --border: var(--color-border);
  --input: var(--color-input-border);
  --ring: var(--primary-500);
  --radius: var(--radius-card);

  --color-focus-outline: #286090;
}

.theme-ovooz-fr header,
body.theme-ovooz-fr header {
  color: #ffffff;
}

.theme-ovooz-fr header a,
.theme-ovooz-fr header button {
  color: #ffffff !important;
}

.theme-ovooz-fr header [data-slot="navigation-menu-content"] a {
  color: var(--color-dropdown-text) !important;
}

.theme-ovooz-fr footer,
body.theme-ovooz-fr footer {
  color: #ccddec;
}

.theme-ovooz-fr footer a,
.theme-ovooz-fr footer button {
  color: #ccddec !important;
}

.theme-ovooz-fr footer a:hover,
.theme-ovooz-fr footer button:hover {
  color: var(--primary-500) !important;
}

.theme-ovooz-fr .btn-primary {
  background: #286090 !important;
  background-color: #286090 !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.theme-ovooz-fr .btn-primary:hover:not(:disabled) {
  background: #11324e !important;
  background-color: #11324e !important;
}

.theme-ovooz-fr .btn-tertiary {
  background: var(--gradient-primary-secondary) !important;
  color: #ffffff !important;
}

.theme-ovooz-fr .pr-page {
  background-color: #ffffff;
  color: #323232;
  font-family: 'Open Sans', sans-serif;
}

.theme-ovooz-fr .pr-card {
  background-color: #f0f4f8;
  border-color: #d0d8e4;
  border-radius: 8px;
  max-width: 480px;
}

.theme-ovooz-fr .pr-title {
  color: #323232;
  font-size: 28px;
  font-weight: 700;
}

.theme-ovooz-fr .pr-subtitle {
  color: rgba(50, 50, 50, 0.6);
}

.theme-ovooz-fr .pr-label {
  color: #323232;
}

.theme-ovooz-fr .pr-input {
  background-color: #ffffff;
  border-color: #b8cede;
  color: #323232;
  border-radius: 999px;
}

.theme-ovooz-fr .pr-input:focus {
  border-color: #286090;
  outline: none;
}

.theme-ovooz-fr .pr-btn {
  background-color: #286090 !important;
  color: #ffffff !important;
  border-radius: 999px;
  font-weight: 700;
}

.theme-ovooz-fr .pr-error-msg {
  color: #d9534f;
}

.theme-ovooz-fr .pr-logo {
  max-height: 56px;
}

.theme-ovooz-fr a:not([class]) {
  color: #286090;
}

.theme-ovooz-fr a:not([class]):hover {
  color: #11324e;
}

/* The original portal login uses narrow inline fields, not a modal. */
.theme-ovooz-fr .ovooz-login-page {
  justify-content: flex-start;
}
.theme-ovooz-fr .ovooz-login-page .login-content {
  padding-top: 109px;
}
.theme-ovooz-fr .ovooz-login-page .signup-mobile {
  max-width: 360px;
  padding: 0 30px 30px;
}
.theme-ovooz-fr .ovooz-login-description {
  font-size: 16px;
}
.theme-ovooz-fr .ovooz-login-page .signup-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
