.bif-login-container {
  width: 100vw;
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.bif-login-wrapper {
  width: 100%;
  max-width: 513px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 200px;
}

.bif-login-header {
  text-align: center;
  margin-bottom: 40px;
}

.bif-login-clinic-name {
  font-family: "Pretendard", sans-serif;
  font-weight: 300;
  font-size: 24px;
  color: #000000;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}

.bif-login-title {
  font-family: "Dream Orphans", serif;
  font-weight: 400;
  font-size: 48px;
  color: #000000;
  margin: 0 0 20px 0;
  letter-spacing: -0.5px;
}

.bif-login-description {
  font-family: "Pretendard", sans-serif;
  font-weight: 200;
  font-size: 20px;
  color: #000000;
  line-height: 1.5;
  margin: 0 0 40px 0;
  letter-spacing: -0.3px;
}

.bif-login-social-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 50px;
}
.bif-login-naver-btn {
  width: 513px;
  height: 66px;

  background: #03c75a;
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  text-align: center;

  color: #ffffff;
}
.bif-login-kakao-btn {
  width: 513px;
  height: 66px;
  background: #fee500;
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #181600;
}
.bif-login-naver-btn,
.bif-login-kakao-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: none;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.bif-login-naver-btn:hover,
.bif-login-kakao-btn:hover {
  transform: translateY(-1px);
}

.bif-login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.bif-login-input-group {
  width: 100%;
}

.bif-login-input-group:first-child {
  margin-bottom: 10px;
}

.bif-login-input {
  width: 100%;
  height: 44px;
  border: 1px solid #e0e0e0;
  padding: 0 16px;
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #000000;
  background-color: #ffffff;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.bif-login-input::placeholder {
  color: #8a8a8a;
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 20px;
}

.bif-login-input:focus {
  outline: none;
  border-color: #333333;
}

.bif-login-submit-btn {
  width: 100%;
  height: 66px;
  background-color: #333333;
  color: #ffffff;
  border: none;
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 40px;
}

.bif-login-submit-btn:hover {
  background-color: #222222;
  transform: translateY(-1px);
}

.bif-login-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.bif-login-link {
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #8a8a8a;
  text-decoration: none;
}

.bif-login-divider {
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #8a8a8a;
}

/*=== 회원가입 ===*/
.bif-signup-container {
  width: 100vw;
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.bif-signup-wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bif-signup-header {
  text-align: center;
  margin-bottom: 60px;
}

.bif-signup-clinic-name {
  font-family: "Pretendard", sans-serif;
  font-weight: 300;
  font-size: 24px;
  color: #000000;
  margin: 0 0 20px 0;
  letter-spacing: -0.3px;
}

.bif-signup-title {
  font-family: "Dream Orphans", serif;
  font-weight: 400;
  font-size: 48px;
  color: #000000;
  margin: 0;
  letter-spacing: -0.5px;
}

.bif-signup-steps {
  width: 100%;
  /* max-width: 1200px; */
  background-image: url("/home_assets/img/login/signin-tab-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 30px;
  margin-bottom: 80px;
  border-radius: 10px;
  gap: 40px;
}

.bif-signup-step-item {
  display: flex;
  align-items: center;
}

.bif-signup-step-text {
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #666666;
  white-space: nowrap;
}

.bif-signup-step-item.active .bif-signup-step-text {
  color: #000000;
}

.bif-signup-step-arrow {
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #666666;
}

.bif-signup-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.bif-signup-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
  padding: 40px 30px;
  border: 1px solid #eaeaea;
}

.bif-signup-section-title {
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: #000000;
  margin: 0 0 30px 0;
  letter-spacing: -0.3px;
}

.bif-signup-general-btn {
  width: 353px;
  height: 66px;
  background-color: #333333;
  color: #ffffff;
  border: none;
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.bif-signup-general-btn:hover {
  background-color: #222222;
  transform: translateY(-1px);
}

.bif-signup-sns-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 353px;
}
.bif-signup-naver-btn {
  background-color: #03c75a;
  color: #ffffff;
}
.bif-signup-kakao-btn {
  background-color: #fee500;
  color: #181600;
}

.bif-signup-naver-btn,
.bif-signup-kakao-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 353px;
  height: 66px;
  border: none;

  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s ease;
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
}

.bif-signup-naver-btn:hover,
.bif-signup-kakao-btn:hover {
  transform: translateY(-1px);
}

/* .bif-signup-naver-btn img,
.bif-signup-kakao-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
} */

/*=== 회원가입 동의 ===*/
.bif-signup-container {
  margin-top: 120px;
  width: 100vw;
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.bif-terms-content {
  width: 100%;
  max-width: 1000px;
}

.bif-terms-description {
  font-family: "Pretendard", sans-serif;
  font-weight: 200;
  font-size: 13px;
  color: #000000;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.5;
  text-align: left;
}

.bif-terms-section {
  margin-bottom: 40px;
  border: 1px solid #eaeaea;
  padding: 0;
}

.bif-terms-section-title {
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #000000;
  padding: 20px 30px;
  background-color: #eaeaea;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bif-terms-text-area {
  font-family: "Pretendard", sans-serif;
  font-weight: 200;
  font-size: 16px;
  color: #000000;
  line-height: 1.6;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 8px;
  white-space: pre-wrap;
  padding-left: 20px;
  padding-right: 40px;
}

.bif-terms-text-area::-webkit-scrollbar {
  width: 12px !important;
  background: #f1f1f1 !important;
}

.bif-terms-text-area::-webkit-scrollbar-track {
  background: #f1f1f1 !important;
  background-image: none !important;
  background-size: initial !important;
  background-repeat: initial !important;
  background-position: initial !important;
}

.bif-terms-text-area::-webkit-scrollbar-thumb {
  background: #c1c1c1 !important;
  border-radius: 6px !important;
  border: none !important;
  min-height: initial !important;
  box-shadow: none !important;
}

.bif-terms-text-area::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8 !important;
  border: none !important;
  box-shadow: none !important;
}

.bif-terms-text-area::-webkit-scrollbar-corner {
  background: #f1f1f1 !important;
}

.bif-terms-table-wrapper {
  width: 100%;
  padding: 0 20px 10px;
  margin-top: 20px;
}

.bif-terms-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 0;
  order: 2;
}

