* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  height: 100%;
  font-family: 'Inter', sans-serif;
	overflow: hidden;
}
/* === INTRO LOADER === */
#intro-loader {
    position: fixed;
    inset: 0;
    background: #000;
    background-image: url(../images/login_bg.jpg);
	background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Content */
.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Logo */
.intro-content img {
  width: 96px;
  height: auto;
}

/* Brand name */
.intro-name {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.intro-name span {
  color: #0b77bc;
}

/* === Motion-safe animation === */
@media (prefers-reduced-motion: no-preference) {
  .intro-content {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    animation: introIn 0.6s ease-out forwards;
  }

  #intro-loader.fade-out {
    animation: introOut 0.45s ease forwards;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .intro-content {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Animations */
@keyframes introIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes introOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* === PAGE SPLIT === */
.login-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  width: 100%;
  user-select: none;
  position: relative;
}

/* === LEFT PANEL === */
.login-left {
	height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0px 20px 0px;
    background-image: url(../images/mesh.jpg);
	background-repeat: repeat;
	overflow-y: auto;
}
.register-left {
	height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0px 20px 0px;
    background-image: url(../images/mesh.jpg);
	background-repeat: repeat;
}

.register-left, .login-left {
    scrollbar-width: thin;
    scrollbar-color: #5a6775 #cdd6df;
}
.login-box {
  width: 100%;
  max-width: 360px;
}
.logo-section{
	position: absolute;
	top: 0px;
}
.logo {
  display: flex;
  justify-content: left;
  align-items: center;
  margin-bottom: 0px;
  margin-left: 0px;
  overflow: visible;
}
.logo img{
	width: 90px;
	height: auto;
	margin-top: 20px;
	margin-left: 0px;
}
.logo i {
  width: 30px;
  height: 30px;
}
.logo-name{
  position: static;
  margin-top: 20px;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.1;
}
.logo-name span{
  color: #0B77BC;
  margin-left:5px;
}
.login-box h2 {
  color: #0B77BC;
  text-align: center;
  font-size: 22px;
  font-weight: bolder;
  margin-bottom: 6px;
}

.login-box p {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  font-size: 14px;
  color: #374151;
  display: block;
  margin-bottom: 4px;
}

.form-group input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 6px;
  border: 1px solid #374151;
  font-size: 14px;
  background: #ECECEC;
}
.form-group input:focus,
.password-field input:focus {
  border-color: #0b77bc;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
  background: #ffffff;
}
.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.form-row a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}
.password-field {
  position: relative;
}

.password-field input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 6px;
  border: 1px solid #374151;
  font-size: 14px;
  background: #ECECEC;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-40%);
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 0;
}

.toggle-password:hover {
  color: #000;
}

.submit-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:10px;
  width: 100%;
  padding: 12px;
  background: #000000;
  color: #fff;
  border: none;
  border-radius: 6px;
  opacity: 0.5;
  cursor: not-allowed;
  transition: all 0.25s ease;
  font-size: 16px;
}
.submit-btn.active {
  opacity: 1;
  cursor: pointer;
}
.submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  background:#0B77BC;
}
.submit-btn2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  background: #000000;
  color: #fff;
  border: none;
  border-radius: 6px;
  transition: all 0.25s ease;
  font-size: 16px;

  margin-top: 14px;   /* ✅ space from input */
}

.submit-btn2:hover{
  background:#0B77BC;
}

/* Spinner */
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}

.submit-btn.loading .btn-spinner {
  display: inline-block;
}

.submit-btn.loading .btn-text {
  opacity: 0.8;
}

.submit-btn.loading {
  cursor: wait;
}

.submit-btn.loading .btn-spinner {
  display: inline-block;
}

.submit-btn.loading .btn-text {
  opacity: 0.8;
}

