@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=TikTok+Sans:opsz,wght@12..36,300..900&display=swap');

@font-face {
  font-family: 'Namian';
  src: url('../fonts/Namian-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Namian';
  src: url('../fonts/Namian-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Namian';
  src: url('../fonts/Namian-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}



:root {
  --font-primary: 'Namian', sans-serif;

  /*NEW COLORS*/
  --color-text: #ffffff;
  --color-link: #ffffff;
  --color-background: #000000;
  --color-primary: #8200A6;
  --color-input-fill: #212121;
  --color-placeholder-text: #BBBBBB;
  


  /* --- Status Colors --- */
  --color-success: #4CAF50;
  --color-error: #dc3545;  

  /* --- Border & Divider Colors --- */
  --color-border: #cccccc;

  /* --- Neutral / Greyscale --- */
  --color-grey-light: #f8f8f8;
  --color-grey-medium: #bbbbbb;
  --color-grey-dark: #888888;
}

/* Universal Box-Sizing for easier layout calculations */
html {
  box-sizing: border-box;
  color: var(--color-text);
  font-size: 16px;
  font-family: var(--font-primary);
  background-color: var(--color-background);
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Basic Reset for common elements */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5; /* Improves readability */
  background: radial-gradient(81.9% 27.06% at 50% 0%, #8200A6 0%, #000 100%);
}

input,
button,
textarea,
select {
  font: inherit;
}

main {
  padding: 2rem 1rem;
}

input, 
select {
  border-radius: 4px;
  color: var(--color-text);
  border: 0px solid transparent;
  padding: 0.5rem;
  background-color: var(--color-input-fill);
}

input::placeholder,
select::placeholder {
  color: var(--color-placeholder-text);
}

p {
  margin-bottom: 0.5em;
}

a {
  color: var(--color-link);
  font-weight: 700;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/*UTILITY CLASSES*/
/*Indicated by the u- prefix*/

.u-hide {
  display: none;
}

.u-text-bold {
  font-weight: 700;
}

.p-large {
  font-size: 1.25rem;
}

.u-mb-0 {
  margin-bottom: 0rem;
}

.u-mb-sm {
  margin-bottom: 1em;
}

.icon-sm {
  font-size: 1.25rem;
}

.icon-md {
  font-size: 2rem;
}


/*MOBILE-FIRST STYLES*/

.todo_ul {
  padding: 0rem 2rem;
  margin-bottom: 2rem;
}

.heading_paragraph {
  margin-bottom: 0.5em;
}

.form_flex {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  row-gap: 1.5rem;
}

.form_input-flex {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.form_label-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  column-gap: 1rem;
}

.form_custom-checkbox {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  padding: 0.25rem 1.5rem;
  font-size: 0.75em;
}

.form_custom-checkbox:active {
  background-color: var(--color-primary);
  color: white;
}

.button {
  display: inline-flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  background-color: var(--color-primary);
  color: var(--color-text);
}

.button_spinner {
  display: none;
}

.button_spinner.cc-active {
  display: inline-block;
}


.form_error-wrapper {
  display: none;
  padding: 0.5rem;
  background-color: #DC3545;
  color: white;
  font-weight: 700;
  letter-spacing: 0.75px;
  border-radius: 4px;
}

.form_error-wrapper.cc-active {
  display: block;
}

/*SLIDEUP CSS*/
.slideup_component {

}

.slideup_overlay {

}

.slideup_wrapper {
  border: 1px solid black;
  position: fixed;
  z-index: 999;
  bottom: 0px;
  top: auto;
  left: 0px;
  right: 0px;
  background-color: var(--color-success);
  color: white;
  padding: 1rem 2rem;
  transition: transform 0.3s ease;
  transform: translateY(100%);
  font-weight: 700;
  letter-spacing: 0.75px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.slideup_wrapper.cc-active {
  transform: translateY(0);
}

.slideup_close {
  position: absolute;
  right: 0rem;
  top: 0rem;
  padding: 0.25rem 1rem;
  cursor: pointer;
}

.slideup_progress_bg {
  height: 8px;
  width: 100%;
  background-color: var(--color-grey-medium);
  position: absolute;
  top: auto;
  left: 0rem;
  bottom: 1px;
  right: 0rem;
}

.slideup_progress_fill {
  height: 8px;
  width: 0%;
  background-color: var(--color-grey-light);
  position: absolute;
  top: auto;
  left: 0rem;
  bottom: 1px;
  right: 0rem;
  transition: width 2s linear;
  border-top-right-radius: 99px;
  border-top-left-radius: 99px;
}