.bif-terms-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Pretendard", sans-serif;
  margin-bottom: 20px;
  border-spacing: 0;
  border: none;
}

.bif-terms-table th,
.bif-terms-table td {
  border: none;
  border-right: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  padding: 15px;
  text-align: left;
  vertical-align: top;
}

.bif-terms-table th:last-child,
.bif-terms-table td:last-child {
  border-right: none;
}

.bif-terms-table tr:last-child th,
.bif-terms-table tr:last-child td {
  border-bottom: none;
}

.bif-terms-table th {
  background-color: #edf3fb;
  font-weight: 500;
  font-size: 14px;
  color: #000000;
}

.bif-terms-table td {
  font-weight: 200;
  font-size: 14px;
  color: #000000;
  line-height: 1.4;
}

.bif-terms-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.bif-terms-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.bif-terms-checkbox-text {
  font-family: "Pretendard", sans-serif;
  font-weight: 100;
  font-size: 14px;
  color: #000000;
}

.bif-terms-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.bif-terms-cancel-btn,
.bif-terms-agree-btn {
  width: 150px;
  height: 50px;
  border: none;
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.bif-terms-cancel-btn {
  background-color: #eaeaea;
  color: #000000;
}

.bif-terms-cancel-btn:hover {
  background-color: #d5d5d5;
  transform: translateY(-1px);
}

.bif-terms-agree-btn {
  background-color: #000000;
  color: #ffffff;
}

.bif-terms-agree-btn:hover {
  background-color: #222222;
  transform: translateY(-1px);
}

/*=== 회원정보 입력 창===*/
.bif-form-content {
  width: 100%;
  max-width: 1000px;
}

.bif-form-group {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.bif-form-label {
  font-family: "Pretendard", sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #000000;
  width: 200px;
  text-align: left;
  flex-shrink: 0;
}

.bif-form-input-wrapper {
  flex: 1;
}

.bif-form-input {
  width: 100%;
  height: 50px;
  border: 1px solid #c4c4c4;
  padding: 0 15px;
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
}

.bif-form-input::placeholder {
  font-family: "Pretendard", sans-serif;
  font-weight: 100;
  font-size: 15px;
  color: #999999;
}

.bif-form-input:focus {
  outline: none;
  border-color: #bad6ff;
}

.bif-phone-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.bif-phone-input {
  width: 80px;
  height: 50px;
  border: 1px solid #c4c4c4;
  padding: 0 15px;
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  text-align: center;
}

.bif-phone-input:focus {
  outline: none;
  border-color: #bad6ff;
}

.bif-email-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bif-email-input {
  flex: 1;
  height: 50px;
  border: 1px solid #c4c4c4;
  padding: 0 15px;
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
}

.bif-email-at {
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #000000;
}

.bif-email-domain {
  flex: 1;
  height: 50px;
  border: 1px solid #c4c4c4;
  padding: 0 15px;
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
}

.bif-email-select {
  width: 150px;
  height: 50px;
  border: 1px solid #c4c4c4;
  padding: 0 15px;
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  background-color: #ffffff;
  cursor: pointer;
}

.bif-email-input:focus,
.bif-email-domain:focus,
.bif-email-select:focus {
  outline: none;
  border-color: #bad6ff;
}

.bif-captcha-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bif-captcha-checkbox-label {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  border: 1px solid #c4c4c4;
  padding: 25px 80px 25px 30px;
  background-color: #f8f8f8;
  min-height: 70px;
}

.bif-captcha-checkbox {
  width: 24px;
  height: 24px;
  cursor: pointer;
  border: 3px solid #878787;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #ffffff;
}

.bif-captcha-checkbox:checked {
  background-color: #ffffff;
  position: relative;
}

.bif-captcha-checkbox:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #878787;
  font-size: 16px;
  font-weight: bold;
}

.bif-captcha-text {
  font-family: "Pretendard", sans-serif;
  font-weight: 100;
  font-size: 20px;
  color: #000000;
}

.bif-form-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 30px;
  margin-left: 200px;
}