.submit-btn.loading {
  cursor: wait;
}
.signup-text {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

.signup-text a {
  color: #0b77bc;
  font-weight: 600;
  text-decoration: none;
}

/* === RIGHT PANEL === */
.login-right {
    background: radial-gradient(circle at top, #5c5c5c, #0f0f0f);
    color: #e5e7eb;
    padding: 80px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url(../images/login_bg.jpg);
}

.feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.feature:last-child {
  border-bottom: none;
}

.feature i {
  width: 22px;
  height: 22px;
  opacity: 0.85;
}

.feature-text h4 {
  font-size: 16px;
  margin: 0 0 4px 0;
  font-weight: 500;
	cursor: pointer;
}

.feature-text p {
  font-size: 12px;
  color: #9ca3af;
  margin: 0;
}
.feature-text:hover{
	color: #0b77bc;
}
/* === RESPONSIVE === */
@media (max-width: 900px) {
  .login-page {
    grid-template-columns: 1fr;
  }

  .login-right {
    display: none;
  }

  .login-left {
    padding: 40px 20px;
  }
}

.version {
  margin-top: 80px;
  margin-left: 27%;
  padding: 10px 14px;
  position: static;
  display: inline-block;
  font-weight: bold;
  border: 1px #0b77bc solid;
  border-radius: 100px;
  color: #0b77bc;
  font-size: 14px;
  user-select: none;
}

.feature-panel {
    height: 100%;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(
    circle at top left,
    #0b77bc33,
    #000000 60%
  );
    color: #fff;
    background-image: url(../images/login_bg.jpg);
    background-size:cover;
}

.feature-title {
	margin-top: 80px;
  font-size: clamp(26px, 4vw, 42px);
}

.feature-sub {
  font-size: clamp(14px, 2vw, 16px);
}

.feature-pills {
  display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px 18px;
}

.pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 14px;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, background 0.25s ease;
  cursor:pointer;
}

.pill i {
  width: 16px;
  height: 16px;
}

.pill:hover {
  transform: translateY(-2px);
  background: #0B77BC;
}

.feature-rotator {
  margin-top: 50px;
  font-size: 14px;
  color: #0b77bc;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.rotating-phrases {
  position: relative;
  height: 28px;              /* lock height = one line */
  overflow: hidden;
  margin-top: 20px;
}

.phrase {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color:#0B77BC;

  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
}

.phrase.active {
  opacity: 1;
  transform: translateY(0);
}

/* Lucide arrow */
.phrase i {
  width: 18px;
  height: 18px;
  color: #00b4ff;
  flex-shrink: 0;
}

/* Subtle arrow motion */
.phrase.active i {
  animation: arrowPulse 1.2s ease infinite;
}

@keyframes arrowPulse {
  0%   { transform: translateX(0); opacity: 0.6; }
  50%  { transform: translateX(6px); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.6; }
}

/*Mobile Phones*/
@media (max-width: 900px) {
  .login-box {
    max-width: 100%;
  }

  .logo-section {
    position: relative;
    margin-bottom: 30px;
  }

  .feature-panel {
    display: none;
  }

.version {
  margin-top: 80px;
  margin-left: 33%;
  padding: 10px 14px;
  position: static;
  display: inline-block;
  font-weight: bold;
  border: 1px #0b77bc solid;
  border-radius: 100px;
  color: #0b77bc;
  font-size: 14px;
  user-select: none;
}
}
/* === Motion-safe logo intro === */
@media (prefers-reduced-motion: no-preference) {
  .logo img {
    opacity: 0;
    transform: translateY(8px);
    animation: logoFadeUp 0.5s ease-out forwards;
  }

  .logo-name {
    opacity: 0;
    transform: translateY(6px);
    animation: textFadeUp 0.5s ease-out forwards;
    animation-delay: 0.15s;
  }
}

/* Reduced motion users get instant visibility */
@media (prefers-reduced-motion: reduce) {
  .logo img,
  .logo-name {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Keyframes */
@keyframes logoFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*Registration Form*/
.register-page {
	  width: 100%;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 10px 20px;
      overflow-y: auto;
	  overflow-x: hidden;
    }
.register-page {
    scrollbar-width: thin;
    scrollbar-color: #5a6775 #cdd6df;
}
    .register-box {
      width: 100%;
	  max-width: 100%;
	  height: 100vh;
	  max-height: 100vh;
    }

    .register-header {
      color: #0b77bc;
      padding: 0px;
      font-size: 22px;
      font-weight: bolder;
	  margin-top: 10px;
	  text-align: center;
	  display: span;

    }
.back-home-btn {
  background: none;
  border: none;
  color: #000000;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-left: 12px;
}

.back-home-btn:hover {
  text-decoration: underline;
}

    .step-indicator {
      display: flex;
      gap: 20px;
      padding: 14px 20px;
      background: #f1f5f9;
      border-bottom: 1px solid #dbe4f0;
    }

    .step {
      font-size: 14px;
      color: #6b7280;
      display: flex;
      gap: 6px;
      align-items: center;
    }

    .step.active {
      color: #0b77bc;
      font-weight: 700;
    }

    .form-body {
      padding: 10px 0px 30px 0px;
    }

    .form-section {
      margin-bottom: 8px;
    }

    label {
      font-size: 14px;
      display: block;
      margin-top: 12px;
      color: #000;
    }
    .password-label {
      font-size: 14px;
      display: block;
      margin-top: 3px;
      color: #000;
    }
  .form-section input {
      width: 100%;
      padding: 10px 14px;
      margin-top: 6px;
      border: 1px solid #2d3748;
      border-radius: 6px;
      font-size: 14px;
	  background: #ECECEC;
    }

    .login-box input {
      width: 100%;
      padding: 10px 14px;
      margin-top: 6px;
      border: 1px solid #2d3748;
      border-radius: 6px;
      font-size: 14px;
	  background: #ECECEC;
    }
    
    input:focus,
    select:focus,
    file:focus{
    background:#ffffff;
    border-color: #0b77bc;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
    }
    
    .form-section input:focus {
    background:#ffffff;
    border-color: #0b77bc;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
    }
    
.file-field{
	background: #ffffff;
}
    .form-step {
      display: none;
    }

    .form-step.active {
      display: block;
    }

    .next-btn,
    .back-btn,
    .create-btn {
      background: #000000;
      border: none;
	  border-radius: 8px;
      padding: 12px;
      color: #fff;
      font-size: 15px;
      width: 100%;
      cursor: pointer;
      margin-top: 5px;
	 justify-content: center;
    }

    .back-btn {
      background: #000000;
      width: 48%;
    }

    .step-actions {
      display: flex;
      justify-content: space-between;
      gap: 10px;
	  text-align: center;
    }

    /* Subscription Cards */
    .subscription-cards {
      display: grid;
      gap: 14px;
      margin-top: 0px;
    }

    .plan-card {
      border: 1px solid #d1d9e6;
      padding: 14px;
      cursor: pointer;
      background: #f9fbff;
      position: relative;
    }

    .plan-card input {
      display: none;
    }

    .plan-card:hover {
      border-color: #0b77bc;
    }
.plan-card.selected {
  border-color: #2563eb; /* blue highlight */
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
  background: #f8faff;
}

    .plan-card.featured {
      background: #eef6ff;
    }

    .badge {
      position: absolute;
      top: 10px;
      right: 10px;
      background: #0b77bc;
      color: #fff;
      font-size: 11px;
      padding: 3px 6px;
    }

    /* Plan Summary */
    .plan-summary {
      background: #f9fbff;
      border: 1px solid #dbe4f0;
      padding: 16px;
      margin-top: 20px;
    }

    .summary-row,
    .summary-total {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
      font-size: 14px;
    }

    .summary-total {
      font-weight: 700;
      color: #0b77bc;
    }

    .summary-divider {
      height: 1px;
      background: #e5e7eb;
      margin: 14px 0;
    }

    .summary-note {
      font-size: 12px;
      color: #6b7280;
    }

.subscription-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.plan-card {
  position: relative;
  border: 2px solid #d1d5db;
  background: #ffffff;
  cursor: pointer;
  transition: 0.25s ease;
}

.plan-card input {
  display: none;
}

.plan-content {
  padding: 18px 16px;
}

.plan-card h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111827;
}

.plan-card .price {
  font-size: 18px;
  font-weight: 800;
  color: #0b77bc;
  margin-bottom: 6px;
}

.plan-card .desc {
  font-size: 13px;
  color: #6b7280;
}

.plan-card:hover {
  border-color: #0b77bc;
  transform: translateY(-2px);
}

.plan-card input:checked + .plan-content {
  border-left: 4px solid #0b77bc;
}

.plan-card.featured {
  border-color: #0b77bc;
  background: linear-gradient(180deg, #f0f7ff, #ffffff);
}

.plan-card .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #0b77bc;
  color: #ffffff;
  font-size: 11px;
  padding: 3px 8px;
  font-weight: 700;
}

.plan-summary {
  margin: 24px 0;
  padding: 18px 18px;
  background: #f9fbff;
  border: 1px solid #dbe4f0;
}

.plan-summary h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #111827;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
  color: #374151;
}

.summary-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 14px 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  color: #0b77bc;
}

