  :root {
    --bg-gray: #eee;
    --main-01: #030303;
    --main-02: #f2f2f2;
    --point-01: #005d2c;
    --point-bg-01: #c7e9c0;
    --button-send: #a91a20;
    --button-send-hover: #b9444a;
    --disable: #8b8b8b;
    --primary-color: #a91a20;
    --blue: #0059ff;
    --ok: #03C75A;
    --err: #FF4D4F;
  }

  html {
    -ms-overflow-style: none;
  }

  ::-webkit-scrollbar {
    display: none;
  }

  /* 폰트 및 기본 스타일 설정 */
  body {
    font-family: "Nanum Gothic", "Noto Sans KR", sans-serif;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    margin: 0;
    color: #333;
  }

  main.log-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    box-sizing: border-box;
  }

  /* 회원가입 제목 및 진행 단계 */
  .log-head-section {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
  }

  .login-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
  }

  .log-step-progress {
    font-size: 14px;
    color: #999;
  }

  /* 안내 문구 */
  .instruction-text {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  /* 폼 그룹 */
  .log-form-group {
    margin-bottom: 10px;
  }

  .log-form-group .form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
  }

  .log-form-group .email-input,
  .log-form-group .name-input,
  .log-form-group .pw-input, 
  .log-form-group .phone-number,
  .log-form-group .option-select,
  .log-form-group .form-input
  {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
  }

  .log-form-group .email-input:focus {
    border-color: #666;
  }



  .error-message.show {
    display: block;
  }

  /* 안내 리스트 */
  .log-guide-list {
    list-style: none;
    padding: 0;
    margin: 5px 0 25px;
  }

  .log-guide-list li {
    font-size: 13px;
    color: #777;
    line-height: 1.6;

    position: relative;
  }

  .log-guide-list li:first-child {
    color: var(--blue);
  }

  /* 유효성검사 드롭다운 */
  .input-autocomplete-wrapper {
    position: relative;
  }

  /* 유효성 아이콘 */
  .suffix-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    /* 클릭 방지 */
    width: 20px;
    height: 20px;
  }

  /* 자동 완성 드롭다운 스타일 */
  .autocomplete-dropdown {
    position: absolute;
    top: 100%;
    /* input 아래에 위치 */
    left: 0;
    right: 0;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-top: 4px;
    display: none;
  }

  .autocomplete-dropdown.visible {
    display: block;
  }

  /* 드롭다운 옵션 */
  .autocomplete-dropdown .opt {
    padding: 10px 12px;
    cursor: pointer;
    line-height: 1.4;
  }

  .autocomplete-dropdown .opt:hover,
  .autocomplete-dropdown .opt.active {
    background-color: #f0f0f0;
  }

  .autocomplete-dropdown .opt strong {
    font-weight: 500;
  }

  .autocomplete-dropdown .opt small {
    color: #888;
    margin-left: 4px;
    font-size: 0.9em;
  }

  /* 오류 메시지 (기존 error-message) */
  .error-message {
    font-size: 13px;
    color: #FF4D4F;
    display: none;
    margin-top: 5px;
    font-size: 0.85em;
  }

  .error-message.show {
    display: block;
  }

  /* CTA 버튼, 가입 시작하기 버튼 */
  .cta-button,
  .submit-button {
    width: 100%;
    padding: 15px;
    background-color: var(--button-send);
    color: var(--main-02);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 30px;
  }

  .cta-button:hover {
    background-color: var(--button-send-hover);
  }

  /* 소셜 로그인 버튼 섹션 */
  .sns-login-section {
    border-top: 1px solid #eee;
    padding-top: 30px;
  }

  .sns-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-bottom: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
  }

  .sns-button:hover {
    background-color: #f9f9f9;
  }

  .sns-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 로그인 유도 링크 */
  .login-link-container {
    text-align: center;
    margin-top: 10px;
  }

  .login-link {
    font-size: 14px;
    color: #555;
    text-decoration: none;
  }
  .login-link.login-link-divide:hover{
    text-decoration: underline;
  }
  .login-link strong {
    color: #333;
    font-weight: 600;
    margin-left: 5px;
    text-decoration: underline;
  }

  .login-link:hover strong {
    color: #000;
  }

  .signup-link>strong:hover{
    text-decoration: underline;
  }

  /* 회원가입 step2 */
  .citation-email-box {
    display: flex;
    justify-content: space-between;
    background: var(--bg-gray);
    padding: 20px;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 15px;
  }

  .select-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .citation-email-box .certi-R .certi-icon {
    font-size: 14px;
    line-height: 1.5;
    color: var(--point-01);
    background: var(--point-bg-01);
    border-radius: 3px;
    padding: 1px 5px 3px;

  }

  .selc-box {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 10px 0 20px;

  }

  .hidden-radio-input {
    display: none;
  }

  .log-radio-label {
    display: block;
    padding: 10px 15px;
    border-radius: 5px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    gap: 10px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    background-color: var(--main-02);
    cursor: pointer;
  }

  /* 호버 스타일 */
  .log-radio-label:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
  }

  /* 아이콘 스타일 */
  .log-radio-label i {
    font-size: 24px;
  }

  .log-radio-label .main-text {
    font-size: 14px;
    font-weight: 600;
  }

  input:checked+.log-radio-label {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--main-02);
  }

  /* 선택된 라벨 내부의 아이콘과 텍스트 색상 강제 변경 */
  input:checked+.log-radio-label i,
  input:checked+.log-radio-label .main-text {
    color: var(--main-02);
  }

  /* agree */
  .agreement-container {
    width: 100%;
    margin-top: 20px;
  }

  /* Checkbox Header (모두 동의합니다) */
  .check-all-header {
    display: flex;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--primary-color);
    /* 이미지의 빨간색 구분선 */
  }

  .check-all-label {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    cursor: pointer;
    margin-left: 12px;
    user-select: none;
  }

  /* 하위 체크박스 항목 */
  .check-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
  }

  .check-item-label {
    font-size: 14px;
    color: #4b5563;
    cursor: pointer;
    margin-left: 12px;
    user-select: none;
  }

  /* 약관 링크 스타일 */
  .agreement-link {
    text-decoration: underline;
    cursor: pointer;
    /* 링크임을 명확히 표시 */
    color: #1f2937;
    /* 기본 텍스트와 구분되는 색상 */
    font-weight: 500;
  }

  /* 체크박스 디자인 (표준 요소 사용) */
  input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    display: grid;
    place-content: center;
    flex-shrink: 0;
  }

  /* 체크박스 체크 시 */
  input[type="checkbox"]:checked {
    background-color: var(--blue);
    border-color: var(--blue);
  }

  /* 체크 표시 (CSS Only) */
  input[type="checkbox"]:checked::before {
    content: "✔";
    color: white;
    font-size: 14px;
    line-height: 1;
  }

  /* '모두 동의' 체크박스 전용 스타일 (이미지에서처럼 더 크고 굵게) */
  #checkAll {
    width: 24px;
    height: 24px;
    border-color: #ef4444;
    /* 빨간색 테두리 */
  }

  #checkAll:checked {
    background-color: #ef4444;
    /* 빨간색 배경 */
    border-color: #ef4444;
  }

  #checkAll:checked::before {
    font-size: 16px;
  }

  /* 가입하기 버튼 스타일 */


  /* 비활성화 상태 (필수 항목 미체크 시) */
  .submit-button:disabled {
    background-color: #fca5a5;
    /* Red 300 */
    cursor: not-allowed;
  }

  /* 활성화 상태 (모든 필수 항목 체크 시) */
  .submit-button.active {
    background-color: #ef4444;
    /* Red 500 */
  }

  .submit-button.active:hover {
    background-color: #dc2626;
    /* Red 600 */
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  }

  /* --- Modal Styles --- */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    /* 기본적으로 숨김 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
  }

  .modal-overlay.open {
    display: flex;
  }

  .modal-overlay.open .modal {
    transform: scale(1);
  }

  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
    margin-bottom: 15px;
    position: sticky;
    /* 헤더 고정 */
    top: 0;
    background-color: white;
    z-index: 10;
  }

  .modal-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
  }

  .modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #9ca3af;
    line-height: 1;
  }

  .modal-content-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #4b5563;
    font-size: 0.95rem;
  }

  /* 사용자정보 */
    main.sign-personal{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .sign-img-area{
    width: 50%;
  }
  .img-wrap {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.img-wrap > img {
    width: 50%;
}
  .log-container2{
    width: 50%;
  }

  /* 하단 회사 정보 (전역 푸터) */
  .log-global-footer {
    max-width: 480px;
    width: 100%;
    margin: 40px auto 0;
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
    color: #999;
    line-height: 1.6;
  }

  .log-global-footer .company-info span {
    display: inline-block;
    margin: 0 5px;
  }

  .log-global-footer .address-info {
    margin-top: 5px;
  }

  .log-global-footer .footer-links {
    margin: 5px 0;
  }

  .log-global-footer .footer-links a {
    color: #999;
    text-decoration: none;
    padding: 0 5px;
    position: relative;
    font-size: 12px;
  }

  .log-global-footer .footer-links a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -5px;
  }

  .log-global-footer .copyright {
    margin-top: 15px;
  }

  /* --- 모달 스타일 시작 --- */
  .modal-overlay.show {
    display: flex;
  }

  .modal-content {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    opacity: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transform: scale(0.95);
    transition: transform 0.3s ease-out;
  }

  .modal-overlay.show .modal-content {
    transform: scale(1);
    opacity: 1;
  }

  .modal-icon {
    color: #03C75A;
    font-size: 40px;
    margin-bottom: 15px;
  }

  .modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
  }

  .modal-message {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
  }

  .modal-button {
    width: 100%;
    padding: 12px;
    background-color: var(--button-send);
    color: var(--main-02);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
  }

  .modal-button:hover {
    background-color: var(--button-send);
  }

  /* --- 모달 스타일 끝 --- */


  /* 로그인 */
  .login-link-container.pw-find{
    text-align: right;
    margin: 20px 0 2px;
    
  }
  .login-link.pw-find-link strong{
    text-decoration-line: none;
  }
  .login-link.pw-find-link strong:hover{
    color: var(--primary-color);
  }
  /* 미디어 쿼리: 모바일 최적화 */
  @media (max-width: 600px) {
    body {
      padding: 20px 0;
    }

    .log-container {
      margin: 0 15px;
      padding: 20px;
      border-radius: 0;
      box-shadow: none;
    }

    .logo {
      font-size: 28px;
    }

    .log-head-section {
      margin-bottom: 20px;
    }

    .login-title {
      font-size: 18px;
    }

    .cta-button {
      padding: 13px;
      font-size: 15px;
    }

    .sns-button {
      padding: 10px;
      font-size: 14px;
    }

    .log-global-footer {
      padding: 0 15px;
    }
        main.sign-personal{
    flex-direction: column;

  }
  .sign-img-area{
    display: none;
  }
  .img-wrap {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .img-wrap > img {
	width: 50%;
  }
  .log-container2{
    width: 500px;
    max-width:360px;}
  }
  
  #suffix {
	cursor: pointer;
	z-index: 2;                 /* input 위에 올라오게 */
	  /* 아이콘 내부가 svg라면 아이콘 자체는 클릭되게 */
	pointer-events: auto;
  }
  
  
.account-type-guide {
  margin: 12px 0 22px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}  