/* Auth page body styling */
body.auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

/* Auth header styling */
.auth-header {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
}

.auth-header .header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1.5rem;
}

.auth-header .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.auth-header .logo-img {
  height: 45px;
  width: auto;
  transition: opacity 0.2s ease;
}

.auth-header .logo:hover .logo-img {
  opacity: 0.8;
}

/* Main auth container */
.auth-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem;
  flex: 1;
}

/* Auth footer styling */
.auth-footer {
  background-color: #1a365d;
  color: white;
  padding: 1.5rem 0;
  position: relative;
  width: 100%;
}

.auth-footer .copyright {
  text-align: center;
  color: #a0aec0;
  font-size: 0.875rem;
  margin: 0;
  padding: 0;
  border: none;
}

/* Hide any Ory branding elements that may be injected */
[class*="ory-branding"],
a[href*="ory.sh"],
[data-testid="ory-branding"] {
  display: none !important;
}

/* Override Ory card styles to match Archetypical theme */
.card,
[class*="user-auth-card"] {
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Primary button styling to match Archetypical theme */
button[type="submit"],
.btn-primary,
[class*="button--primary"] {
  background-color: #1a365d !important;
  border-color: #1a365d !important;
}

button[type="submit"]:hover,
.btn-primary:hover,
[class*="button--primary"]:hover {
  background-color: #2c5282 !important;
  border-color: #2c5282 !important;
}

/* Link colors */
a {
  color: #2b6cb0;
}

a:hover {
  color: #1a365d;
}
