:root {
  --color-primary: #ff7e00;
  --color-secondary: #295ea0;
  --color-tertiary: #010042;
  --color-quaternary: #ffffff;
  --color-quinary: #faf9f6;
  --color-senary: #2e2e2e;
  --color-background: var(--color-quaternary);
  --color-foreground: var(--color-primary); /* default text color */
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--color-senary); /* orange */
  margin: 0;
  padding: 0;
  /* Fallback for older browsers */
  background-color: var(--color-quaternary);

  background-image: none;
}

button,
.btn,
.dash-bootstrap {
  background-color: var(--color-primary); /* orange */
  color: var(--color-quaternary); 
  border: none;
}

button:hover,
.btn:hover {
  background-color: var(--color-primary); 
  color: var(--color-quaternary);
}

/* Carousel container */
.carousel {
  max-width: 90%;
  margin: 0 auto;
}

/* Carousel image */
.carousel-item img {
  max-height: 400px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

h2 {
  font-size: 24px;
  margin-bottom: 10px;
  margin-top: 20px;
}

.input-dropdown {
  width: 80%;
  height: "40px";
  margin-bottom: "20px";
  font-size: 16px;
}

.input-slider {
  width: 80%;
}

.input-text {
  width: 80%;
  margin-bottom: 10px;
  margin-top: 20px;
}

.upload-spot {
  width: 100%;
  height: 60px;
  border: 2px dashed var(--color-tertiary);
  border-radius: 5px;
  display: flex;
  align-items: center;
  border-style: dashed;
  justify-content: center;
  cursor: pointer;
}

/* input's parent div and reduce its top margin */
.input-text {
  margin-top: 0px !important;
}

/*Style for tabs*/

/* Style for all tabs in the tab list */
.mantine-Tabs-tab {
    background-color: var(--color-quaternary) !important;
    color: var(--color-tertiary) !important;
    border-radius: 5px; /* Optional: for rounded corners */
}

/* Style for the selected/active tab */
.mantine-Tabs-tab[data-active="true"] {
    background-color: var(--color-tertiary) !important;
    color: var(--color-quaternary) !important;
}

/* Style for when you hover over a tab */
.mantine-Tabs-tab:hover {
    opacity: 0.8; /* Optional: adds a slight fade on hover */
    background-color: var(--color-tertiary) !important;
    color: var(--color-quaternary) !important;
}

.dropdown-toggle {
  background-color: var(--color-tertiary) !important;
  color: var(--color-quaternary) !important;
}

.dropdown-toggle:hover {
  background-color: var(--color-secondary) !important;
  color: var(--color-quaternary) !important;
}

.dropdown-menu {
  min-width: 400px;
}

/* Change background and text color on hover for dropdown items */
.dropdown-menu .dropdown-item:hover {
  background-color: var(--color-secondary) !important;
  color: var(--color-quaternary) !important;
}

/* Optional: keyboard navigation and active clicks */
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active {
  background-color: var(--color-secondary) !important;
  color: var(--color-quaternary) !important;
}


/* Style for the slider track */
.rc-slider-track {
  background-color: var(--color-tertiary) !important;
}

/* Style for the slider handle (optional, if you want it to match) */
.rc-slider-handle {
  border-color: var(--color-tertiary) !important;
}

/* Optional: make active dots filled in */
.rc-slider-dot-active {
  background-color: var(--color-tertiary) !important;
  border-color: var(--color-tertiary) !important;
}


/* Custom styling for the dmc.Stepper component for the landing page*/

/* Active/Completed Stepper Icon Styling */
.mantine-Stepper-step[data-progress] .mantine-Stepper-stepIcon,
.mantine-Stepper-step[data-completed] .mantine-Stepper-stepIcon {
    border-color: var(--color-tertiary) !important;
    color: var(--color-quinary) !important; /* White icon text */
}

.mantine-Stepper-step {
    pointer-events: none !important;
}


.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip-icon {
  font-weight: bold;
  color: var(--color-tertiary);
  cursor: pointer;
}

.tooltip-box {
  visibility: hidden;
  opacity: 0;
  width: 400px;
  background-color: var(--color-quinary);
  color: var(--color-tertiary);
  text-align: left;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 110%;
  transform: translateY(-50%);
  transition: opacity 0s;
  pointer-events: auto;
}

.tooltip-wrapper:hover .tooltip-box,
.tooltip-box:hover {
  visibility: visible;
  opacity: 1;
  transition: opacity 0s;
}

.tooltip-link {
  color: var(--color-tertiary);
  text-decoration: underline;
  transition: opacity 0s;
}