.bif-form-cancel-btn,
.bif-form-submit-btn {
  width: 350px;
  height: 70px;
  border: none;
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.bif-form-cancel-btn {
  background-color: #eaeaea;
  color: #000000;
}

.bif-form-cancel-btn:hover {
  background-color: #d5d5d5;
  transform: translateY(-1px);
}

.bif-form-submit-btn {
  background-color: #000000;
  color: #ffffff;
}

.bif-form-submit-btn:hover {
  background-color: #333333;
  transform: translateY(-1px);
}

.bif-sns-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}

.bif-sns-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.bif-sns-checkbox-text {
  font-family: "Pretendard", sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #666666;
}

/*=== 가입완료 페이지 ===*/
.bif-complete-content {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bif-complete-message-box {
  width: 100%;
  max-width: 600px;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 80px 40px;
  text-align: center;
  background-color: #ffffff;
  margin-bottom: 60px;
}

.bif-complete-title {
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 23px;
  color: #000000;
  margin: 0 0 30px 0;
  line-height: 1.4;
}

.bif-complete-description {
  font-family: "Pretendard", sans-serif;
  font-weight: 100;
  font-size: 15px;
  color: #666666;
  margin: 0;
  line-height: 1.5;
}

.bif-complete-buttons {
  display: flex;
  justify-content: center;
}

.bif-complete-main-btn {
  width: 400px;
  height: 60px;
  border: none;
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #ffffff;
  background-color: #000000;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.bif-complete-main-btn:hover {
  background-color: #333333;
  transform: translateY(-1px);
}

/*=== 비밀번호 찾기 ===*/
/* 헤더 섹션 */
.idpw-header {
  text-align: center;
  padding: 40px 20px;
  background-color: white;
  border-bottom: 1px solid #e9ecef;
  margin-top: 120px;
}

.idpw-header h1 {
  font-size: 24px;
  font-weight: 300;
  color: #000;
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-family: "Pretendard", sans-serif;
}

.idpw-header h2 {
  font-family: "Dream Orphans", serif;
  font-size: 36px;
  font-weight: 300;
  color: #000;
  margin-bottom: 0;
}

/* 진행 단계 섹션 */
.idpw-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  background-color: #f1f3f4;
  gap: 20px;
}

.idpw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.idpw-step-number {
  font-size: 14px;
  font-weight: 600;
  color: #666;
}

.idpw-step-text {
  font-size: 13px;
  color: #666;
}

.idpw-arrow {
  color: #999;
  font-size: 14px;
  margin: 0 10px;
}

/* 메인 콘텐츠 섹션 */
.idpw-main-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

/* 비밀번호 찾기 폼 */
.idpw-find-password-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.idpw-find-password-form h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 15px;
  color: #333;
}

