@charset "UTF-8";
/**
 * Rokibul Physics Coaching center
 * Professional & Animated Login Portal Stylesheet
 * High-Performance, SolaimanLipi Typography, Ultra-Modern Glassmorphism
 */

@font-face {
  font-family: 'SolaimanLipi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/solaimanlipi.woff2') format('woff2');
}

@font-face {
  font-family: 'SolaimanLipi';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/solaimanlipi-bold.woff2') format('woff2');
}

:root {
  --primary-blue: #2563eb;
  --primary-dark: #1e3a8a;
  --primary-cyan: #0284c7;
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --bg-deep: #070b14;
  --bg-card: rgba(15, 23, 42, 0.85);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.login-page-body {
  font-family: 'SolaimanLipi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  background-color: var(--bg-deep);
  background: radial-gradient(circle at 10% 20%, #0d1b3e 0%, #070b14 60%, #030712 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  color: #0f172a;
  position: relative;
  overflow-x: hidden;
}

/* ইন্টারেক্টিভ ক্যানভাস ব্যাকগ্রাউন্ড */
.physics-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
  opacity: 0.65;
}

/* গ্লোয়িং অ্যাম্বিয়েন্ট অরবস */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  animation: floatAmbient 16s ease-in-out infinite alternate;
}

.ambient-orb-1 {
  width: 450px;
  height: 450px;
  top: -100px;
  left: -80px;
  background: radial-gradient(circle, #38bdf8 0%, rgba(56, 189, 248, 0) 70%);
}

.ambient-orb-2 {
  width: 500px;
  height: 500px;
  bottom: -120px;
  right: -100px;
  background: radial-gradient(circle, #6366f1 0%, rgba(99, 102, 241, 0) 70%);
  animation-delay: -6s;
}

.ambient-orb-3 {
  width: 320px;
  height: 320px;
  top: 45%;
  left: 55%;
  background: radial-gradient(circle, #10b981 0%, rgba(16, 185, 129, 0) 70%);
  opacity: 0.25;
  animation-delay: -10s;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* মূল লগইন পোর্টাল কন্টেইনার */
.login-portal-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 30px 80px -15px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 60px rgba(56, 189, 248, 0.12);
  overflow: hidden;
  animation: portalSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes portalSlideUp {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ========================================================
   বাম প্যানেল: ফিজিক্স ব্র্যান্ডিং ও ফিচার শোকেস
======================================================== */
.login-showcase-panel {
  background: linear-gradient(145deg, #090e1c 0%, #111a36 60%, #1e1b4b 100%);
  padding: 44px 40px;
  color: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.login-showcase-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.15), transparent 50%);
  pointer-events: none;
}

.showcase-header {
  position: relative;
  z-index: 2;
}

/* ব্র্যান্ড লোগো ও অ্যানিমেটেড অরবিট */
.showcase-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.atom-emblem-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.atom-core-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.atom-emblem-wrap:hover .atom-core-logo {
  transform: scale(1.08);
}

/* 3D সিএসএস আণবিক অরবিট রিংস */
.atom-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(56, 189, 248, 0.6);
  pointer-events: none;
}

.orbit-1 {
  width: 66px;
  height: 66px;
  border-color: rgba(56, 189, 248, 0.7);
  animation: rotateOrbit1 7s linear infinite;
}

.orbit-2 {
  width: 68px;
  height: 38px;
  border-color: rgba(168, 85, 247, 0.65);
  transform: rotate(45deg);
  animation: rotateOrbit2 9s linear infinite;
}

.orbit-3 {
  width: 68px;
  height: 38px;
  border-color: rgba(16, 185, 129, 0.65);
  transform: rotate(-45deg);
  animation: rotateOrbit3 11s linear infinite;
}

@keyframes rotateOrbit1 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateOrbit2 {
  from { transform: rotate(45deg) rotateZ(0deg); }
  to { transform: rotate(45deg) rotateZ(360deg); }
}

@keyframes rotateOrbit3 {
  from { transform: rotate(-45deg) rotateZ(0deg); }
  to { transform: rotate(-45deg) rotateZ(360deg); }
}

.showcase-brand-text h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #ffffff;
  line-height: 1.2;
}

.showcase-brand-tagline {
  font-size: 13.5px;
  color: #38bdf8;
  font-weight: 600;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.showcase-brand-tagline::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.showcase-main-title {
  font-size: 21px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.45;
  margin: 18px 0 24px 0;
  position: relative;
  z-index: 2;
}

.showcase-main-title span {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ফিচার হাইলাইটস কার্ডস */
.showcase-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
  margin-bottom: 28px;
}

.showcase-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.showcase-feature-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateX(4px);
}

.feature-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.feature-texts h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 2px;
}

.feature-texts p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.4;
}

