@charset "UTF-8";

/* =======================
   BASIC RESET
======================= */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #646464;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  color: #111;
  margin: 0 0 20px 0;
}

img { max-width: 100%; height: auto; }
ul { list-style: none; margin: 0; padding: 0; }
a { text-decoration: none; }

/* =======================
   INSTALL OVERLAY (WITH FADE)
======================= */
#install-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.76);
  color: #fff;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease, transform 320ms ease;
  transform: translateY(8px);
}

#install-overlay.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#install-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

/* =======================
   FULLSCREEN OVERLAY CONTENT
======================= */
#install-overlay .overlay-content {
  background: rgba(0, 0, 0, 0.514);
  padding: 40px;
  border-radius: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  box-shadow: none;
  backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* overlay actions row */
#install-overlay .overlay-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* =======================
   BUTTONS
======================= */
.fxt-modal-btn {
  display: inline-block;
  min-width: 140px;
  text-align: center;
  color: #ffffff;
  border: 1px solid #007cb8;
  font-size: 16px;
  padding: 8px 18px;
  border-radius: 6px;
  background: transparent;
  transition: 0.2s ease-in-out;
  cursor: pointer;
}

.fxt-modal-btn:hover,
.fxt-modal-btn:focus {
  background: #ffffff;
  color: #14133b;
  outline: none;
}

/* =======================
   LAYOUT 32
======================= */
.fxt-template-layout32 {
  background-color: #000000;
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 30px;
}

.fxt-template-layout32 .fxt-content-wrap {
  border: 1px solid #007cb8;
  max-width: 700px;
  border-radius: 10px;
  padding: 120px 85px 100px;
  position: relative;
}

.fxt-template-layout32 .fxt-content-wrap .fxt-logo {
  background: #ffffff;
  padding: 30px 40px;
  border-radius: 10px;
  position: absolute;
  top: -43px;
  left: 85px;
}

.fxt-main-title {
  color: #afafaf;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 5px;
}

.fxt-main-description {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 30px;
}

/* Buttons equal width fix */
.fxt-btns-wrap ul {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-left: 0;
}

.fxt-btns-wrap ul li {
  flex: 1;
  min-width: 120px;
}

/* =======================
   MODALS
======================= */
.layout32.modal-dialog { max-width: 600px; }

.layout32.modal-content {
  margin-top: 45px;
  border-radius: 10px 0 10px 10px;
  border: 0;
  position: relative;
}

.layout32.modal-content .fxt-page-title-wrap {
  margin-top: 30px;
  text-align: center;
}

.layout32.modal-content .fxt-page-title {
  color: #14133b;
  font-weight: 700;
  font-size: 24px;
  padding: 15px 44px;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 5px;
  display: inline-block;
}

.layout32.modal-content .fxt-form {
  padding: 55px 100px 50px;
}

.layout32.modal-content .form-group {
  margin-bottom: 20px;
}

.layout32.modal-content .form-control {
  min-height: 50px;
  border: 1px solid #e7e7e7;
  padding: 10px 15px;
}

.layout32.modal-content .fxt-btn-fill {
  font-size: 18px;
  font-weight: 500;
  border: 1px solid #a93cd8;
  background: #a93cd8;
  padding: 12px 30px;
  width: 100%;
  color: #fff;
  border-radius: 3px;
  transition: 0.3s;
}

.layout32.modal-content .fxt-btn-fill:hover {
  background: #8c1ebb;
  border-color: #8c1ebb;
}

/* OTP input layout */
.layout32.modal-content .fxt-otp-row {
  display: flex;
  margin-bottom: 20px;
}

.layout32.modal-content .fxt-otp-col {
  flex: 1;
  margin-right: 20px;
  text-align: center;
}

.layout32.modal-content .fxt-otp-col:last-child {
  margin-right: 0;
}

/* INSTALL OVERLAY LOADER */
.install-loader-card {
  --bg-color: rgba(0, 0, 0, 0);
  background-color: var(--bg-color);
  padding: 1.4rem 2rem;
  border-radius: 1rem;
  margin-bottom: 25px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.install-loader-card p {
  margin: 0;
}

.loader {
  color: rgb(180, 180, 180);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 26px;
  box-sizing: content-box;
  height: 40px;
  padding: 10px 10px;
  display: flex;
  border-radius: 8px;
}

.words {
  overflow: hidden;
  position: relative;
}

.words::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--bg-color) 10%, transparent 30%, transparent 70%, var(--bg-color) 90%);
  z-index: 20;
}

.word {
  display: block;
  height: 100%;
  padding-left: 6px;
  color: #1bc1e5;
  text-shadow: 
    0 0 2px rgba(27, 193, 229, 0.8),
    0 0 4px rgba(27, 193, 229, 0.6),
    0 0 6px rgba(27, 193, 229, 0.4);
  animation: spin_4991 4s infinite;
}

@keyframes spin_4991 {
  10% { transform: translateY(-102%); }
  25% { transform: translateY(-100%); }
  35% { transform: translateY(-202%); }
  50% { transform: translateY(-200%); }
  60% { transform: translateY(-302%); }
  75% { transform: translateY(-300%); }
  85% { transform: translateY(-402%); }
  100% { transform: translateY(-400%); }
}

/* ===================================================
   APP LAUNCH LOADER (Bars)
=================================================== */
#app-launch-loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#app-launch-loader .loader {
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-bar {
  height: 25px;
  width: 6px;
  margin: 0 3px;
  border-radius: 20px;
  animation: funkyloader 2s ease-in-out infinite;
}

.bar-1 {
  background: linear-gradient(to right, #00e6e6, #00ccff, #0099ff, #0066ff);
  animation-delay: 0s;
  box-shadow: 0px 0px 15px 3px #00e6e6;
}

.bar-2 {
  background: linear-gradient(to right, #00ccff, #0099ff, #0066ff, #00e6e6);
  animation-delay: 0.1s;
  box-shadow: 0px 0px 15px 3px #00ccff;
}

.bar-3 {
  background: linear-gradient(to right, #0099ff, #0066ff, #00e6e6, #00ccff);
  animation-delay: 0.2s;
  box-shadow: 0px 0px 15px 3px #0099ff;
}

.bar-4 {
  background: linear-gradient(to right, #0066ff, #00e6e6, #00ccff, #0099ff);
  animation-delay: 0.3s;
  box-shadow: 0px 0px 15px 3px #0066ff;
}

@keyframes funkyloader {
  0% { transform: scaleY(1); }
  50% { transform: scaleY(2); }
  100% { transform: scaleY(1); }
}

/* ===================================================
   FIXED PAGE-SWITCH LOADER
=================================================== */
#page-switch-loader {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.514);
  backdrop-filter: blur(15px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

/* Unique class to avoid conflicts */
.page-switch-text {
  font-size: 34px;
  font-weight: 700;
  background: linear-gradient(to right, #2d60ec, #3ccfda);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}