/* Light */
@font-face {
  font-family: "lufga-light";
  src: url("/fonts/Lufga-Light.eot"); /* IE9 Compat */
  src: url("/fonts/Lufga-Light.eot?#iefix") format("embedded-opentype"),
    url("/fonts/Lufga-Light.woff2") format("woff2"),
    url("/fonts/Lufga-Light.woff") format("woff"),
    url("/fonts/Lufga-Light.ttf") format("truetype");
  font-weight: 300; /* Light */
  font-style: normal;
}

/* Regular */
@font-face {
  font-family: "lufga-regular";
  src: url("/fonts/Lufga-Regular.eot");
  src: url("/fonts/Lufga-Regular.eot?#iefix") format("embedded-opentype"),
    url("/fonts/Lufga-Regular.woff2") format("woff2"),
    url("/fonts/Lufga-Regular.woff") format("woff"),
    url("/fonts/Lufga-Regular.ttf") format("truetype");
  font-weight: 400; /* Regular */
  font-style: normal;
}

/* SemiBold */
@font-face {
  font-family: "Inter", sans-serif;
  src: url("/fonts/Lufga-SemiBold.eot");
  src: url("/fonts/Lufga-SemiBold.eot?#iefix") format("embedded-opentype"),
    url("/fonts/Lufga-SemiBold.woff2") format("woff2"),
    url("/fonts/Lufga-SemiBold.woff") format("woff"),
    url("/fonts/Lufga-SemiBold.ttf") format("truetype");
  font-weight: 600; /* SemiBold */
  font-style: normal;
}

/* Bold */
@font-face {
  font-family: "lufga-bold";
  src: url("/fonts/Lufga-Bold.eot");
  src: url("/fonts/Lufga-Bold.eot?#iefix") format("embedded-opentype"),
    url("/fonts/Lufga-Bold.woff2") format("woff2"),
    url("/fonts/Lufga-Bold.woff") format("woff"),
    url("/fonts/Lufga-Bold.ttf") format("truetype");
  font-weight: 700; /* Bold */
  font-style: normal;
}

:root {
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --color-gray-500: "#CECECE";
}

html, body {
  font-size: 14px;
  font-family: 'Inter', system-ui, sans-serif;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  background-image: url("../images/bg.png");
    background-blend-mode: overlay;
  background-size: cover;
    background-position: center;
  min-height: 100svh;
  color: white;
  background-color: #222222;
}

