/* This file is used to override the default geOrchestra theme colors */
/* latin-ext */
@font-face {
  font-family: 'Spline Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/splinesans/v15/_6_7ED73Uf-2WfU2LzycEbAsmC0PSQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Spline Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/splinesans/v15/_6_7ED73Uf-2WfU2LzycEbAimC0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v19/UcCo3FwrK3iLTcvsYwYL8g.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v19/UcCo3FwrK3iLTcviYwY.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
  --georchestra-primary: #2C347D;
  --georchestra: var(--georchestra-primary);
  --georchestra-secondary: #ffd500;
  font-family: "Inter", sans-serif !important;
}

h1, h2, h3, h4, h5, h6{
  font-family: "Spline sans", sans-serif !important;
}

/* Datafeeder */
body gn-ui-root {
  --color-primary: var(--georchestra-primary);
  --color-primary-lighter: color-mix(
    in srgb,
    var(--georchestra-primary),
    #fff 30%
  );
  --color-primary-lightest: color-mix(
    in srgb,
    var(--georchestra-primary),
    #fff 50%
  );
  --color-primary-white: color-mix(
    in srgb,
    var(--georchestra-primary),
    #fff 95%
  );
  --color-primary-darker: color-mix(
    in srgb,
    var(--georchestra-primary),
    #000 30%
  );
  --color-primary-darkest: color-mix(
    in srgb,
    var(--georchestra-primary),
    #000 50%
  );
  --color-primary-black: color-mix(
    in srgb,
    var(--georchestra-primary),
    #000 90%
  );
  --gradient: linear-gradient(65deg, #fff 0%, var(--color-primary-white) 100%);
}

body gn-ui-root .text-orange-500 {
  color: #5F4800;
}

body gn-ui-root .bg-orange-500 {
  background-color: #5F4800;
}

#georchestra-login-page .Connexe {
  content: url("/public/connexe.png") !important;
  width: auto;
  height: 3rem;
  max-height: 60px;
}

#georchestra-login-page {
  --bs-border-radius: 4px;
}
#georchestra-login-page .btn, #app .v-btn{
  border-radius: 30px;         
}

#login-left-img {
  background: url('/public/DataGrandEst-Spirale-Dos-5opacite.svg') center /cover, var(--georchestra-primary) !important;
  border-radius: 20px;
}

header {
  --georchestra-header-primary: white;
  --georchestra-header-primary-light: #E1E3F1;
  color: white;
  font-family: "Spline Sans", sans-serif !important;
}

header img.w-32 {
  padding: 0 10px;
}

header .btn {
  background-color: #E1E3F1;
  color: #2C347D;
  border-radius: 30px;
}

header .btn:hover {
  background-color: #F8F9FA;
  color: #202664;
}

header > div.bg-white {
  background-color: #2C347D;
}

header .link-btn {
  text-decoration-color: #CED4DA;
}

header .text-slate-600, header .link-btn:hover {
  color: #CED4DA;
}

header .nav-item:hover {
  color: #F8F9FA;
}

header .nav-item.active {
  color: white;
}

