/* ================================================== */
/* Hattventory Login - Corporate Colors & Utilities */
/* ================================================== */
:root {
  --raising-black: #1b1e28;
  --dim-gray: #6c6e78;
  --white: #fff;
  --prussian-blue: #192C44;
  --mint: #5ABF92;
  --transition-base: 0.3s ease;
}

/* ================================================== */
/* Language Switcher */
/* ================================================== */
.language-switcher {
  display: flex;
  gap: 0.5rem;
  margin-left: 2.5rem;
  padding: 0.5rem;
  border: 1px solid var(--prussian-blue);
  border-radius: 0.5rem;
  background-color: rgba(25, 44, 68, 0.3);
}

.language-switcher button {
  background: transparent;
  border: none;
  color: var(--dim-gray);
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.75rem;
  border-radius: 0.35rem;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.language-switcher button:hover {
  color: var(--mint);
  background-color: rgba(90, 191, 146, 0.1);
}

.language-switcher button.active {
  background-color: var(--mint);
  color: var(--raising-black);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(90, 191, 146, 0.3);
}

/* Language Switcher - Responsive */
@media (max-width: 1024px) {
  .language-switcher {
    margin-left: 1.5rem;
  }

  .language-switcher button {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .language-switcher {
    margin-left: 0.75rem;
    padding: 0.4rem;
    border: 1px solid var(--prussian-blue);
    gap: 0.35rem;
  }

  .language-switcher button {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
}

/* ================================================== */
/* Hattventory Login Page Styles */
/* ================================================== */

.login-container {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form styling */
form {
  animation: slideIn 0.5s ease-out 0.2s both;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Input focus effects */
input:focus {
  box-shadow: 0 0 0 3px rgba(90, 191, 146, 0.1);
}

/* Password toggle button */
.toggle-password:hover {
  transform: scale(1.1);
}

/* Login button effects */
button[type="submit"]:active {
  transform: scale(0.98);
}

/* Success modal animation */
#successModal.show {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Checkbox custom styling */
input[type="checkbox"] {
  cursor: pointer;
  accent-color: var(--mint);
}

/* Responsive design */
@media (max-width: 640px) {
  .login-container {
    padding: 1rem;
    margin-top: 5rem;
  }
  
  form {
    padding: 1.5rem;
  }
}

/* Link animations */
a {
  transition: all 0.3s ease;
}

/* Input placeholder styling */
input::placeholder {
  color: rgba(107, 114, 128, 0.6);
}

/* Divider animation */
.absolute.inset-0 {
  transition: all 0.3s ease;
}
