/* Login Page Styles */

/* Base Styles */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header Styles */
.futuristic-header {
  position: relative;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 245, 255, 0.2);
  padding: 1rem 0;
}

.futuristic-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.1;
  }
}

.logo-text {
  font-family: "Orbitron", monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-accent {
  color: #00f5ff;
}

/* Auth Section */
.auth-section {
  display: flex;
  align-items: center;
}

.auth-container {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.auth-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #00f5ff;
  margin-bottom: 1.5rem;
}

.section-title-futuristic {
  font-family: "Orbitron", monospace;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #00f5ff, #8b5cf6, #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.title-main {
  display: block;
}

.title-accent {
  display: block;
  color: #00f5ff;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Auth Form */
.auth-form-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.form-group label i {
  color: #00f5ff;
  width: 16px;
}

.form-group input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  padding: 1rem;
  color: var(--text-primary);
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(0, 245, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.1);
}

.form-group input::placeholder {
  color: var(--text-secondary);
}

.password-input {
  position: relative;
}

.password-input input {
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: #00f5ff;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #00f5ff;
  border-color: #00f5ff;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.forgot-password {
  color: #00f5ff;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: #8b5cf6;
}

.btn-auth {
  background: linear-gradient(135deg, #00f5ff, #8b5cf6);
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-auth:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 245, 255, 0.3);
}

.btn-glow {
  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.5s ease;
}

.btn-auth:hover .btn-glow {
  left: 100%;
}

.auth-divider {
  text-align: center;
  position: relative;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
  background: var(--bg-primary);
  padding: 0 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-social {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.btn-social:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 245, 255, 0.3);
  transform: translateY(-2px);
}

.btn-social.google:hover {
  border-color: rgba(234, 67, 53, 0.5);
}

.btn-social.facebook:hover {
  border-color: rgba(24, 119, 242, 0.5);
}

.auth-switch {
  text-align: center;
}

.auth-switch p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.auth-switch a {
  color: #00f5ff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.auth-switch a:hover {
  color: #8b5cf6;
}

/* Footer Styles */
.futuristic-footer {
  background: rgba(0, 0, 0, 0.9);
  border-top: 1px solid rgba(0, 245, 255, 0.2);
  margin-top: 3rem;
}

.footer-content-futuristic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section-futuristic h4 {
  font-family: "Orbitron", monospace;
  color: #00f5ff;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-logo-futuristic {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #00f5ff, #8b5cf6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.footer-logo-text {
  font-family: "Orbitron", monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-logo-accent {
  color: #00f5ff;
}

.footer-description-futuristic {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.social-links-futuristic {
  display: flex;
  gap: 1rem;
}

.social-link-futuristic {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-link-futuristic:hover {
  background: rgba(0, 245, 255, 0.1);
  border-color: rgba(0, 245, 255, 0.3);
  color: #00f5ff;
  transform: translateY(-2px);
}

.footer-links-futuristic {
  list-style: none;
  padding: 0;
}

.footer-links-futuristic li {
  margin-bottom: 0.5rem;
}

.footer-links-futuristic a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links-futuristic a:hover {
  color: #00f5ff;
}

.footer-bottom-futuristic {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-futuristic {
  display: flex;
  gap: 2rem;
}

.footer-legal-futuristic a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-legal-futuristic a:hover {
  color: #00f5ff;
}

.footer-bottom-futuristic p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .futuristic-nav {
    padding: 0 1rem;
  }

  .section-title-futuristic {
    font-size: 2rem;
  }

  .auth-form-container {
    padding: 2rem;
  }

  .footer-content-futuristic {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom-futuristic {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-futuristic {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .auth-section {
    padding: 2rem 0;
  }

  .auth-header {
    margin-bottom: 2rem;
  }

  .section-title-futuristic {
    font-size: 1.75rem;
  }

  .auth-form-container {
    padding: 1.5rem;
  }

  .form-options {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}