/* Mapstore */
.geOrchestra[data-ms2-container="ms2"] {
  --ms-primary: var(--georchestra-primary);
  --ms-main-variant-color: rgb(0, 58, 59);

  --ms-button-color: var(--georchestra-primary);
  --ms-link-color: color-mix(in srgb, var(--georchestra-primary), #fff 30%);
  --ms-link-hover-color: color-mix(in srgb,
  var(--georchestra-primary),
  #fff 50%);
  --ms-loader-primary-color: var(--georchestra-primary);
  --ms-loader-primary-fade-color: color-mix(in srgb,
  var(--georchestra-primary),
  #fff 75%);
  --ms-focus-color: color-mix(in srgb, var(--georchestra-primary), #fff 90%);

  --ms-button-bg: #fff;
  --ms-button-border-color: #fff;
  --ms-button-hover-color: color-mix(in srgb,
  var(--georchestra-primary),
  #fff 30%);
  --ms-button-hover-bg: color-mix(in srgb, var(--ms-button-bg), #000 15%);
  --ms-button-hover-border-color: color-mix(in srgb,
  var(--ms-button-bg),
  #000 15%);
  --ms-button-disabled-bg: color-mix(in srgb, var(--ms-button-bg), #fff 30%);
  --ms-button-disabled-border-color: color-mix(in srgb,
  var(--ms-button-bg),
  #fff 30%);
  --ms-button-active-hover-bg: color-mix(in srgb,
  var(--ms-button-bg),
  #000 30%);
  --ms-button-active-border-color: color-mix(in srgb,
  var(--georchestra-primary),
  #000 30%);
  --ms-button-active-color: color-mix(in srgb,
  var(--georchestra-primary),
  #fff 30%);
  --ms-button-focus-border-color: color-mix(in srgb,
  var(--georchestra-primary),
  #000 30%);
  --ms-button-active-hover-border-color: color-mix(in srgb,
  var(--georchestra-primary),
  #000 30%);
  --ms-button-active-hover-color: color-mix(in srgb,
  var(--georchestra-primary),
  #000 30%);
  --ms-button-focus-color: color-mix(in srgb,
  var(--georchestra-primary),
  #fff 30%);

  --ms-button-primary-bg: var(--georchestra-primary);
  --ms-button-primary-border-color: var(--georchestra-primary);
  --ms-button-primary-hover-bg: color-mix(in srgb,
  var(--ms-button-primary-bg),
  #000 15%);
  --ms-button-primary-hover-border-color: color-mix(in srgb,
  var(--ms-button-primary-bg),
  #000 15%);
  --ms-button-primary-disabled-bg: color-mix(in srgb,
  var(--ms-button-primary-bg),
  #fff 30%);
  --ms-button-primary-disabled-border-color: color-mix(in srgb,
  var(--ms-button-primary-bg),
  #fff 30%);
  --ms-button-primary-active-hover-bg: color-mix(in srgb,
  var(--ms-button-primary-bg),
  #000 30%);
  --ms-button-primary-active-border-color: color-mix(in srgb,
  var(--ms-button-primary-bg),
  #000 30%);
  --ms-button-primary-active-bg: color-mix(in srgb,
  var(--ms-button-primary-bg),
  #000 30%);
  --ms-button-primary-focus-hover-bg: color-mix(in srgb,
  var(--ms-button-primary-bg),
  #000 30%);
  --ms-button-primary-focus-border-color: color-mix(in srgb,
  var(--ms-button-primary-bg),
  #000 30%);
  --ms-button-primary-focus-bg: color-mix(in srgb,
  var(--ms-button-primary-bg),
  #000 30%);

  --ms-button-success-bg: var(--georchestra-secondary);
  --ms-button-success-border-color: var(--georchestra-secondary);
  --ms-button-success-hover-bg: color-mix(in srgb,
  var(--ms-button-success-bg),
  #000 15%);
  --ms-button-success-hover-border-color: color-mix(in srgb,
  var(--ms-button-success-bg),
  #000 15%);
  --ms-button-success-disabled-bg: color-mix(in srgb,
  var(--ms-button-success-bg),
  #fff 30%);
  --ms-button-success-disabled-border-color: color-mix(in srgb,
  var(--ms-button-success-bg),
  #fff 30%);
  --ms-button-success-active-bg: var(--georchestra-secondary);
  --ms-button-success-active-border-color: var(--georchestra-secondary);
  --ms-button-success-active-hover-bg: color-mix(in srgb,
  var(--ms-button-success-bg),
  #000 30%);
  --ms-button-success-active-hover-border-color: color-mix(in srgb,
  var(--ms-button-success-bg),
  #000 30%);
  --ms-button-success-focus-hover-bg: color-mix(in srgb,
  var(--ms-button-success-bg),
  #000 30%);
  --ms-button-success-focus-border-color: color-mix(in srgb,
  var(--ms-button-success-bg),
  #000 30%);
  --ms-button-success-focus-bg: color-mix(in srgb,
  var(--georchestra-secondary),
  #000 30%);
}

.chat-bubble,
.chat-dialog {
  --color-base-content: black;
  --default-font-family: 'Inter', sans-serif;
  --color-primary-light: #e1e3f1;
  --color-primary: #2c347d;
  --color-secondary: #b1bc04;
  z-index: 5000;
  color: #333;
}

.chat-dialog {
  border: 1px solid #333;
  box-shadow: 2px 2px 10px #333;
}

@layer properties {
  *,
  :before,
  :after,
  ::backdrop {
    --tw-rotate-x: initial;
    --tw-rotate-y: initial;
    --tw-rotate-z: initial;
    --tw-skew-x: initial;
    --tw-skew-y: initial;
    --tw-border-style: solid;
    --tw-font-weight: initial;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-color: initial;
    --tw-shadow-alpha: 100%;
    --tw-inset-shadow: 0 0 #0000;
    --tw-inset-shadow-color: initial;
    --tw-inset-shadow-alpha: 100%;
    --tw-ring-color: initial;
    --tw-ring-shadow: 0 0 #0000;
    --tw-inset-ring-color: initial;
    --tw-inset-ring-shadow: 0 0 #0000;
    --tw-ring-inset: initial;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-scale-z: 1;
  }
}