.idpw-find-password-form > p {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.5;
}

.idpw-form-group {
  margin-bottom: 30px;
  text-align: left;
}

.idpw-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.idpw-form-group input {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.idpw-form-group input:focus {
  outline: none;
  border-color: #333;
}

.idpw-submit-btn {
  width: 100%;
  padding: 15px;
  background-color: #333;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 30px;
}

.idpw-submit-btn:hover {
  background-color: #555;
}

.idpw-help-text {
  text-align: left;
  background-color: #f8f9fa;
  padding: 20px;
}

.idpw-help-text p {
  font-size: 14px;
  color: #666;
  margin: 8px 0;
  line-height: 1.5;
}

/* 추가 기능 스타일링 */
.idpw-step.active {
  background-color: #2c5aa0;
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
}

.idpw-step.active .idpw-step-number,
.idpw-step.active .idpw-step-text {
  color: white;
}

.idpw-step.completed {
  background-color: #28a745;
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
}

.idpw-step.completed .idpw-step-number,
.idpw-step.completed .idpw-step-text {
  color: white;
}

.idpw-section {
  display: none;
}

.idpw-section.active {
  display: block;
}

.idpw-success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 15px;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  margin: 20px 0;
}

.idpw-error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 15px;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  margin: 20px 0;
}

.idpw-loading {
  text-align: center;
  padding: 20px;
}

.idpw-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #2c5aa0;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.idpw-timer {
  color: #dc3545;
  font-weight: bold;
}

.idpw-verification-code {
  text-align: center;
  font-size: 18px;
  letter-spacing: 3px;
  padding: 10px;
  margin: 10px 0;
}

.idpw-password-strength {
  margin-top: 5px;
  font-size: 12px;
}

.strength-weak {
  color: #dc3545;
}

.strength-medium {
  color: #ffc107;
}

.strength-strong {
  color: #28a745;
}

.loading {
  display: none;
  text-align: center;
  margin-top: 20px;
  color: #666;
}

.bif-math-captcha {
  margin-top: 10px;
}

.bif-captcha-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.bif-captcha-checkbox {
  margin-right: 8px;
}

.captcha-success {
  color: #28a745;
}

.captcha-error {
  color: #dc3545;
}

