/* 회원가입 폼 스타일 */
.error {
  border-color: #f44336 !important;
}

.success {
  border-color: #4CAF50 !important;
}

.field-error {
  color: #f44336 !important;
  font-size: 12px;
  margin-top: 4px;
}

.field-success {
  color: #4CAF50 !important;
  font-size: 12px;
  margin-top: 4px;
}

/* 인증번호 관련 버튼 스타일 */
#send_verification_btn, #verify_code_btn {
  min-width: 100px; /* 버튼 최소 너비 설정 */
  white-space: nowrap; /* 텍스트 줄바꿈 방지 */
  padding: 0 10px; /* 좌우 패딩 증가 */
  font-size: 13px; /* 글자 크기 조정 */
}

/* 휴대폰 인증 관련 스타일 */
.phone-verification-wrapper {
  width: 100%;
}

.input-with-button {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.input-with-button .input-medium {
  flex: 1;
  padding-right: 110px; /* 버튼 공간 확보 */
}

.input-with-button button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: -1px;
}

.input-with-button .timer {
  position: absolute;
  right: 105px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff4f4f;
  font-size: 13px;
}

#verification_section {
  margin-top: 10px;
}

/* 로딩 오버레이 */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 4px solid #ffffff;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} 