@tailwind base;
@tailwind components;
@tailwind utilities;
@plugin "daisyui";


:root {
  --text-secondary: #35405C;
  --text-primary-dark: #263874;
}

/* Override Tailwind's list style reset for rich text content */
.trix-content ul,
.trix-content ol,
.action-text-content ul,
.action-text-content ol,
[data-trix-content] ul,
[data-trix-content] ol {
  list-style: revert !important;
  margin-left: 1.5rem !important;
  margin-bottom: 1rem !important;
}

.trix-content ul li,
.action-text-content ul li,
[data-trix-content] ul li {
  list-style-type: disc !important;
  margin-bottom: 0.5rem !important;
}

.trix-content ol li,
.action-text-content ol li,
[data-trix-content] ol li {
  list-style-type: decimal !important;
  margin-bottom: 0.5rem !important;
}

.trix-content ul ul li,
.action-text-content ul ul li,
[data-trix-content] ul ul li {
  list-style-type: circle !important;
}

.trix-content ul ul ul li,
.action-text-content ul ul ul li,
[data-trix-content] ul ul ul li {
  list-style-type: square !important;
}

/* Also apply to any element that might contain ActionText content */
.text-sm-medium:has(.action-text-content) .action-text-content ul,
.text-sm-medium:has(.action-text-content) .action-text-content ol,
.whitespace-pre-line:has(.action-text-content) .action-text-content ul,
.whitespace-pre-line:has(.action-text-content) .action-text-content ol {
  list-style: revert !important;
  margin-left: 1.5rem !important;
  margin-bottom: 1rem !important;
}

/* TYPO */
.rajdhani-light {
  font-family: "Rajdhani", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.rajdhani-regular {
  font-family: "Rajdhani", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.rajdhani-medium {
  font-family: "Rajdhani", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.rajdhani-semibold {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.rajdhani-bold {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.instrument-sans-light {
  font-family: "Instrument Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.instrument-sans-regular {
  font-family: "Instrument Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.instrument-sans-medium {
  font-family: "Instrument Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.instrument-sans-semibold {
  font-family: "Instrument Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.instrument-sans-bold {
  font-family: "Instrument Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

h1 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  line-height: 30px;;
  font-size: 1.75rem;
  letter-spacing: 0%;
}

h2 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-family: var(--Family-Display, Rajdhani);
  font-size: var(--Size-Display-H2, 22px);
  line-height: var(--Line-Height-Display-H2, 24px); /* 110% */
}

h4 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  line-height: 18px;
  font-size: 1rem;
}

h3 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  line-height: 20px;
  font-size: 1.125rem;
}

.text-h5 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  line-height: 12px;
  font-size: 0.875rem;
}

.text-cta-menu {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  line-height: 14px;
  font-size: 0.75rem;

  @media screen and (min-width: 640px) {
    font-size: 1.125rem;
    line-height: 22px;
  }
}

.text-xs-bold {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  line-height: 18px;
  font-size: 0.875rem;
}

.text-xs-medium {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  line-height: 20px;
  font-size: 0.875rem;
}

.text-sm-medium {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  line-height: 20px;
  font-size: 1rem;
}

.text-2xl-bold {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  line-height: 46px;
  font-size: 2.5rem;
}

.text-sm-semibold {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  line-height: 20px;
  font-size: 1rem;
}

/* BG */
.bg-blue-patterns {
  background:
    repeating-linear-gradient(30deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 15px),
    repeating-linear-gradient(-30deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 15px),
    linear-gradient(119.02deg, #2F51A1 0%, #1F2F63 70.3%);
}

.bg-primary-gradient {
  background: var(--Blue-Gradient, linear-gradient(119deg, var(--Background-Blue, #2F51A1) 0%, var(--Background-Blue-Darker, #1F2F63) 70.3%));
}

.bg-hero-login {
  background:
    linear-gradient(rgba(38, 56, 116, 0.95), rgba(38, 56, 116, 0.95)),
    url("/assets/login-hero-8919b273.jpg") 0px -207.912px / 116.667% 123.032% no-repeat;

}

.bg-blue-light-dot {
  background-color: #D7E1F4;
  background-image: url("/assets/dot-pattern-531529b5.svg");
}

.bg-white-pattern {
  background-color: #ffffff;
  background-image:
    radial-gradient(circle at top left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0) 80%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0) 80%),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.05) 1px, transparent 1px, transparent 15px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.05) 1px, transparent 1px, transparent 15px);
}

