.login-view {
  display: none;
}

.login-view.is-visible {
  display: block;
  animation: ac-view-fade-in 0.28s ease-out;
}

@keyframes ac-view-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-chooser-subtitle {
  margin: -12px 0 24px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ds-n600);
  text-align: center;
}


.account-chip-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 40px;
  padding: 0;
}

.account-chip-form {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
}

.account-chip-item {
  position: relative;
}

.account-chip-delete-form {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  justify-content: center;
}

.account-chip-delete-btn {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-chip-delete-btn svg {
  display: block;
}

.account-chip-delete-btn:focus-visible {
  outline: 2px solid var(--ds-p600);
  outline-offset: 2px;
  border-radius: 50%;
}

/* 삭제 모드 — 컨테이너에 is-delete-mode 클래스가 있을 때 */
.is-delete-mode .account-chip-chevron {
  display: none;
}

.is-delete-mode .account-chip-delete-form {
  display: flex;
}

.is-delete-mode .account-chip {
  cursor: default;
  pointer-events: none;
}

.account-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  height: 60px;
  padding: 0 16px;
  box-sizing: border-box;
  text-align: left;
  background: var(--ds-w100);
  border: 1px solid var(--ds-n50);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.account-chip:hover {
  border-color: var(--ds-p600);
  box-shadow: var(--ds-e200);
  background: var(--ds-p100);
}

.account-chip:focus-visible {
  outline: 2px solid var(--ds-p600);
  outline-offset: 2px;
}

.account-chip-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--Neutral-N80, #AAB1BC);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-chip-avatar svg {
  display: block;
}

.account-chip-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-chip-name,
.account-chip-email {
  overflow: hidden;
  color: var(--Text-Gray-T900, #1F1F1F);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.28px;
}

.account-chip-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.account-chip-badge {
  display: inline-flex;
  height: 20px;
  min-width: 50px;
  min-height: 20px;
  max-height: 20px;
  padding: 0 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  border: 1px solid var(--Primary-P600, #267BFF);
  background: var(--Gray-W100, #FFFFFF);
  color: var(--Primary-P600, #267BFF);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  box-sizing: border-box;
}

.account-chip-chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-chip-chevron svg {
  display: block;
}

.account-actions {
  display: flex;
  gap: 8px;
  margin-top: 0;          /* 칩 리스트와의 간격은 chip-list.margin-bottom(40px) 으로 고정 */
  margin-bottom: 0;       /* 카드 padding-bottom 60px 이 그대로 버튼 아래 60px 가 됨 */
}

/* 로그인 페이지 전용 — login-card min-height 해제 + 하단 패딩 60px (chooser 액션·login 폼 모두 아래 60px 통일) */
.login-card {
  min-height: 0;
  padding-bottom: 60px;
}

.btn-account-delete,
.btn-account-add {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 16px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  box-sizing: border-box;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-account-delete {
  background: var(--Gray-W100, #FFFFFF);
  color: var(--Gray-W800, #333333);
  border: 1px solid var(--Gray-W800, #333333);
}
.btn-account-delete:hover {
  background: #F5F6F8;
}

.btn-account-add {
  background: var(--Gray-W800, #333333);
  color: #FFFFFF;
  border: none;
}
.btn-account-add:hover {
  background: #1F1F1F;
}

.btn-form-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 6px 4px;
  color: var(--ds-n600);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  font-size: 14px;
  font-weight: 600;
}

.btn-form-back:hover {
  color: var(--ds-p800);
}

.login-password-row {
  position: relative;
}

.login-password-input {
  padding-right: 52px;
}

.password-toggle-button {
  position: absolute;
  top: 50%;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle-button img {
  width: 24px;
  height: 24px;
}

.password-toggle-button:focus-visible {
  outline: 2px solid var(--ds-p600);
  outline-offset: 3px;
  border-radius: 4px;
}

.social-login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--ds-n300);
  font-size: 13px;
  font-weight: 600;
}

.social-login-divider::before,
.social-login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ds-n50);
}

@media (max-width: 768px) {
}
