/* INSPERO auth (login / password reset) — dark black + gold */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Jost', system-ui, sans-serif;
}

body {
  background-color: var(--ins-black, #010001);
}

/* Auth container */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  background: rgba(16, 16, 18, 0.92);
  border-radius: 20px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid var(--ins-line, rgba(220, 174, 48, 0.22));
  color: var(--ins-text, #f5f2ea);
}

/* faint gold halo behind the monogram */
.auth-card::after {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  height: 260px;
  background: radial-gradient(closest-side, rgba(220, 174, 48, 0.16), transparent 70%);
  pointer-events: none;
}

.auth-monogram {
  height: 74px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--ins-line, rgba(220, 174, 48, 0.22)),
              0 22px 44px -18px rgba(220, 174, 48, 0.4);
}

.auth-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: var(--ins-text, #f5f2ea);
}

.auth-sub {
  color: var(--ins-muted, #a8a294);
}

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

.mb-8 {
  margin-bottom: 2rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ins-text, #f5f2ea);
}

.text-gray-600 {
  color: var(--ins-muted, #a8a294);
}

/* Form styles */
.space-y-4 > * {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ins-text, #f5f2ea);
  margin-bottom: 0.25rem;
}

.auth-input {
  width: 100%;
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--ins-line, rgba(220, 174, 48, 0.22));
  background-color: var(--ins-surface-2, #17171a);
  color: var(--ins-text, #f5f2ea);
  transition: all 0.2s ease;
  margin-bottom: 1rem;
}

.auth-input:focus {
  outline: none;
  border-color: var(--ins-gold, #DCAE30);
  box-shadow: 0 0 0 2px rgba(220, 174, 48, 0.25);
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-blue-600 {
  color: var(--ins-gold, #DCAE30);
}

.hover\:text-blue-800:hover {
  color: var(--ins-gold-bright, #e8c860);
}

.transition-colors {
  transition-property: color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Submit CTA — complements .ins-btn.ins-btn-gold.ins-shimmer */
.auth-button {
  width: 100%;
  border: none;
  cursor: pointer;
}

.auth-button:hover {
  filter: brightness(1.08);
  color: var(--ins-on-gold, #010001);
}

.auth-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--ins-line, rgba(220, 174, 48, 0.22));
}

.auth-divider span {
  padding: 0 1rem;
  color: var(--ins-muted, #a8a294);
  font-size: 14px;
}

/* Social buttons (Google — kept light per third-party branding) */
.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  border: 1px solid rgba(209, 213, 219, 0.5);
  border-radius: 10px;
  background-color: white;
  color: #1f2937;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 1rem;
}

.social-button:hover {
  background-color: #f9fafb;
}

.w-5 {
  width: 1.25rem;
}

.h-5 {
  height: 1.25rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: slideUp 0.5s ease-out;
}

/* Links */
.auth-link {
  color: var(--ins-gold, #DCAE30);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.auth-link:hover {
  color: var(--ins-gold-bright, #e8c860);
  text-decoration: underline;
}

.mt-6 {
  margin-top: 1.5rem;
}

.text-sm {
  font-size: 0.875rem;
}

/* Loading spinner */
.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.-ml-1 {
  margin-left: -0.25rem;
}

.mr-3 {
  margin-right: 0.75rem;
}
