/* Main styles for Client Onboarding System */
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  --primary-color: #5113c3;
  --white-color: #fff;
  --dark-color: #0d0d0d;
  --off-white: #dddddd;
}

body {
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: var(--dark-color);
  color: var(--white-color) !important;
  font-family: "Sora", sans-serif;
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--off-white);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
}

ul {
  all: unset;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
ul li {
  all: unset;
  display: block;
  display: flex;
  justify-content: space-between;
}

table {
  width: -webkit-fill-available;
}
table thead {
  text-align: left;
}

table tr {
  height: 50px;
  max-height: max-content;
  min-height: max-content;
}
button {
  padding: 15px 35px;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: var(--white-color);
  border-radius: 8px;
}
h1,
h2,
h3 {
  font-family: "sora", sans-serif;
}

header {
  backdrop-filter: blur(10px);
  text-align: center;
  backdrop-filter: blur(5px);
  position: fixed;
  width: 100vw;
  top: 0;
}
nav {
  display: flex;
  justify-content: space-between;
  padding: 15px 5vw;
  align-items: center;
}

nav button {
  font-size: 16px;
  border-radius: 50px;
  cursor: pointer;
}
.nav-links {
  display: flex;
  list-style: none;
  color: var(--off-white);
}

.nav-links li {
  margin: 0 10px;
}

nav ul {
  padding: 0;
  list-style-type: none;
  display: flex;
  gap: 10px;
  flex-direction: row;
}

nav ul li {
  display: inline;
  margin-right: 10px;
  font-size: 14px;
}

nav ul li a {
  text-decoration: none;
  color: var(--white-color);
}
.nav-links a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  color: var(--white-color);
  transition: color 0.3s ease-in-out;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -10px;
  left: 0;
  background-color: var(--ex-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ex-dark);
  cursor: pointer;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
main {
  margin-top: 100px !important;
  max-width: 1200px;
  width: 70vw;
  margin: auto;
  padding: 0 20px;
}
.btn {
  width: 100%;
}
.size-60 {
  height: 60px;
}
.body-login {
  height: 100vh;
  /* width: 100%; */
  padding: 0vw 5vw;
  display: flex;
  max-width: 450px;
  width: 70vw;
  margin: 0 auto;
  padding: 0 20px;
}

.split-login {
  flex: 1;
  display: flex;
  margin: 50px;
  flex-direction: column;
  justify-content: center;
}

.container {
  max-width: 1200px;
  width: 70vw;
  margin: 0 auto;
  padding: 0 20px;
}
.login-container {
  padding: 2.5vw;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: center;
  align-items: center;
}
.login-container h2 {
  font-size: clamp(1.5rem, 0.9011rem + 2.8182vw, 2.5rem);
  margin: 5px !important;
  font-weight: 500;
}
.login-container p {
  font-size: clamp(0.9rem, 0.9614rem + 0.1818vw, 0.8rem);
  margin: 5px !important;
}
.login-container h4 {
  font-size: clamp(0.875rem, 0.8364rem + 0.1818vw, 1rem);
  margin: 5px !important;
}
.login-container label {
  width: 100%;
  margin-bottom: 5px;
}

input[type="text"] {
  all: unset;
  padding: 15px;
  border-bottom: 0.5px solid var(--primary-color);
  width: -webkit-fill-available;

  &:active {
    background-color: transparent;
  }
  &::selection {
    background-color: transparent;
  }
}

input[type="password"] {
  all: unset;
  padding: 15px;
  border-bottom: 0.5px solid var(--primary-color);
  width: -webkit-fill-available;

  &:active {
    background-color: transparent;
  }
  &::selection {
    background-color: transparent;
  }
}

select {
  all: unset;
  padding: 15px;
  border-bottom: 0.5px solid var(--primary-color);
  width: -webkit-fill-available;
  background: url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>")
    no-repeat;
  background-position: calc(100% - 0.75rem) center !important;
  &:active {
    background-color: transparent;
  }
  &::selection {
    background-color: transparent;
  }
}

.display-flex-col {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.display-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.form-login-flex {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  align-items: center;
}
.form-group {
  width: 100%;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
  transition: background-color 600000s 0s, color 600000s 0s;
}
input[data-autocompleted] {
  background-color: transparent !important;
}

.alert-danger {
  padding: 15px 30px;
  color: red;
}
.invalid-feedback {
  width: 100%;
  padding-top: 20px;
  color: red;
}
.form-login-flex2 {
  display: flex;
  gap: 25px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}
.flex1 {
  flex: 1;
}
.flex-row {
  display: flex;
  gap: 10px;
}
.display-flex-col-buttons {
  display: flex;
  gap: 10px;
}
.display-flex-col-questions {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#optionsContainer {
  display: none;
}
.option-item {
  margin-bottom: 5px;
}
.cancel-btn {
  display: none;
}

/* New styles for optionsList */
#optionsList {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.option-item {
  flex: 0 0 calc(50% - 5px);
  display: flex;
  align-items: center;
}
.option-item input[type="text"] {
  flex-grow: 1;
  margin-right: 5px;
}
.option-item .remove-option {
  flex-shrink: 0;
}

.question-container,
.form-container {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 20px;
  min-height: 400px;
  height: 400px;
  max-height: 400px;
  overflow-y: auto;
}
.draggable {
  cursor: move;
  padding: 5px;
  margin: 5px 0;
  background-color: #f0f0f0;
  height: max-content;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
#alert {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background-color: #4caf50;
  color: white;
  border-radius: 5px;
  display: none;
}
.form-container .draggable {
  cursor: move;
  position: relative;
}
.move-buttons {
  position: absolute;
  right: 5px;
  top: 5px;
}
.move-up,
.move-down {
  cursor: pointer;
  margin-left: 5px;
}
