*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;min-height:100vh}
.page-bg{position:fixed;top:0;left:0;width:100vw;height:100vh;display:grid;grid-template-columns:1fr 1fr;z-index:-1}
.page-bg-left{background:#fef6f8}
.page-bg-right{background:#fff}
.login-page{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;gap:0;max-width:1200px;margin:0 auto;position:relative;z-index:1}
.left-sidebar{background:#fef6f8;padding:8.56rem 3rem 2.5rem;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.brand-header{display:flex;align-items:center;gap:0.6rem;position:absolute;top:1.5rem;left:2rem;margin-bottom:0;z-index:2}
.brand-logo-img{max-height:48px;width:auto;display:block}
.brand-logo{width:32px;height:32px;background:var(--brand-gradient, linear-gradient(135deg,var(--brand-1, #d22332),var(--brand-1-dark, #a81c28)));border-radius:50%;display:flex;align-items:center;justify-content:center}
.brand-logo svg{width:18px;height:18px;color:white}
.brand-text{font-size:1.3rem;font-weight:700;color:#333}
.brand-tagline{font-size:0.7rem;color:#888;margin-top:-2px}
.left-headline{font-size:1.6rem;font-weight:700;color:#333;line-height:1.2;margin-bottom:0.75rem}
.left-headline span{color:var(--brand-1, #d22332);font-family:'Dancing Script',cursive;font-weight:700;font-size:1.15em;}
.left-headline .fly-hearts{position:relative;display:inline-block;width:0;height:1em;vertical-align:baseline;}
.left-headline .fly-heart{position:absolute;bottom:0;color:var(--brand-1, #d22332);opacity:0;animation:flyUp 3.2s ease-in infinite;pointer-events:none;}
.left-headline .fly-heart svg{display:block;filter:drop-shadow(0 1px 2px rgba(var(--brand-1-rgb, 210,35,50),0.3));}
.left-headline .fly-heart.f1{left:4px;animation-delay:0s;}
.left-headline .fly-heart.f2{left:16px;animation-delay:0.8s;}
.left-headline .fly-heart.f3{left:-6px;animation-delay:1.6s;}
.left-headline .fly-heart.f4{left:10px;animation-delay:2.4s;}
.left-headline .fly-heart.f5{left:26px;animation-delay:1.2s;}
.left-headline .fly-heart.f6{left:-14px;animation-delay:2.9s;}
.left-headline .fly-heart.f1 svg{width:14px;height:14px;}
.left-headline .fly-heart.f2 svg{width:10px;height:10px;}
.left-headline .fly-heart.f3 svg{width:12px;height:12px;}
.left-headline .fly-heart.f4 svg{width:9px;height:9px;}
.left-headline .fly-heart.f5 svg{width:11px;height:11px;}
.left-headline .fly-heart.f6 svg{width:13px;height:13px;}
@keyframes flyUp{
  0%{transform:translate(0,0) scale(0.5) rotate(0deg);opacity:0;}
  12%{opacity:0.95;}
  50%{transform:translate(6px,-48px) scale(0.9) rotate(8deg);opacity:0.85;}
  100%{transform:translate(-4px,-95px) scale(1) rotate(-6deg);opacity:0;}
}
.left-subtext{font-size:0.9rem;color:#777;margin-bottom:2rem;line-height:1.5}
.feature-list{display:flex;flex-direction:column;gap:1.1rem}
.feature-item{display:flex;align-items:flex-start;gap:0.9rem;transition:transform 0.3s ease,padding-left 0.3s ease;cursor:default}
.feature-item:hover{transform:translateX(6px)}
.feature-item:hover .feature-icon{transform:scale(1.15) rotate(-5deg);box-shadow:0 4px 14px rgba(183,28,122,0.15)}
.feature-item:hover .feature-title{color:var(--brand-1, #d22332)}
.feature-icon{width:40px;height:40px;border-radius:10px;background:white;box-shadow:0 2px 8px rgba(0,0,0,0.06);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform 0.3s ease,box-shadow 0.3s ease}
.feature-icon svg{width:20px;height:20px;color:var(--brand-1, #d22332)}
.feature-title{font-size:0.85rem;font-weight:600;color:#333;margin-bottom:2px;transition:color 0.3s ease}
.feature-desc{font-size:0.75rem;color:#888}
.center-form{background:#fff;display:flex;align-items:center;justify-content:center;padding:2.5rem}
.mobile-logo{display:none}
.login-card{width:100%;max-width:380px}
.login-title{font-size:1.3rem;font-weight:700;color:#333;text-align:center;margin-bottom:0.4rem}
.login-subtitle{font-size:0.8rem;color:#888;text-align:center;margin-bottom:1.5rem}
.login-tabs{display:flex;border-bottom:1px solid #eee;margin-bottom:1.5rem;position:relative}
.login-tab{flex:1;display:flex;align-items:center;justify-content:center;gap:0.4rem;padding:0.7rem 0;font-size:0.8rem;font-weight:600;color:#888;cursor:pointer;border:none;background:none;transition:color 0.2s}
.login-tab.active{color:var(--brand-1, #d22332)}
.login-tab svg{width:16px;height:16px}
.tab-indicator{position:absolute;bottom:0;left:0;width:50%;height:2px;background:var(--brand-gradient, linear-gradient(90deg,var(--brand-1, #d22332),var(--brand-1-dark, #a81c28)));border-radius:2px;transition:transform 0.3s ease}
.tab-indicator.otp{transform:translateX(100%)}
.form-group{margin-bottom:1rem}
.form-label-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:0.35rem}
.form-label{font-size:0.75rem;font-weight:500;color:#555}
.forgot-link{font-size:0.7rem;color:var(--brand-1, #d22332);text-decoration:none;font-weight:500}
.forgot-link:hover{text-decoration:underline}
.input-wrap{position:relative}
.form-control{width:100%;padding:0.65rem 0.75rem 0.65rem 2.2rem;border:1px solid #e0e0e0;border-radius:8px;font-size:0.85rem;color:#333;transition:border-color 0.2s,box-shadow 0.2s;font-family:inherit}
.form-control:focus{outline:none;border-color:var(--brand-1, #d22332)}
.input-icon{position:absolute;left:0.7rem;top:50%;transform:translateY(-50%);color:#bbb}
.input-icon svg{width:16px;height:16px}
.input-eye{position:absolute;right:0.7rem;top:50%;transform:translateY(-50%);color:#bbb;cursor:pointer;border:none;background:none}
.input-eye svg{width:18px;height:18px}
.remember-forgot-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.25rem}
.custom-check{appearance:none;width:16px;height:16px;border:1.5px solid var(--brand-1, #d22332);border-radius:4px;cursor:pointer;position:relative;transition:background 0.2s}
.custom-check:checked{background:var(--brand-gradient, linear-gradient(135deg,#d22332,#ff7e47))}
.custom-check:checked::after{content:'';position:absolute;left:4px;top:1px;width:4px;height:8px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}
.remember-label{font-size:0.8rem;color:#555;cursor:pointer;display:flex;align-items:center;gap:0.5rem}
.btn-login{width:100%;padding:0.75rem;border:none;border-radius:8px;background:var(--brand-gradient, linear-gradient(135deg,var(--brand-1, #d22332),var(--brand-1-dark, #a81c28)));color:white;font-size:0.9rem;font-weight:600;cursor:pointer;transition:opacity 0.2s,transform 0.2s;font-family:inherit}
.btn-login:hover{opacity:0.92;transform:translateY(-1px)}
.divider{display:flex;align-items:center;gap:0.75rem;margin:1.25rem 0;color:#bbb;font-size:0.75rem}
.divider::before,.divider::after{content:'';flex:1;height:1px;background:#eee}
.social-buttons{display:grid;grid-template-columns:1fr 1fr;gap:0.75rem;margin-bottom:1.25rem}
.btn-social{display:flex;align-items:center;justify-content:center;gap:0.4rem;padding:0.6rem;border:1px solid #e0e0e0;border-radius:8px;background:white;font-size:0.8rem;color:#555;cursor:pointer;transition:border-color 0.2s,box-shadow 0.2s;font-family:inherit;text-decoration:none}
.btn-social:hover{border-color:#ccc;box-shadow:0 2px 8px rgba(0,0,0,0.05)}
.btn-social svg{width:18px;height:18px}
.register-row{text-align:center;font-size:0.8rem;color:#777;margin-top:5px;margin-bottom:1.5rem}
.register-row a{color:var(--brand-1, #d22332);font-weight:600;text-decoration:none}
.register-row a:hover{text-decoration:underline}
.security-badges{display:flex;justify-content:center;gap:1.5rem}
.security-badge{display:flex;align-items:center;gap:0.35rem;font-size:0.65rem;color:#999}
.security-badge svg{width:14px;height:14px;color:#888}
.left-success-stories{margin-top:auto;padding-top:2rem}
.left-success-stories .success-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:0.75rem}
.left-success-stories .section-title{font-size:0.9rem;font-weight:700;color:#333}
.left-success-stories .heart-icon{color:var(--brand-1, #d22332)}
.left-success-stories .heart-icon svg{width:18px;height:18px}
.left-success-stories .story-nav{display:flex;gap:0.3rem}
.left-success-stories .story-nav-btn{width:26px;height:26px;border:1px solid #e0e0e0;border-radius:50%;background:white;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.2s ease;padding:0}
.left-success-stories .story-nav-btn:hover{background:var(--brand-gradient, linear-gradient(135deg,#d22332,#ff7e47));border-color:var(--brand-1, #d22332)}
.left-success-stories .story-nav-btn:hover svg{color:white}
.left-success-stories .story-nav-btn svg{width:14px;height:14px;color:#888;transition:color 0.2s ease}
.left-success-stories .success-card{background:white;border-radius:12px;padding:1rem 1.25rem;margin-bottom:1rem;box-shadow:0 2px 12px rgba(0,0,0,0.04)}
.left-success-stories .success-quote{font-size:0.78rem;color:#555;line-height:1.5;font-style:italic;margin-bottom:0.4rem}
.left-success-stories .success-author{font-size:0.72rem;color:var(--brand-1, #d22332);font-weight:600}
.left-success-stories .stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0.6rem}
.left-success-stories .stat-card{background:white;border-radius:10px;padding:0.7rem 0.5rem;display:flex;align-items:center;gap:0.4rem;box-shadow:0 2px 8px rgba(0,0,0,0.03)}
.left-success-stories .stat-icon{width:28px;height:28px;background:linear-gradient(135deg,var(--brand-1-tint, #fce4ec),#f3e5f5);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.left-success-stories .stat-icon svg{width:14px;height:14px;color:var(--brand-1, #d22332)}
.left-success-stories .stat-value{font-size:0.8rem;font-weight:700;color:#333}
.left-success-stories .stat-label{font-size:0.6rem;color:#888}
.otp-form{display:none}
.otp-form.active{display:block}
.login-form{display:none}
.login-form.active{display:block}
.otp-inputs{display:flex;gap:0.5rem;justify-content:center;margin-bottom:1rem}
.otp-input{width:45px;height:50px;border:1px solid #e0e0e0;border-radius:8px;text-align:center;font-size:1.2rem;font-weight:600;color:#333;transition:border-color 0.2s}
.otp-input:focus{outline:none;border-color:var(--brand-1, #d22332)}
.otp-text{font-size:0.75rem;color:#888;text-align:center;margin-bottom:1rem}
.otp-text a{color:var(--brand-1, #d22332);text-decoration:none;font-weight:500}
.alert-danger{background:#ffebee;color:#c62828;padding:0.75rem;border-radius:8px;font-size:0.8rem;margin-bottom:1rem}
/* Floating Labels */
.floating-label{position:relative;margin-bottom:1.25rem}
.floating-label input{width:100%;padding:0.65rem 0.75rem;border:1.5px solid #555;border-radius:10px;font-size:0.9rem;line-height:1.4;color:#333;background:white;transition:border-color 0.3s,box-shadow 0.3s;font-family:inherit}
.floating-label input:focus{border-color:var(--brand-1, #d22332);outline:none}
.floating-label label{position:absolute;left:0.75rem;top:0.65rem;color:#999;font-size:0.9rem;pointer-events:none;transition:all 0.3s ease;background:white;padding:0 0.25rem;white-space:nowrap;transform-origin:left center}
.floating-label input:focus ~ label,
.floating-label input.has-value ~ label,
.floating-label input:not(:placeholder-shown) ~ label,
.floating-label input:-webkit-autofill ~ label,
.floating-label.is-focused label,
.floating-label.has-value label{top:0;transform:translateY(-50%) scale(0.75);color:#555;font-weight:600}
@keyframes onAutoFillStart{from{}to{}}
.floating-label input:-webkit-autofill{animation-name:onAutoFillStart;animation-duration:0.001s}
.floating-label input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px white inset !important;-webkit-text-fill-color:#333 !important;caret-color:#333;}
.floating-label .input-eye{position:absolute;right:0.6rem;top:50%;transform:translateY(-50%);color:#999;cursor:pointer;border:none;background:none;width:28px;height:28px;display:flex;align-items:center;justify-content:center;z-index:2}
.floating-label .input-eye svg{width:18px;height:18px}
.forgot-panel{margin-bottom:1.5rem}
.back-to-login{display:inline-block;font-size:0.78rem;color:var(--brand-1, #d22332);text-decoration:none;font-weight:500;margin-bottom:1rem}
.back-to-login:hover{text-decoration:underline}
.forgot-title{font-size:1.1rem;font-weight:700;color:#333;margin-bottom:0.3rem}
.forgot-subtitle{font-size:0.78rem;color:#888;margin-bottom:1.25rem;line-height:1.5}
@media(max-width:1100px){.login-page{grid-template-columns:1fr 1fr}.left-sidebar{padding:8.56rem 2rem 2rem}}
@media(max-width:768px){
  .login-page{grid-template-columns:1fr}
  .page-bg{grid-template-columns:1fr}
  .page-bg-left{display:none}
  .left-sidebar{display:none}
  .center-form{padding:2rem 1.25rem}
  .login-card{max-width:100%}
  .mobile-logo{display:flex;justify-content:center;margin-bottom:1.5rem}
  .mobile-logo .brand-logo-img{max-height:52px}
  .floating-label input,.floating-label select,.floating-label textarea{font-size:16px;padding:0.7rem 0.75rem}
  .floating-label label{font-size:16px}
  .form-control,.form-select{font-size:16px}
  input,select,textarea{font-size:16px}
}
@media(max-width:480px){
  .login-page{grid-template-columns:1fr}
  .center-form{padding:1.5rem 1rem}
  .login-card{max-width:100%}
  .mobile-logo .brand-logo-img{max-height:48px}
  .login-title{font-size:1.15rem}
  .login-subtitle{font-size:0.75rem;margin-bottom:1.25rem}
  .floating-label{margin-bottom:1rem}
  .floating-label input{font-size:16px;padding:0.65rem 0.65rem}
  .floating-label label{font-size:16px}
  .form-control{font-size:16px;padding:0.6rem 0.65rem 0.6rem 2rem}
  .btn-login{padding:0.7rem;font-size:0.85rem}
  .divider{margin:1rem 0;font-size:0.7rem}
  .social-buttons{gap:0.5rem}
  .btn-social{padding:0.55rem;font-size:0.75rem}
  .security-badges{gap:1rem;margin-top:1rem}
  .security-badge{font-size:0.6rem}
  .otp-input{width:38px;height:44px;font-size:1.05rem}
  .otp-inputs{gap:0.35rem}
  .forgot-title{font-size:1rem}
  .forgot-subtitle{font-size:0.72rem}
  .login-tabs{margin-bottom:1rem}
  .login-tab{font-size:0.75rem;padding:0.6rem 0}
}
