:root {
  --background: #09090b;
  --foreground: #fafafa;
  --primary: #facc15;
  --primary-foreground: #000;
  --border: #27272a;
  --muted: #18181b;
  --card: #18181b;
  --text-gray: #a1a1aa;
  --golden: #FFA629;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
}

/* Logo */
.logo-top-right {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  z-index: 100;
}

.logo-top-right .header__logo-img {
  width: 100px;
  height: auto;
}

/* Main Container */
.container {
  max-width: 1280px;
  margin-top: 0;
  padding: 2rem 1rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.login-content {
  display: flex;
  width: 100%;
  gap: 2rem;
  align-items: center;
}

/* Left Side */
.login-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
}

.text-glow-wrapper {
  margin-top: 0;
  position: relative;
  margin-bottom: 2rem;
  text-align: center;
  /* Add this to center the text */
  width: 100%;
  /* Ensure it takes full width */
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  text-align: center;
  /* Center the text */
  width: 100%;
  /* Take full width */
}

.hero-title1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  min-height: 3.5rem;
  text-align: center;
  /* Center the text */
  width: 100%;
  /* Take full width */
  /* Add space between text and image */
}

.hero-image-container {
  display: flex;
  justify-content: center;
  /* Center the image horizontally */
  width: 100%;
  margin-top: 0;
}

.text-yellow-glow {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 150%;
  height: 250%;
  background: radial-gradient(circle, rgba(255, 221, 0, 0.4) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  filter: blur(100px);
  z-index: 0;
  border-radius: 50%;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

.typewriter-text::after {
  content: '|';
  animation: blink 0.7s infinite;
  color: var(--primary);
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes pulseGlow {
  from {
    transform: translate(-50%, -50%) scale(1);
  }

  to {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.hero-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;

  display: block;
}

/* Right Side */
.right-panel {
  flex: 1;
  max-width: 500px;
  padding-left: 2rem;
  margin-right: 0;

}

.form-container {
  background-color: #161616;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
}

.form-container h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.sub-text {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #2A2A2A;
  color: var(--foreground);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.2);
}

.password-input-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--primary);
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.options label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--foreground);
}

.options input[type="checkbox"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--text-gray);
  border-radius: 4px;
  background-color: #2A2A2A;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.options input[type="checkbox"]:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.options input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--primary-foreground);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label .text {
  color: var(--primary);
  text-decoration: none;
}

.checkbox-label .text:hover {
  text-decoration: underline;
}


.options a {
  color: var(--primary);
  text-decoration: none;
}

.options a:hover {
  text-decoration: underline;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background-color: var(--primary);
  color: var(--background);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;

  transition: all 0.3s ease;
}

.login-btn:hover {
  opacity: 0.9;
  background-color: var(--golden);
}

.divider-text {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--text-gray);
  font-size: 0.875rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: var(--border);
}

.divider-label {
  padding: 0 0.75rem;
}

.social-login {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-login button {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.social-login button:hover {
  border-color: var(--primary);
}

.signup-text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-gray);
}

.signup-text a {
  color: var(--primary);
  text-decoration: none;
}

.signup-text a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {

  .hero-title,
  .hero-title1 {
    font-size: 2rem;
  }

  .hero-img {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .login-content {
    flex-direction: column;
    gap: 3rem;
    padding-top: 4rem;
  }

  .login-text {
    text-align: center;
    padding: 0;
  }

  .right-panel {
    width: 100%;
    max-width: 450px;
    padding: 0;
  }

  .logo-top-right {
    top: 1rem;
    left: 1rem;
  }

  .logo-top-right .header__logo-img {
    width: 90px;
  }
}

@media (max-width: 480px) {

  .hero-title,
  .hero-title1 {
    font-size: 1.75rem;
  }

  .form-container {
    padding: 1.5rem;
  }

  .social-login {
    flex-direction: column;
  }

  .options {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2 rem rgba(220, 53, 69, 0.25);
}