.auth-bar {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.auth-open-btn {
  border: 1px solid #3a4152;
  border-radius: 10px;
  background: linear-gradient(180deg, #2a3140, #1d2330);
  color: #f8fafc;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 14px;
}

.auth-open-btn.hidden {
  display: none;
}

.auth-user-box {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.auth-user-box.hidden {
  display: none;
}

.auth-user-photo {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
  background: #111827;
  border: 1px solid #334155;
}

.auth-user-name {
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 700;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-logout-btn {
  border: 1px solid #475569;
  border-radius: 10px;
  background: #0f172a;
  color: #e2e8f0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 11px;
}

.board-auth-bar .auth-open-btn,
.board-auth-bar .auth-logout-btn {
  border-color: #64748b;
  font-size: 12px;
  padding: 6px 10px;
}

.auth-sheet {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(2, 6, 23, 0.75);
  display: grid;
  place-items: center;
  padding: 16px;
}

.auth-sheet.hidden {
  display: none;
}

.auth-sheet-panel {
  width: min(420px, 100%);
  border-radius: 16px;
  border: 1px solid #374151;
  background: #0b1020;
  color: #f8fafc;
  box-shadow: 0 28px 52px rgba(2, 6, 23, 0.45);
  padding: 20px;
}

.auth-sheet-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.auth-sheet-logo-img {
  height: 54px;
  width: auto;
}

.auth-sheet-panel h3 {
  margin: 0 0 8px;
  font-size: 24px;
  text-align: center;
}

.auth-sheet-panel p {
  margin: 0 0 14px;
  color: #cbd5e1;
  font-size: 14px;
  text-align: center;
}

.auth-provider-list {
  display: grid;
  gap: 10px;
}

.auth-provider-btn {
  align-items: center;
  border: 1px solid #374151;
  border-radius: 12px;
  background: #111827;
  color: #f8fafc;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 10px;
  padding: 11px 14px;
  text-align: left;
  width: 100%;
}

.auth-provider-logo {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.auth-provider-btn.google {
  border-color: #1453c4;
}

.auth-provider-btn.apple {
  border-color: #6b7280;
}

.auth-provider-btn.facebook {
  border-color: #1d4ed8;
}

.auth-provider-btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.auth-close-btn {
  margin-top: 12px;
  width: 100%;
  border: 1px solid #475569;
  border-radius: 10px;
  background: #0f172a;
  color: #e2e8f0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
}

.auth-user-info-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  overflow: hidden;
}

.auth-device-label {
  font-size: 10px;
  color: #6b7280;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}
