:root {

  --primary-Color: #1F5A95;
  --primary-hover-Color: #3288CE;

  --secondary-Color: #D12800;
  --secondary-hover-Color: #EE402D;

  --blue-100: #B5D5F5;
  --blue-200: #94C4F5;
  --blue-300: #6BABEB;
  --blue-400: #4F95DD;
  --blue-500: #3288CE;
  --blue-600: #006EB5;
  --blue-700: #1F5A95;
  --white: #FFF;
  --gray-100: #FAFAFA;
  --gray-200: #F7F7F7;
  --gray-300: #EDEFF0;
  --gray-400: #D4D6D8;
  --gray-500: #A9B1B7;
  --gray-600: #55606E;
  --gray-700: #232E3D;
  --black: #000;
  --light-yellow: #FFE17E;
  --yellow: #FFEB00;
  --dark-yellow: #FBC412;
  --light-red: #FFBCB7;
  --red: #EE402D;
  --dark-red: #D12800;
  --light-green: #B8ECB6;
  --green: #6DE354;
  --dark-green: #59BA47;
  --light-azure: #A2DAF3;
  --azure: #60D4F2;
  --dark-azure: #00C1FF;

}

.app-header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
}

.chip-container {
  width: 62%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

/* buttons */ 
.undp-button {
  align-items: center;
  background: transparent;
  border: none;
  display: flex;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  justify-content: center;
  padding: 1rem 1.5rem;
}
.undp-button.button-primary {
  border-radius: 0px;
  background-color: var(--dark-red);
  transition: 0.3s;
}
.undp-button.next:after {
  transition: .2s ease;
  background: url(https://design.undp.org/static/media/chevron-right-black.f618eac3.svg) no-repeat left center;
  color: var(--dark-red);
  height: 20px;
  margin-left: 0.75rem;
  content: "";
  width: 13px;
}
.undp-button.back:before {
  transition: .2s ease;
  background: url(https://design.undp.org/static/media/chevron-right-black.f618eac3.svg) no-repeat left center;
  color: var(--dark-red);
  height: 20px;
  margin-right: 0.75rem;
  content: "";
  width: 13px;
  transform: rotate(180deg);
}

.undp-button.button-primary:hover {
  background-color: var(--red);
}

.undp-button.button-secondary {
  border-radius: 0px;
  background-color: var(--blue-600);
  transition: 0.3s;
}

.undp-button.button-secondary:hover {
  background-color: var(--blue-500);
}
.undp-button:disabled, .undp-button[data-disabled] {
  background-color: var(--gray-400);
  color: var(--gray-300);
  pointer-events: none;
}
/* input */
input:invalid {
  outline: none !important;
}

.undp-input .mantine-TextInput-wrapper input, .undp-input .mantine-PasswordInput-input{
  border: 2px solid var(--black);    
  padding: 0.625rem;
  font-size: 1rem;
  appearance: none;
  border-radius: 0 !important;
  line-height: 1.4;
  color: var(--black);
  width: 100%;
  height: 3.25rem !important;
}
.undp-input .mantine-TextInput-wrapper input:hover, .undp-input .mantine-PasswordInput-input:hover{
  border: 2px solid var(--blue-700) !important; 
}
.mantine-PasswordInput-innerInput{
  height: 3.25rem;
}
/* -- accordion --*/
.mantine-Accordion-item {
  border-bottom: 1px solid rgb(112, 112, 112);
  border-top: transparent;
  border-left: transparent;
  border-right: transparent;
  border-radius: 0px;
}

.mantine-Accordion-panel {
  border-radius: 0px;
}

.mantine-oomffu{
  border-radius: 0px;
}
/* --- alert --- */
.mantine-Alert-root {
  border-radius: 0px;
}
.mantine-Alert-title{
  font-size: 1.2rem;
}
.mantine-Alert-label{
  font-size: 1rem;
}
/* ---- slider ---- */
.mantine-Slider-bar {
  background-color: var(--dark-red);
}
.mantine-Slider-thumb {
  border: 2px solid var(--dark-red);
}

.mantine-Slider-mark {
  border: 2px solid var(--dark-red);
}
.mantine-Slider-root{
  margin-bottom: 30px;
  margin-top:10px;
}
.mantine-Slider-label{
  top:-28px !important;
}
/* ----- */
.mantine-Progress-label{
  color: white;
}
/* --- select --- */

.mantine-Input-wrapper{
  position: relative;
}
.mantine-Select-input{
  width: 100%;
  border: 2px solid var(--black);
  height: 3.25rem;
  font-size: 1rem !important;
  border-radius: 0;
}
.mantine-Select-input:hover {
  border: 2px solid var(--blue-700);
}
.mantine-Select-rightSection, .mantine-Accordion-chevron{
  background: url(https://design.undp.org/static/media/chevron-down.16c97a3f.svg) no-repeat center center !important;
  padding: 0 10px;
}
.select_language .mantine-Select-rightSection svg, .mantine-Accordion-chevron svg, .add-comment svg{
  opacity: 0;
}
.mantine-Select-dropdown{
  font-size: 1rem !important;
}
/* ---- */
.header-divider{
  margin-bottom: 10px;
}
.header-left{
  padding: 10px 20px 10px 10px;
}
.header-right{
  padding: 10px 10px 10px 20px;
}
/* headings undp styles */
h1 {
  font-size: 2.938rem;
  font-weight: 700;
  letter-spacing: .06rem;
  line-height: 1.08;
  text-transform: uppercase;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1 !important;
}

h3 {
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.15 !important;
}

h4 {
  font-size: 1.563rem;
  font-weight: 400;
  line-height: 1.15 !important;
}

h5 {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.15 !important;
}
p{
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.page-title{
  margin-top: 20px;
}
.small-font {
  font-size: 1rem !important;
}

.label, .mantine-InputWrapper-label {
  margin-bottom: var(--spacing-03);
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.mantine-InputWrapper-description{
  font-size: 1rem;
  padding-bottom: 10px;
}
.people-count{
  margin-top: 10px;
}
/* links */
a.mantine-Anchor-root, .mantine-Modal-body a{
  background-image: linear-gradient(var(--dark-red), var(--dark-red)), linear-gradient(var(--dark-red), var(--dark-red));
  background-position: 100% 100%, -30px 100%;
  background-repeat: no-repeat;
  background-size: 100% 2px, 0 1px;
  text-decoration: none;
  color: var(--black);
}
a.mantine-Anchor-root:hover, .mantine-Modal-body a:hover{
  animation: lineLoop-animation-for-links 2s linear infinite !important;
  color: var(--black);
}
/* modal */
.mantine-Modal-body{
  font-family: 'Proxima Nova', sans-serif;
}
/* stat cards */
.stat-card-container{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
  flex-grow: 1;
  margin-bottom: 20px;
}

.stat-card {
  padding: 2rem;
  background-color: var(--gray-200);
  font-size: 1.25rem;
  color: var(--black);
  transition: 300ms all;
  flex-grow: 1;
}

.stat-card:hover {
  background-color: var(--light-yellow);
}

.stat-card:hover h2 {
  color: var(--black);
}

.stat-card h2 {
  line-height: 1.09;
  text-shadow: none;
  -webkit-text-stroke: 2px var(--black);
  color: var(--gray-200);
  font-size: 5rem;
  letter-spacing: .05rem;
  margin-top: 0;
  margin-bottom: 1rem;
}
@media (min-width: 48em) {
  .stats-card.small h2 {
    font-size: 4.375rem;
  }
}
.stat-card h3 {
  font-size: 4.375rem;
  line-height: 1.09;
  text-shadow: none;
  -webkit-text-stroke: 2px var(--black);
  color: var(--gray-200);
  letter-spacing: .05rem;
  margin-top: 0;
  /*margin-bottom: 1rem;*/
}

@media (min-width: 48em) {
    .stats-card.small h3 {
      font-size: 3.5rem;
  }
}

.stat-card:hover h3 {
  color: var(--black);
}

.stat-card h4 {
  line-height: 1.15;
  color: var(--black);
  font-size: 1.563rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.stat-card p {
  line-height: 1.15;
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 1rem;
}
/* chips */
.undp-chip {
  align-items: center;
  background: var(--gray-200);
  border: none;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  font-size: 1rem;
  padding: 0.25rem 1rem;
  color: rgba(0, 0, 0, 0.88)
}

.undp-chip-blue {
  background: var(--light-azure);
}
/* switch */
.undp-switch .mantine-Switch-track {
  border: 2px solid var(--dark-red) !important;
  background-color: var(--gray-100);
  height: 26px;
  width: 40px;
}
.undp-switch input:checked + * > .mantine-Switch-trackLabel {
  background-color: var(--light-red);
}
.undp-switch input:checked + * > .mantine-Switch-thumb{
  border-color: var(--dark-red);
}
.undp-switch input:checked + .mantine-Switch-track {
  background-color:  var(--light-red);
}

.undp-switch .mantine-Switch-thumb{
  background-color: var(--dark-red);
  border-color: var(--dark-red);
  box-shadow: none;
}