/* ===== 통합 반응형 디자인 ===== */
@media (max-width: 768px) {
  /* 로그인 */
  .bif-login-container {
    padding: 20px;
  }

  .idpw-help-text {
      padding: 11px;
  }

  .bif-login-header {
    margin-bottom: 0px;
  }

  .bif-login-social-buttons {
    gap: 10px;
    margin-bottom: 20px;
  }

  .bif-login-wrapper {
    margin-top: 40px;
    max-width: 350px;
  }

  .bif-login-clinic-name {
    font-size: 20px;
  }

  .bif-login-title {
    font-size: 36px;
  }

  .bif-login-description {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .bif-login-input {
    font-size: 12px;
    height: 40px;
  }

  .bif-login-input::placeholder {
    font-size: 16px;
  }

  .bif-login-submit-btn {
    font-size: 16px;
    height: 44px;
    margin-top: 20px;
  }

  .bif-login-naver-btn,
  .bif-login-kakao-btn {
    width: 100%;
    height: 44px;
    font-size: 16px;
  }

  .bif-login-links {
    margin-top: 0;
  }

  .bif-login-link {
    font-size: 13px;
  }

  /* 회원가입 */
  .bif-signup-container {
    padding: 20px;
  }

  .bif-signup-wrapper {
    max-width: 100%;
  }

  .bif-signup-clinic-name {
    font-size: 20px;
  }

  .bif-signup-title {
    font-size: 36px;
  }

  .bif-signup-steps {
    padding: 15px 20px;
    margin-bottom: 60px;
    gap: clamp(8px, 1vw, 20px);
  }

  .bif-signup-step-text {
    font-size: clamp(12px, 3vw, 16px);
  }
  .bif-signup-content {
    flex-direction: column;
    gap: 40px;
  }

  .bif-signup-section {
    min-height: 250px;
    padding: 30px 20px;
  }

  .bif-signup-section-title {
    font-size: 20px;
  }

  .bif-signup-general-btn,
  .bif-signup-sns-buttons {
    width: 100%;
    max-width: 353px;
  }

  .bif-signup-general-btn {
    font-size: 18px;
    height: 60px;
  }

  .bif-signup-naver-btn,
  .bif-signup-kakao-btn {
    width: 100%;
    height: 60px;
  }

  /* 약관 동의 */
  .bif-terms-content {
    max-width: 100%;
  }

  .bif-terms-section {
    padding: 20px;
  }

  .bif-terms-table th,
  .bif-terms-table td {
    padding: 10px;
    font-size: 12px;
  }

  .bif-terms-buttons {
    flex-direction: column;
    align-items: center;
  }

  .bif-terms-cancel-btn,
  .bif-terms-agree-btn {
    width: 200px;
  }

  /* 회원정보 입력 */
  .bif-form-content {
    max-width: 100%;
    padding: 0 10px;
  }

  .bif-form-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
  }

  .bif-form-label {
    width: 100%;
    text-align: left;
    font-size: 16px;
    margin-bottom: 5px;
  }

  .bif-form-input-wrapper {
    width: 100%;
  }

  .bif-form-input {
    height: 45px;
    font-size: 16px;
    padding: 0 12px;
  }

  .bif-form-input::placeholder {
    font-size: 14px;
  }

  /* 비활성화 안내 텍스트 */
  .bif-disabled-notice {
    font-size: 12px;
    margin-top: 8px;
    line-height: 1.4;
    color: #999999;
  }

  /* 휴대폰 번호 입력 - 가로 배치 유지 */
  .bif-phone-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .bif-phone-input {
    width: 70px;
    height: 45px;
    font-size: 16px;
    text-align: center;
  }

  .bif-sns-checkbox-wrapper {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }

  /* 이메일 입력 - 가로 배치 유지 */
  .bif-email-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .bif-email-input {
    flex: 1;
    min-width: 100px;
    height: 45px;
    font-size: 16px;
  }

  .bif-email-at {
    font-size: 18px;
    margin: 0 5px;
  }

  .bif-email-domain {
    flex: 1;
    min-width: 100px;
    height: 45px;
    font-size: 16px;
  }

  .bif-email-select {
    width: 100%;
    height: 45px;
    font-size: 16px;
    margin-top: 8px;
  }

  /* 캡차 영역 */
  .bif-captcha-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .bif-captcha-checkbox-label {
    padding: 20px;
    min-height: 60px;
    justify-content: center;
    width: 100%;
  }

  .bif-captcha-text {
    font-size: 16px;
  }

  .bif-math-captcha {
    width: 100%;
  }

  /* 수학 캡차 모바일 스타일 */
  .bif-math-captcha > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 20px 15px !important;
    background: #f8f9fa !important;
    border: 1px solid #c4c4c4 !important;
    margin-bottom: 10px !important;
    width: 100% !important;
  }

  .bif-math-captcha #mathQuestion {
    font-size: 18px !important;
    font-weight: bold !important;
    margin: 0;
    width: 100% !important;
  }

  .bif-math-captcha #mathAnswer {
    width: 100% !important;
    max-width: 150px !important;
    height: 45px !important;
    font-size: 16px !important;
    text-align: center !important;
    padding: 10px !important;
    border: 1px solid #c4c4c4 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .bif-math-captcha button {
    width: auto !important;
    max-width: 120px !important;
    height: 40px !important;
    font-size: 14px !important;
    padding: 8px 15px !important;
    background: #6c757d !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    margin: 0 !important;
    width: 100% !important;
  }

  /* 폼 버튼 */
  .bif-form-buttons {
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    margin-top: 30px;
    gap: 15px;
  }

  .bif-form-cancel-btn,
  .bif-form-submit-btn {
    width: 100%;
    max-width: 300px;
    height: 50px;
    font-size: 16px;
  }

  /* 가입완료 */
  .bif-complete-content {
    max-width: 100%;
  }

  .bif-complete-message-box {
    max-width: 100%;
    padding: 60px 30px;
    margin-bottom: 40px;
  }

  .bif-complete-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .bif-complete-description {
    font-size: 14px;
  }

  .bif-complete-main-btn {
    width: 250px;
    font-size: 18px;
  }

  /* 비밀번호 찾기 */
  .idpw-header h2 {
    font-size: 28px;
  }

  .idpw-progress {
    padding: 20px 10px;
    gap: 15px;
  }

  .idpw-main-content {
    padding: 0 15px;
  }

  .idpw-find-password-form {
    max-width: 100%;
  }
}