.bg-gradient-30 {
  background: linear-gradient(83deg, rgba(255, 255, 255, 0.30) 0%, rgba(215, 225, 244, 0.30) 100%);
  backdrop-filter: blur(12px);
}

.bg-gradient-100 {
  background: linear-gradient(83deg, #FFF 0%, #D7E1F4 100%);
}

.bg-menu-active {
  background: linear-gradient(270deg, #D7E1F4 0.14%, #FFF 98.81%);
}

.bg-footer-menu-active {
  background: linear-gradient(180deg, #D7E1F4 0%, #FFF 100%);

}

.bg-gray-transparent {
  backdrop-filter: blur(12px);
}

/* Colors */
.text-secondary {
  color: var(--text-secondary);
}

/* FORMS */
label {
  font-family: "Rajdhani", sans-serif;
  color: #A6ADBC;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.input {
  display: flex;
  padding: 18px 16px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;

  border-radius: 4px;
  border: 1px solid var(rgba(38, 56, 116, 0.10));
  background-color: white;

  color: var(--Text-Secondary, #35405C);

  font-family: "Instrument Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
}

.link-uppercase {
  color: var(--text-primary-dark);
  
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 14px; /* 100% */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  text-transform: uppercase;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  padding: 9px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  font-family: "Rajdhani";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 14px; /* 100% */
  text-transform: uppercase;

  &:not(.btn-circle) {
    border-radius: 8px;
    height: 56px;
  }

  /* CTA/L */
  &.btn-block {
    width: 100%;
  }

  &.btn-lg {
    padding-left: 20px;
    padding-right: 20px;
  }

  &.btn-sm {
    height: 32px;
    font-size: 12px;
  }

  &.btn-anchor {
    padding: var(--Padding-y-md, 8px) var(--Padding-x-md, 8px);
    border-radius: 64px;
    border: 1px solid var(--Border-Blue-20, rgba(38, 56, 116, 0.10));
    min-height: 34px;
    height: 34px;

    font-family: var(--Family-Display, Rajdhani);
    font-size: var(--Size-Display-H4, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--Line-Height-Display-H4, 18px); /* 112.5% */


    color: var(--Text-Tertiary, #A6ADBC);
    background: none;
    padding-top: 8px;
    padding-bottom: 8px;
    &.btn-anchor-active {
      border-radius: 64px;
      background: var(--Icons-Blue-Lighter, #D7E1F4);
      border: none;

      color: var(--Text-Primary-dark, #263874);
    }
  }
}

.btn-primary {
  color: var(--Gray-6, #F4F4F4);
}

.btn-outline {
  display: flex;
  border: 1px solid var(--Border-Blue-20, rgba(38, 56, 116, 0.10));
  color: var(--Text-Primary-dark, #263874);
  background: transparent;

  &:hover {
    border: 1px solid var(--Border-Blue-50, rgba(38, 56, 116, 0.50));
    color: var(--Text-Primary-dark, #263874);
    background: transparent;
  }
}

.badge {
  border-radius: var(--Radius-sm, 4px);
  font-size: 12px;
  line-height: 14px;
  border: none;

  &.badge-outline {
    border: 1px solid var(--Border-Blue-20, rgba(38, 56, 116, 0.10));
  }

  &.badge-success {
    background: rgba(66, 182, 107, 0.15);
  }

  &.badge-disabled {
    background: #DCE0EA;
  }
}

.card-outlined {
  border-radius: 8px;
  border: 2px solid var(--Background-Blue-Dark, #263874);
}

.shadow-slide {
  box-shadow: 0px 4px 4px 0px rgba(38, 56, 116, 0.06);
}

.\!border-white {
  border-color: #ffffff !important;
}

select.input {
  padding: 16px;
  background: white;
  border: none;
  line-height: 20px;
}