/* Auth Pages Styles */
.auth-container {
  min-height: 100vh;
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom right, var(--gray-50), white, var(--gray-100));
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark .auth-container {
  background: linear-gradient(to bottom right, var(--gray-900), var(--gray-800), var(--gray-900));
}

.auth-blur {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatSlow 8s ease-in-out infinite;
}

.auth-blur-1 {
  top: 5rem;
  left: 2.5rem;
  background: linear-gradient(to bottom right, rgba(191, 219, 254, 0.4), rgba(221, 214, 254, 0.4));
}

body.dark .auth-blur-1 {
  background: linear-gradient(to bottom right, rgba(55, 65, 81, 0.4), rgba(75, 85, 99, 0.4));
}

.auth-blur-2 {
  bottom: 5rem;
  right: 2.5rem;
  background: linear-gradient(to bottom right, rgba(221, 214, 254, 0.4), rgba(251, 207, 232, 0.4));
}

body.dark .auth-blur-2 {
  background: linear-gradient(to bottom right, rgba(75, 85, 99, 0.4), rgba(55, 65, 81, 0.4));
}

.auth-content {
  position: relative;
  max-width: 28rem;
  width: 100%;
}

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

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.auth-logo:hover {
  transform: scale(1.1);
}

.auth-logo .logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, var(--gray-900), var(--gray-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.auth-logo .logo-text {
  font-size: 1.875rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--gray-900), var(--gray-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark .auth-logo .logo-text {
  background: linear-gradient(to right, var(--gray-100), var(--gray-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

body.dark .auth-title {
  color: var(--gray-100);
}

.auth-subtitle {
  color: var(--gray-600);
}

body.dark .auth-subtitle {
  color: var(--gray-400);
}

.auth-card {
  backdrop-filter: blur(40px);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

body.dark .auth-card {
  background: rgba(31, 41, 55, 0.8);
  border-color: rgba(75, 85, 99, 0.4);
}

.auth-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.2);
}

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

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

.form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-700);
}

body.dark .form-label {
  color: var(--gray-300);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--gray-400);
  pointer-events: none;
}

body.dark .input-icon {
  color: var(--gray-500);
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border-radius: 0.75rem;
  border: 1px solid var(--gray-300);
  background: white;
  color: var(--gray-900);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

body.dark .form-input {
  background: var(--gray-800);
  border-color: var(--gray-700);
  color: var(--gray-100);
}

.form-input:focus {
  border-color: var(--gray-900);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

body.dark .form-input:focus {
  border-color: var(--gray-600);
  box-shadow: 0 0 0 3px rgba(75, 85, 99, 0.1);
}

.form-input::placeholder {
  color: var(--gray-400);
}

body.dark .form-input::placeholder {
  color: var(--gray-500);
}

.password-toggle {
  position: absolute;
  right: 1rem;
  background: transparent;
  color: var(--gray-400);
  padding: 0.25rem;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: var(--gray-600);
}

body.dark .password-toggle {
  color: var(--gray-500);
}

body.dark .password-toggle:hover {
  color: var(--gray-300);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-input {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  border: 1px solid var(--gray-300);
  cursor: pointer;
}

body.dark .checkbox-input {
  border-color: var(--gray-700);
}

.checkbox-text {
  font-size: 0.875rem;
  color: var(--gray-600);
}

body.dark .checkbox-text {
  color: var(--gray-400);
}

.link-primary {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  transition: color 0.3s ease;
}

body.dark .link-primary {
  color: var(--gray-300);
}

.link-primary:hover {
  color: var(--gray-700);
}

body.dark .link-primary:hover {
  color: var(--gray-100);
}

.btn-submit {
  width: 100%;
  padding: 0.875rem;
  border-radius: 0.75rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(to right, var(--gray-900), var(--gray-700));
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-submit::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.5s ease;
}

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

.btn-submit:hover {
  background: linear-gradient(to right, var(--gray-800), var(--gray-600));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-footer-text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-600);
}

body.dark .auth-footer-text {
  color: var(--gray-400);
}

.auth-footer-text .link-primary {
  font-weight: 600;
  color: var(--gray-900);
}

body.dark .auth-footer-text .link-primary {
  color: var(--gray-300);
}
