/* Gloval Variables */
:root {
  --light-blue: #3b9ae382;
  --blue: #3b9ae3;
  --pink: #f42a8b;
  --red: #b02e0c;
  --light-red: #ff4d1f;
  --black: #0c090d;
  --green: #196858;
  --dark-green: #1c2826;
  --very-dark-green: #0d1b1e;
  --yellow: #f4d35e;
  --light-gray: #f3f3f3;
  --platinum: #e5e5e5;
  --wheat: #e8dcb9;
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1 {
  text-align: center;
  font-family: "Roboto Slab", serif;
  font-size: 50px;
  position: relative;
  display: block;
  margin: auto;
  margin-top: 1rem;
  margin-bottom: 2rem;
  width: fit-content;
}

h2 {
  font-family: "Roboto", serif;
}

svg {
  fill: currentColor;
}

.logo {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-image: url("/static/img/favicon.svg");
  background-repeat: no-repeat;
  background-size: cover; /* Ensure SVG fills the element */
  transition: transform 0.3s; /* Smooth transition for hover effect */
}

.underline {
  position: relative;
  display: block;
  width: fit-content;
  z-index: 1;
}

.underline:after {
  background-size: 100% 100%;
  display: inline-block;
  width: 100%;
  height: 100px;
  position: absolute;
  bottom: -55px;
  content: " ";
  left: 0px;
  z-index: -1;
}

.underline-red:after {
  background-image: url("/static/assets/underline-red.svg");
}

.underline-single:after {
  background-image: url("/static/assets/underline-single.svg");
}

.underline-main:after {
  background-size: 100% 100%;
  display: inline-block;
  width: 100%;
  height: 100px;
  position: absolute;
  bottom: -50px;
  content: " ";
  left: 0px;
  background-image: url("/static/assets/underline-main.svg");
}

.underline-simple {
  position: relative;
  display: inline-block;
}
.underline-simple:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--blue), var(--pink));
}

.before {
  position: relative;
}

.before:before {
  content: "↬";
  transform: scaleY(-1) rotate(-90deg);
  position: absolute;
  left: 0;
  margin-left: -25px; /* Adjust this value as needed */
}

.highlight {
  background-image: linear-gradient(to bottom right, var(--blue), var(--pink));
  background-clip: text;
  color: transparent !important;
  display: inline-block;
}

.icon-container {
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  width: 15px;
  height: 15px;
}

.icon-container.medium {
  width: 20px;
  height: 20px;
}

div {
  line-height: 1.35;
}

textarea {
  font-family: "Roboto", sans-serif;
  font-size: 13.5px;
}

button {
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #eee;
  cursor: pointer;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* OS aware styles */

.os-aware-default {
  display: inline;
}

.os-aware-mac {
  display: none;
}

.MAC {
  .os-aware-default {
    display: none;
  }

  .os-aware-mac {
    display: inline;
  }
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
}

.separator::before,
.separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #000;
}

.separator:not(:empty)::before {
  margin-right: 0.25em;
}

.separator:not(:empty)::after {
  margin-left: 0.25em;
}

.modal-text {
  line-height: 1.55;
}

.modal-form-group:has(input[required]) label::after {
  content: " *";
}

.modal-form-group fieldset {
  margin-top: 8px;
  label {
    user-select: none;
    input {
      margin-right: 8px;
    }
  }
  label::after {
    content: "" !important;
  }
}
.modal-form-group:has(fieldset[required]) fieldset {
  legend::after {
    content: " *";
  }
}

.modal-form-group {
  label {
    display: block;
    margin-bottom: 5px;
  }
  input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
  }
}

#welcome-modal {
  .key-container {
    margin-top: 16px;
  }

  video {
    margin-bottom: 10px;
  }
}

.interview-key {
  background-color: var(--light-blue);
  border-radius: 8px;
  border: 1px solid var(--blue);
}

.floating-footer {
  position: fixed;
  bottom: 0;
  padding: 10px 0px;
  background-color: white;
  width: 100%;
  opacity: 0.9;
}