.summary-note {
  font-size: 12px;
  color: #6b7280;
  margin-top: 12px;
  line-height: 1.4;
}

.billing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.billing-grid label {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.billing-grid input,
.billing-grid select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #2d3748;
  font-size: 14px;
  background: #ffffff;
}

.billing-grid select {
  cursor: pointer;
}

.billing-note {
  margin-top: 14px;
  font-size: 13px;
  color: #4b5563;
  background: #f0f7ff;
  padding: 10px 12px;
  border-left: 4px solid #0b77bc;
}

/*Password Strength Indicator*/
.strength-bar {
  height: 6px;
  border-radius: 4px;
  margin-top: 4px;
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  width: 0%;
  background: red;
  transition: width 0.3s, background 0.3s;
  border-radius: 4px;
}

#strengthText {
  font-size: 12px;
  color: #555;
  margin-top: 2px;
  display: block;
}
/* Modal background */
.modal {
  display: none; 
  position: fixed; 
  z-index: 999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

/* Modal content box */
.modal-content {
  margin: 0 auto;
  padding: 20px;
  border-radius: 0px;
  width: 685px;
  max-width: 100%;
  position: relative;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 52px;
  right: 70px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

/* --- Step actions (Back / Confirm buttons) --- */
.step-header{
  margin-bottom: 0px;
  font-weight: 700;
}
.step-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
	text-align: center;
}

.step-actions .back-btn {
  background: #000000;
  color: #ffffff;
}

.step-actions .back-btn:hover {
  background: #0b77bc;
}


.step-actions .create-btn:hover {
  background: #0b77bc;
}

/* --- Mobile Responsive --- */
@media (max-width: 640px) {
  .preview-container {
    flex-direction: column;
  }
}
.login-box checkbox{
	display: flex;
   width: 0%;
    border: 1px solid #2d3748;
    font-size: 14px;
}
}

