/* ============================================
   AUTHENTICATION & INVITATION PAGES
   Crisp Modern Light
   ============================================ */

.auth-main {
  min-height: 100vh;
  background-color: #F8F9FB;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(18, 80, 251, 0.06) 0%, transparent 55%),
    radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.auth-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.auth-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.04);
  padding: 36px 36px 32px;
  width: 100%;
  max-width: 420px;
}

.auth-header {
  text-align: center;
  margin-bottom: 26px;
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.auth-wordmark {
  height: 24px;
  width: auto;
}

.auth-logo .logo-icon {
  width: 36px;
  height: auto;
  object-fit: contain;
}

.auth-header h1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0F172A;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.auth-header p {
  color: #64748B;
  font-size: 13.5px;
  margin: 0;
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 0;
}

.auth-form .form-group {
  margin-bottom: 0;
}

.auth-submit {
  margin-top: 6px;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  text-align: center;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(15, 23, 42, 0.08);
}

.auth-divider span {
  padding: 0 12px;
  color: #94A3B8;
  font-size: 12px;
  font-weight: 500;
}

.auth-footer {
  text-align: center;
  color: #64748B;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.auth-footer p {
  font-size: 13px;
  margin: 0;
}

.auth-link {
  color: #1250FB;
  text-decoration: none;
  font-weight: 500;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-card .btn {
  height: 40px;
  width: 100%;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 500;
}

.btn-full {
  width: 100%;
}

.btn-google {
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid rgba(15, 23, 42, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn-google:hover {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.22);
}

.google-icon {
  flex-shrink: 0;
}

/* Invitation Card */
.invitation-card {
  max-width: 460px;
}

.invitation-org-box {
  text-align: center;
  padding: 16px 18px;
  background: #F8FAFC;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  margin-bottom: 20px;
}

.invitation-org-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #0F172A;
}

.invitation-org-desc {
  font-size: 13px;
  color: #64748B;
  margin: 4px 0 0 0;
  line-height: 1.5;
}

.invitation-details {
  margin-bottom: 22px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  font-size: 13px;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  color: #64748B;
  font-weight: 500;
}

.detail-value {
  color: #0F172A;
  font-weight: 500;
  text-align: right;
}

.detail-value-mono {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
}

.invitation-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.invitation-form {
  margin: 0;
}

.invitation-prompt-text {
  text-align: center;
  font-size: 13px;
  color: #64748B;
  margin: 0 0 6px 0;
  line-height: 1.5;
}

.invitation-alert {
  margin: 0 0 4px 0;
  font-size: 13px;
  line-height: 1.5;
}

.invitation-alert p {
  margin: 0 0 6px 0;
}

.invitation-alert p:last-child {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 28px 22px 24px;
  }

  .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .detail-value {
    text-align: left;
  }
}