p {
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

.bg-opacity {
  backdrop-filter: blur(40px);
  background-color: rgba(35, 35, 35, 0.2);
  border-radius: 20px;
  padding: 3.5rem;
  margin-top: 3rem;
}

.text-white {
  color: white;
}
.text-gray-500 {
  color: #cecece;
}

.text-gray-500:hover {
  color: #cecece;
}

.title-box {
  font-size: 30px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.4px;
}

a:hover {
  color: currentColor;
}

.underline-only-hover {
  text-decoration: none;
}

.underline-only-hover:hover {
  text-decoration: underline;
}

.input-group {
  height: 48px;
  min-width: 255px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  display: flex;
}
.w-full {
  width: 100%;
}
.w-max-355 {
  max-width: 355px;
}

.w-max-450 {
  max-width: 450px;
}

.w-max-750 {
  max-width: 750px;
}

.input-group-prefix {
  background: #31343b;
  flex: 0 0 150px;
  height: 48px;
  border-radius: 50px 0 0 50px !important;
  display: flex;
  align-items: center;
  justify-content: end;
  padding-right: 16px;
  font-size: 12px;
}

.input-group-text {
  background-color: transparent;
  border: none;
  padding: 0 18px;
  flex: 0 0 25px;
}

.input-group-field {
  height: 48px;
  flex: 0 0 calc(100% - 60px);
  background: transparent;
  border: none;
  color: #fff;
}

.input-group-field option {
  background-color: #ffffff;
  color: #333333;
  border: none;
}

.input-group-field:-webkit-autofill,
.input-group-field:-webkit-autofill:focus {
  transition: background-color 600000s 0s, color 600000s 0s;
}
.input-group-field[data-autocompleted] {
  background-color: transparent !important;
}

.input-group-field.flex-1 {
  flex: 0 0 calc(100% - 150px);
  padding-left: 16px;
}

.input-group-field:focus {
  outline: none;
}

.login .text-danger {
  font-size: 11px;
  font-family: "Inter", sans-serif;
  color: #ef4f4d !important;
  margin: 5px 0 16px;
  display: block;
}

.button-primary {
  background-color: #fff;
  border-radius: 50px;
  height: 48px;
  color: #000;
  transition: 0.3s all ease;
  min-width: 192px;
  border: none;
  cursor: pointer;
}

.button-primary:hover {
  background-color: #202020;
  color: #fff;
}

.button-primary:disabled {
  cursor: not-allowed;
  background: #ccc;
}

.buttonDefault {
  height: 54px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.buttonDefault--yellow {
  background-color: #d7ff01;
  color: #000;
  border: 0;
}

.buttonDefaultLabel {
  position: relative;
  z-index: 10;
}

.buttonDefault--yellow .buttonDefaultBgHover {
  background-color: #c1e501;
}

.buttonDefaultBgHover {
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  transition: 0.5s all ease-out;
}

.buttonDefaultIconBlock {
  width: 42px;
  height: 26px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 20;
  overflow: hidden;
  background-color: #0000001a;
  transition: 0.3s all ease-out;
}

.buttonDefaultIcon {
  position: absolute;
  transition: 0.5s all ease-out;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.buttonDefaultIconToHover {
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  transition: 0.5s all ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buttonDefault:hover .buttonDefaultBgHover,
.buttonDefault:hover .buttonDefaultIconToHover {
  transform: translateX(0);
}

.buttonDefault:hover .buttonDefaultIconBlock {
  background-color: #d7ff01;
}

.buttonDefault:hover .buttonDefaultIcon {
  transform: translate(36px, -50%);
}

.inputDefaultGroup {
  background-color: #ffffff33;
  backdrop-filter: blur(20px);
  border: 0;
  border-radius: 12px;
  align-items: center;
  padding-left: 8px;
  margin-bottom: 0;
  position: relative;
  display: flex;
}

.inputDefaultIcon {
  width: 31px;
  height: 31px;
  border-radius: 6px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff1a;
}

.inputDefault {
  padding-left: 8px;
  padding-right: 8px;
  flex: 1;
}

.language-selector {
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  display: flex;
  align-items: center;
}

.language-selector a {
  display: block;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1.3rem;
  padding-right: 1.3rem;
  border-radius: 50px;
}

.language-selector a.active {
  background-color: #ffffff;
}

.grecaptcha-badge {
  bottom: 80px !important;
}

.loader-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.loader {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== Auth pages ===== */
.auth-page { display: flex; flex-direction: column; flex: 1; height: 100%; }
.auth-section-left { display: flex; flex-direction: column; flex: 1; height: 100%; }
.auth-form-container { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; }
.auth-form-content { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 80px; }
.auth-header-form { display: flex; flex-direction: column; gap: 32px; }
.auth-header { display: flex; flex-direction: column; gap: 12px; }
.auth-title { font-size: 24px; font-weight: 600; line-height: 32px; color: #fafafa; margin: 0; }
.auth-subtitle { font-size: 16px; font-weight: 400; line-height: 24px; color: #a3a3a3; margin: 0; }
.auth-fields { display: flex; flex-direction: column; gap: 20px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-label { font-size: 14px; font-weight: 500; line-height: 20px; color: #d4d4d4; margin: 0; }
.auth-input { background: #0a0a0a; border: 1px solid #404040; border-radius: 8px; padding: 10px 14px; font-size: 16px; line-height: 24px; color: #fafafa; width: 100%; box-sizing: border-box; }
select.auth-input { background-color: #0a0a0a; color: #fafafa; color-scheme: dark; }
.auth-input::placeholder { color: #737373; }
.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #0a0a0a inset; -webkit-text-fill-color: #fafafa; transition: background-color 5000s ease-in-out 0s; }
.auth-input:focus { outline: none; border-color: #737373; box-shadow: none; }
.auth-input-wrapper { position: relative; display: flex; align-items: center; }
.auth-input-wrapper .auth-input { padding-right: 44px; }
.auth-input-eye-btn { position: absolute; right: 14px; background: none; border: none; cursor: pointer; padding: 0; display: flex; align-items: center; color: #737373; }
.auth-input-eye-btn:hover { color: #d4d4d4; }
.auth-btn-primary { background: #bef264; color: #1a2e05; border: none; border-radius: 8px; padding: 10px 16px; font-size: 16px; font-weight: 600; line-height: 24px; width: 100%; cursor: pointer; display: block; text-align: center; text-decoration: none; }
.auth-btn-primary:hover { background: #a3d44d; color: #1a2e05; }
.auth-btn-primary:disabled { background: #404040; color: #737373; cursor: not-allowed; }
.auth-muted-link { font-size: 14px; font-weight: 600; color: #d4d4d4; text-decoration: none; }
.auth-muted-link:hover { color: #fafafa; }
.auth-forgot-row { display: flex; justify-content: flex-end; }
.auth-footer-row { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-top: 24px; }
.auth-footer-text { font-size: 14px; font-weight: 400; color: #a3a3a3; }
.auth-footer-link { font-size: 14px; font-weight: 600; color: #d4d4d4; text-decoration: none; }
.auth-footer-link:hover { color: #fafafa; }
.auth-page-footer { height: 96px; display: flex; align-items: flex-end; padding: 32px; font-size: 14px; color: #a3a3a3; flex-shrink: 0; }
.auth-checkbox-hidden { display: none; }
.auth-validation-text { font-size: 12px; }

/* ===== Auth right panel ===== */
.auth-panel-right { position: fixed; top: 0; right: 0; width: 720px; height: 100vh; background: #262626; display: flex; flex-direction: column; overflow: hidden; }
.auth-panel-testimonial { padding: 96px 64px 0 80px; display: flex; flex-direction: column; gap: 24px; flex-shrink: 0; }
.auth-panel-quote { font-size: 30px; font-weight: 500; line-height: 38px; color: #fafafa; margin: 0; }
.auth-panel-attribution { display: flex; gap: 12px; align-items: flex-start; margin-top: 0; }
.auth-panel-name { font-size: 18px; font-weight: 600; line-height: 28px; color: #fafafa; margin: 0; }
.auth-panel-role { font-size: 16px; font-weight: 500; line-height: 24px; color: #a3a3a3; margin: 0; }
.auth-panel-stars { display: flex; gap: 2px; align-items: center; margin-left: auto; }
.auth-panel-stars span { color: #f79009; font-size: 20px; line-height: 1; }
.auth-panel-mockup { flex: 1; overflow: hidden; padding-left: 80px; margin-top: 80px; }
.auth-panel-mockup img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; }

/* ===== Register wizard ===== */
.register-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; font-family: 'Inter', sans-serif; }
@media (max-width: 991.98px) { .register-layout { display: block; } }

.register-sidebar { background: #141414; padding: 40px 32px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.register-sidebar-logo { margin-bottom: 48px; }
.register-sidebar-steps { display: flex; flex-direction: column; gap: 32px; flex: 1; }
.register-sidebar-footer { font-size: 13px; color: #525252; padding-top: 32px; }

.register-step { display: flex; gap: 12px; align-items: flex-start; }
.register-step-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex-shrink: 0; background: transparent; color: #525252; border: 1.5px solid #404040; transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.register-step--active .register-step-icon { color: #fafafa; border-color: #fafafa; }
.register-step--done .register-step-icon { background: #bef264; color: #1a2e05; border-color: #bef264; }
.register-step-info { display: flex; flex-direction: column; gap: 2px; }
.register-step-title { font-size: 14px; font-weight: 600; color: #525252; margin: 0; line-height: 20px; transition: color 0.2s ease; }
.register-step--active .register-step-title { color: #fafafa; }
.register-step--done .register-step-title { color: #737373; }
.register-step-subtitle { font-size: 12px; color: #404040; margin: 0; line-height: 18px; transition: color 0.2s ease; }
.register-step--active .register-step-subtitle { color: #a3a3a3; }
.register-step--done .register-step-subtitle { color: #525252; }

.register-form-area { background: #0a0a0a; display: flex; flex-direction: column; min-height: 100vh; }
.register-form-container { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 48px 32px 32px; }
.register-form-content { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 32px; }

.register-inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 575.98px) { .register-inline-fields { grid-template-columns: 1fr; } }

.register-progress { display: flex; gap: 8px; justify-content: center; margin-top: 4px; }
.register-progress-dot { width: 32px; height: 4px; border-radius: 2px; background: #404040; transition: background 0.2s ease; }
.register-progress-dot--active { background: #fafafa; }

.register-phone-group { display: flex; align-items: stretch; }
.register-phone-prefix { background: #1a1a1a; border: 1px solid #404040; border-right: none; border-radius: 8px 0 0 8px; padding: 10px 12px; font-size: 14px; color: #737373; white-space: nowrap; display: flex; align-items: center; flex-shrink: 0; }
.register-ddi-wrapper { position: relative; flex-shrink: 0; display: flex; }
.register-ddi-trigger { background: #1a1a1a; border: 1px solid #404040; border-right: none; border-radius: 8px 0 0 8px; padding: 0 14px; font-size: 14px; color: #fafafa; cursor: pointer; min-width: 90px; flex-shrink: 0; white-space: nowrap; display: flex; align-items: center; }
.register-ddi-dropdown { display: none; position: absolute; bottom: calc(100% + 4px); left: 0; background: #1a1a1a; border: 1px solid #404040; border-radius: 8px; max-height: 200px; overflow-y: auto; z-index: 200; min-width: 260px; box-shadow: 0 -4px 16px rgba(0,0,0,0.5); }
.register-ddi-dropdown.open { display: block; }
.register-ddi-option { padding: 8px 14px; color: #fafafa; font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.register-ddi-option:hover { background: #2a2a2a; }
.register-ddi-option.selected { background: #2a2a2a; color: #cbff4d; }
.register-phone-group .auth-input { border-radius: 0 8px 8px 0; flex: 1; }

.register-select { -webkit-appearance: none; appearance: none; color-scheme: dark; background-color: #0a0a0a; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23737373' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.register-select option { background: #1a1a1a; color: #fafafa; }

.register-tooltip-row { display: flex; align-items: center; gap: 6px; }
.register-tooltip-icon { position: relative; cursor: help; color: #737373; font-size: 14px; display: inline-flex; align-items: center; line-height: 1; }
.register-tooltip-icon .register-tooltip-text { display: none; position: absolute; left: calc(100% + 6px); top: 50%; transform: translateY(-50%); background: #262626; border: 1px solid #404040; border-radius: 6px; padding: 6px 10px; font-size: 12px; color: #d4d4d4; white-space: normal; max-width: 220px; z-index: 100; }
.register-tooltip-icon:hover .register-tooltip-text,
.register-tooltip-icon:focus .register-tooltip-text { display: block; }

.register-form-area { position: relative; }
.register-lang-wrap { position: absolute; top: 20px; right: 24px; z-index: 10; }
.register-lang-btn { background: #1a1a1a; border: 1px solid #404040; border-radius: 8px; padding: 8px 12px; color: #d4d4d4; font-size: 13px; display: flex; align-items: center; gap: 8px; cursor: pointer; transition: border-color 0.15s ease; }
.register-lang-btn:hover, .register-lang-btn:focus { border-color: #737373; color: #fafafa; }
.register-lang-btn::after { display: none; }
.register-lang-btn svg { color: #737373; flex-shrink: 0; }
.register-lang-menu { background: #1a1a1a; border: 1px solid #404040; border-radius: 8px; padding: 4px 0; min-width: 148px; margin-top: 4px !important; }
.register-lang-item { color: #d4d4d4 !important; font-size: 13px; display: flex !important; align-items: center; gap: 8px; padding: 9px 12px !important; }
.register-lang-item:hover, .register-lang-item:focus { background: #262626 !important; color: #fafafa !important; }