/* Forgot Password Modal */
.header{
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
  background: #000;
  padding: 20px 22px;
}
.forgot-page p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #4b5563;
}
.forgot-page .form-section input {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 0px;
  border: 1px solid #d1d5db;
}
.next-btn.disabled,
.next-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.checkbox-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #000000;
  cursor: pointer;
}

.checkbox-wrap input {
  width: 16px;
  height: 16px;
  accent-color: #0B77BC;
  cursor: pointer;
}

/* Make preview page full width */
#previewPage {
  width: 100%;
  min-height: 100vh;
  padding-bottom: 60px;
  padding-top: 60px;
}

#previewPage .register-page {
  width: 100%;
  max-width: 100%;
  padding: 0px 60px;
}

#previewPage .register-box {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 14px;
}
/* =====================
   SINGLE CTA BUTTON FIX
===================== */

// hide preview button completely
if (typeof previewBtn !== "undefined") {
  previewBtn.style.display = "none";
}

/*Button Modification*/
.create-btn {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transition: all 0.3s ease;
  text-align: center;
}

.create-btn.active {
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
  text-align: center;
}

.success-card {
  text-align: center;
}

.success-title {
  color: #1f8cff;
  font-weight: 600;
}

.success-sub {
  color: #666;
  margin-bottom: 20px;
}

.success-details {
  background: #f3f6fb;
  border-radius: 8px;
  padding: 14px;
  margin: 15px 0;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 15px;
}

.detail-row span {
  color: #777;
}

.detail-row strong {
  color: #000;
}

.photo-box {
  margin: 18px 0;
}

.photo-box img {
  width: 120px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.success-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 22px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.25s;
}

.success-btn:hover {
  background: #222;
}
