/*
 * Login Page Styles - Sleek and Simple
 */

/* Main Login Section */
.login-section {
  background: linear-gradient(135deg, #fff0e6 0%, #e8ddd4 50%, #d4c4b0 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.login-container {
  width: 100%;
  max-width: 400px;
  position: relative;
}

/* Initial Login Container */
.login-form-container {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(24, 59, 78, 0.15);
  text-align: center;
  transition: all 0.5s ease;
}

.login-form-container h1 {
  font-family: 'Caprasimo', serif;
  font-size: 2.5rem;
  color: #183b4e;
  margin-bottom: 15px;
  line-height: 1.2;
}

.login-description {
  font-size: 1.1rem;
  color: #7d1f42;
  margin-bottom: 40px;
  font-weight: 500;
}

/* Login Button */
.login-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #183b4e, #7d1f42);
  color: #fff0e6;
  border: none;
  border-radius: 10px;
  font-size: 1.2rem;
  font-family: 'Caprasimo', serif;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

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

.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(24, 59, 78, 0.3);
}

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

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

/* Footer */
.login-footer {
  margin-top: 30px;
  text-align: center;
}

.login-footer p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.join-link {
  color: #7d1f42;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.join-link:hover {
  color: #183b4e;
  text-decoration: underline;
}

/* Surprise Container */
.surprise-container {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

/* Surprise Messages */
.surprise-message {
  text-align: center;
  transform: translateX(-100vw);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.surprise-message h2 {
  font-family: 'Caprasimo', serif;
  font-size: 3.5rem;
  color: #183b4e;
  margin: 0;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(24, 59, 78, 0.1);
}

/* Final 404 */
.final-404 {
  text-align: center;
  transform: translateX(-100vw);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-width: 450px;
  width: 100%;
}

.final-404 .section-number {
  font-family: 'Caprasimo', serif;
  font-size: 6rem;
  color: rgba(24, 59, 78, 0.15);
  line-height: 1;
  margin-bottom: 20px;
  font-weight: bold;
}

.final-404 h2 {
  font-family: 'Caprasimo', serif;
  font-size: 2.2rem;
  color: #183b4e;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(24, 59, 78, 0.1);
}

.final-404 p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #183b4e;
  margin-bottom: 30px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(24, 59, 78, 0.1);
}

/* Back Button */
.back-btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: #183b4e;
  color: #fff0e6;
  text-decoration: none;
  font-family: 'Caprasimo', serif;
  font-size: 1.1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(24, 59, 78, 0.2);
}

.back-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(24, 59, 78, 0.3);
  background-color: #0f2835;
  color: #fff0e6;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 480px) {
  .login-section {
    padding: 20px 15px;
  }
  
  .login-form-container,
  .surprise-message,
  .final-404 {
    padding: 40px 30px;
  }
  
  .surprise-message h2,
  .final-404 h2 {
    font-size: 2.5rem;
  }
  
  .final-404 .section-number {
    font-size: 4rem;
  }
  
  .final-404 p {
    font-size: 1rem;
  }
  
  .form-group input {
    padding: 12px;
  }
  
  .login-btn {
    padding: 15px;
    font-size: 1.1rem;
  }
}