/*
 * Organise With Me — Auth Stylesheet
 * Version: 1.0.0
 */

/* ============================================================
   Auth Layout (split screen)
   ============================================================ */
.owm-page-auth.owm-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

.owm-auth-layout {
  display: flex;
  min-height: 100vh;
}

/* Left panel — blue gradient with branding */
.owm-auth-left {
  flex: 1;
  background: linear-gradient(145deg, #0F172A 0%, #1E40AF 50%, #2563EB 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.owm-auth-left::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(96,165,250,0.15);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.owm-auth-left::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  bottom: -80px;
  left: -80px;
}

.owm-auth-brand {
  text-align: center;
  position: relative;
  z-index: 1;
}

.owm-auth-logo {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
  animation: owm-float 3s ease-in-out infinite;
}

@keyframes owm-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.owm-auth-logo-text {
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

.owm-auth-logo-text strong {
  color: #60A5FA;
  font-weight: 800;
}

.owm-auth-tagline {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  margin-top: 2rem;
  text-align: center;
  font-style: italic;
  position: relative;
  z-index: 1;
  max-width: 300px;
}

/* Right panel — white card with form */
.owm-auth-right {
  width: 480px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 2rem;
  overflow-y: auto;
}

.owm-auth-card {
  width: 100%;
  max-width: 400px;
}

.owm-auth-card-logo {
  font-size: 1.1rem;
  font-weight: 500;
  color: #64748B;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.owm-auth-card-logo span  { font-size: 1.5rem; }
.owm-auth-card-logo strong { color: #1E40AF; font-weight: 800; }

.owm-auth-card-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.4rem;
}

.owm-auth-card-subtitle {
  font-size: 0.95rem;
  color: #64748B;
  margin-bottom: 1.75rem;
}

.owm-auth-footer-text {
  text-align: center;
  font-size: 0.9rem;
  color: #64748B;
  margin-top: 1.5rem;
}

/* ============================================================
   Responsive — Mobile: single column
   ============================================================ */
@media (max-width: 768px) {
  .owm-auth-layout {
    flex-direction: column;
  }

  .owm-auth-left {
    flex: none;
    min-height: 180px;
    padding: 2rem 1.5rem;
  }

  .owm-auth-logo { font-size: 2.5rem; margin-bottom: 0.5rem; }
  .owm-auth-tagline { margin-top: 0.75rem; font-size: 1rem; }

  .owm-auth-right {
    width: 100%;
    padding: 1.5rem 1rem;
    align-items: flex-start;
  }

  .owm-auth-card { max-width: 100%; }
}
