/* Sign-in Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body.sign-in-page {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  min-height: 100vh;
  width: 100vw !important;
  max-width: 100% !important;
}

/* Override any inherited main-layout styles */
body.sign-in-page .main-layout {
  display: block !important;
  min-height: auto !important;
}

body.sign-in-page .main-content {
  margin-left: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.background-slideshow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.background-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.background-slide.active {
  opacity: 1;
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(102, 126, 234, 0.85) 0%, 
    rgba(118, 75, 162, 0.85) 50%,
    rgba(64, 93, 230, 0.85) 100%);
  z-index: -1;
}

.photo-info {
  position: fixed;
  bottom: 30px;
  left: 30px;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 25px;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  z-index: 1;
}

.photo-info.show {
  opacity: 1;
  transform: translateY(0);
}

.child-name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.photo-caption {
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 10px;
  line-height: 1.5;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.photo-stats {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 8px;
  font-weight: 400;
}

.signin-container {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.left-panel {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 80px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  min-height: 100vh;
}

.brand-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
  animation: slideInLeft 0.8s ease-out;
}

.logo {
  width: 180px;
  height: 180px;
  margin: 0 auto 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.logo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}

.brand-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

.brand-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 50px;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.impact-stats {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 25px 30px;
  text-align: center;
  min-width: 140px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 8px;
  font-weight: 400;
}

.right-panel {
  flex: 1;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.login-form-container {
    width: 100%;
    max-width: 520px;
    animation: slideInRight 0.8s ease-out;
}

.form-header {
  text-align: center;
  margin-bottom: 45px;
}

.form-title {
  font-size: 2.4rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 12px;
}

.form-subtitle {
  color: #718096;
  font-size: 1.15rem;
  font-weight: 300;
}

.alert {
  margin-bottom: 28px;
  padding: 20px 26px;
  border-radius: 18px;
  font-size: 0.95rem;
  animation: fadeIn 0.5s ease-out;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.alert-warning {
  background: rgba(255, 193, 7, 0.15);
  color: #856404;
  border-color: rgba(255, 193, 7, 0.3);
}

.alert-info {
  background: rgba(13, 202, 240, 0.15);
  color: #0c5460;
  border-color: rgba(13, 202, 240, 0.3);
}

.form-group {
  margin-bottom: 30px;
  position: relative;
}

.form-input {
  width: 100%;
  padding: 22px 26px;
  border: 2px solid #e2e8f0;
  border-radius: 18px;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.85);
  color: #2d3748;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-weight: 400;
}

.form-input::placeholder {
  color: #a0aec0;
  font-weight: 300;
}

.form-input:focus {
  border-color: #667eea;
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.2);
}

.submit-btn {
  width: 100%;
  padding: 22px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 18px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 18px;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}

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

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.form-footer {
  text-align: center;
  margin-top: 40px;
}

.forgot-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1.05rem;
}

.forgot-link:hover {
  color: #764ba2;
  text-shadow: 0 0 12px rgba(102, 126, 234, 0.4);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
  width: 70px;
  height: 70px;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shape:nth-child(2) {
  width: 50px;
  height: 50px;
  top: 75%;
  left: 85%;
  animation-delay: 4s;
}

.floating-shape:nth-child(3) {
  width: 90px;
  height: 90px;
  bottom: 25%;
  left: 5%;
  animation-delay: 8s;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-35px) rotate(180deg); 
    opacity: 1;
  }
}

/* Large desktop screens */
@media (min-width: 1400px) {
  .login-form-container {
    max-width: 600px;
  }
  
  .left-panel {
    padding: 100px 120px;
  }
  
  .right-panel {
    padding: 100px 120px;
  }
  
  .brand-title {
    font-size: 4rem;
  }
  
  .brand-subtitle {
    font-size: 1.4rem;
    max-width: 560px;
  }
}

@media (max-width: 768px) {
  .signin-container {
    flex-direction: column;
  }
  
  .left-panel {
    min-height: 50vh;
    padding: 40px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }
  
  .brand-title {
    font-size: 2.8rem;
  }
  
  .impact-stats {
    gap: 20px;
    margin-top: 25px;
  }
  
  .stat-item {
    padding: 20px;
    min-width: 110px;
  }
  
  .right-panel {
    padding: 40px 20px;
    border-left: none;
  }
  
  .login-form-container {
    max-width: 100%;
  }
  
  .logo {
    width: 120px;
    height: 120px;
  }
  
  .photo-info {
    bottom: 10px;
    left: 10px;
    right: 10px;
    max-width: none;
  }
  
  .photo-info, .impact-stats, .brand-subtitle, .brand-title {
    display: none;
  }
} 