@import url('../../css/eottae.css');

.register-form .frm_input,
.login-form .frm_input,
.password-find-form .frm_input,
.member-confirm-form .frm_input {
  width: 100%;
  box-sizing: border-box;
}

.member-confirm-form__id-value {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: var(--eottae-radius-sm);
  background: #f8fafc;
  font-size: 15px;
  font-weight: 600;
  color: var(--eottae-text);
}

.register-result__lead {
  margin: 0 0 16px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--eottae-text);
}

.register-result__notice {
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: var(--eottae-radius-sm);
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.6;
  color: var(--eottae-muted);
}

.register-result__notice p {
  margin: 0 0 12px;
}

.register-result__info {
  margin: 0;
}

.register-result__info > div + div {
  margin-top: 10px;
}

.register-result__info dt {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.register-result__info dd {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--eottae-text);
}

.register-result__hint {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--eottae-muted);
}

.register-result__cta {
  display: flex;
  text-decoration: none;
}

/* 프로필 사진 (선택) */
.register-form .eottae-member-profile-field {
  margin-bottom: 20px;
}

.eottae-member-profile-field__label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--eottae-text, #0f172a);
}

.eottae-member-profile-field__optional {
  font-weight: 500;
  color: #64748b;
}

.eottae-member-profile-field__card {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: var(--eottae-radius-sm, 12px);
  background: #f8fafc;
}

.eottae-member-profile-field__preview {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.22);
}

.eottae-member-profile-field__preview.has-image {
  background: #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.eottae-member-profile-field__preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eottae-member-profile-field__preview-img[hidden] {
  display: none !important;
}

.eottae-member-profile-field__preview-initial {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.eottae-member-profile-field__preview-initial[hidden] {
  display: none !important;
}

.eottae-member-profile-field__upload {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.eottae-member-profile-field__file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eottae-member-profile-field__pick {
  display: block;
  margin: 0;
  cursor: pointer;
}

.eottae-member-profile-field__pick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--eottae-radius-sm, 10px);
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.eottae-member-profile-field__pick:hover .eottae-member-profile-field__pick-btn {
  border-color: #0ea5e9;
  background: #f0f9ff;
}

.eottae-member-profile-field__filename {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #475569;
  text-align: center;
  word-break: break-all;
}

.eottae-member-profile-field__hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
  text-align: center;
}

.eottae-member-profile-field__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.eottae-member-profile-field__ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #7dd3fc;
  border-radius: 999px;
  background: #fff;
  color: #0369a1;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.eottae-member-profile-field__ai-btn:hover:not(:disabled) {
  background: #e0f2fe;
}

.eottae-member-profile-field__ai-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.eottae-member-profile-field__delete {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #fecaca;
  border-radius: 999px;
  background: #fff;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.eottae-member-profile-field__delete input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
}

.eottae-member-profile-field__ai-status {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #e0f2fe;
  font-size: 12px;
  line-height: 1.45;
  color: #0369a1;
  text-align: center;
}

.eottae-member-profile-field__ai-status.is-error {
  background: #fef2f2;
  color: #dc2626;
}

.eottae-member-profile-field__ai-status[hidden] {
  display: none !important;
}