/* ডিরেক্টর কোট কার্ড */
.showcase-director-card {
  position: relative;
  z-index: 2;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.director-avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
  flex-shrink: 0;
}

.director-info {
  flex: 1;
}

.director-quote {
  font-size: 13px;
  color: #e2e8f0;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 4px;
}

.director-signature {
  font-size: 12.5px;
  color: #38bdf8;
  font-weight: 700;
}

/* ========================================================
   ডান প্যানেল: লগইন ফর্ম ও ২-ফ্যাক্টর অথেনটিকেশন
======================================================== */
.login-form-panel {
  padding: 44px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  position: relative;
}

.form-header-strip {
  margin-bottom: 24px;
  text-align: left;
}

.security-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.login-form-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.login-form-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-top: 4px;
}

/* নোটিশ ও অ্যালার্ট বক্স (Shake Animation) */
.login-alert-box {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
  animation: shakeAlert 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shakeAlert {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.alert-type-error {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #b91c1c;
}

.alert-type-success {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  color: #15803d;
  animation: fadeInAlert 0.3s ease;
}

@keyframes fadeInAlert {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ফর্ম গ্রুপ ও ইনপুট */
.login-input-group {
  margin-bottom: 18px;
  position: relative;
}

.login-input-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 7px;
}

.input-with-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-leading-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 18px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.login-text-input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 44px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  outline: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.login-text-input:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.login-input-group:focus-within .input-leading-icon {
  color: #2563eb;
  transform: scale(1.1);
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.password-toggle-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
}

/* রিমেম্বার মি ও হেল্প রো */
.login-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 13.5px;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #2563eb;
  cursor: pointer;
}

.login-forgot-link {
  color: #0284c7;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: color 0.15s ease;
}

.login-forgot-link:hover {
  color: #0369a1;
  text-decoration: underline;
}

/* সাবমিট বোতাম (অ্যানিমেটেড গ্রেডিয়েন্ট ও শিমার) */
.btn-login-submit {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #0284c7 100%);
  background-size: 200% auto;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-login-submit::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.5s;
}

.btn-login-submit:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

.btn-login-submit:hover::after {
  left: 100%;
}

.btn-login-submit:active {
  transform: translateY(0);
}

/* ২-ফ্যাক্টর ওটিপি স্ক্রিন */
.otp-container-box {
  text-align: center;
}

.otp-shield-emblem {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px auto;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
  position: relative;
}

.otp-shield-emblem::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  border: 2px solid #3b82f6;
  opacity: 0.4;
  animation: pulseRadar 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes pulseRadar {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}

.otp-segmented-input {
  font-family: monospace;
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: 12px !important;
  text-align: center !important;
  height: 56px !important;
  padding: 0 16px !important;
  background: #eff6ff !important;
  border: 2px solid #3b82f6 !important;
  border-radius: 14px !important;
  color: #1e3a8a !important;
}

.otp-segmented-input:focus {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25) !important;
}

.otp-countdown-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 20px 0;
  font-size: 13.5px;
}

.otp-timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-weight: 700;
}

.otp-resend-link {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.otp-resend-link:hover {
  color: #1d4ed8;
}

.dev-helper-pill {
  background: #fffbeb;
  border: 1.5px dashed #f59e0b;
  color: #92400e;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 18px;
  text-align: left;
  line-height: 1.5;
}

.footer-copy-text {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

/* ========================================================
   রেস্পনসিভ স্টাইলস (মোবাইল ও ট্যাবলেট)
======================================================== */
@media (max-width: 900px) {
  .login-portal-wrapper {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .login-showcase-panel {
    padding: 32px 24px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .showcase-features-list {
    display: none;
  }

  .showcase-director-card {
    display: none;
  }

  .showcase-main-title {
    font-size: 18px;
    margin-bottom: 0;
  }

  .login-form-panel {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  body.login-page-body {
    padding: 12px 10px;
  }

  .login-form-title {
    font-size: 21px;
  }

  .login-text-input {
    height: 46px;
    font-size: 14.5px;
  }

  .btn-login-submit {
    height: 48px;
    font-size: 15px;
  }
}
