/* ---------- 회원 가입 페이지 ---------- S */
.join-title {
  margin-bottom: 25px;
  font-size: 32px;
  color: #333;
}

.terms-agree-title {
    margin-bottom: 10px;
}

.join-template{
    margin: 25px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.join-container {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.join-container ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.join-form input{
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.join-form input:focus{
  border-color: #0077cc;
    outline: none;
}

.gender-option {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  margin: 0 10px 15px 10px;
  gap: 8px;
  font-size: 16px;
}

input.radio-input {
  width: auto;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
}

.btn-join{
    width: 100%;
    padding: 12px;
    margin: 0;
    background-color: #0077cc;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}


.terms {
    margin-bottom: 15px;
}

input#terms-agree {
    width: auto;
}

.auth_box1{
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

#auth_count{
    margin: 0 5px;
}

.email_auth_box{
    margin-bottom: 15px;
}

.email_verify{
    all: unset; /* 기본 버튼 스타일 제거 */
    min-width: 30px;
    cursor: pointer;
    font-size: 14px;
    color: #007BFF;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: inline-block;
}

.email_verify:hover {
    background-color: rgba(0, 123, 255, 0.1);
    color: #0056b3;
}

#email_message_box{
    margin-bottom: 15px;
}

#email_input:read-only {
  background-color: #f5f5f5;
  color: #888;
  border: 1px solid #ccc;
  cursor: not-allowed;
}

/* ---------- 회원 가입 페이지 E ---------- */



/* ---------- 회원 로그인 페이지 S ---------- */

.error{
    margin-bottom: 15px;
}

.social-link-img{
    width: 100%;
}

.login-title {
  margin-bottom: 25px;
  font-size: 32px;
  color: #333;
}

.login-template{
    margin: 15px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.login-container ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.login-form input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.login-form input:focus {
  border-color: #0077cc;
  outline: none;
}

.login-form button {
  width: 300px;
  padding: 12px;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-form ul li .autologin{
    width: auto;
    display: flex;
    justify-content: center;
}

.login-form ul li .autologin input{
    width: auto;
    margin-right: 3px;
}

.login-form ul li .autologin label{
    line-height: 1;
}

.login-form .login_btn{
    margin: 10px 0px;
}

.login-form .join_btn{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 3px;
}

.btn-link {
  font-size: 14px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.btn-link:hover {
  color: #666;
    text-decoration: underline;
}

.social_btn{
    width: 100%;
    cursor: pointer;
    margin-bottom: 10px;
}

/* ---------- 회원 로그인 페이지 E ---------- */



/* ---------- 비밀번호 찾기 S ---------- */

.find-password-container {
  max-width: 400px;
  margin: 80px auto;
  padding: 40px 30px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', 'Apple SD Gothic Neo', sans-serif;
  color: #333;
}

.form-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
  color: #000;
}

.find-password-form input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.find-password-form input:focus {
  border-color: #0077cc;
  outline: none;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #0077cc;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.submit-btn:hover {
  background-color: #005fa3;
}

.pw_error{
    color: #cc0000;
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
}

.findpw-container {
    max-width: 480px;
    margin: 100px auto;
    padding: 2rem;
    background-color: #f9f9fb;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    font-family: 'Segoe UI', 'Apple SD Gothic Neo', sans-serif;
}

.findpw-title {
    color: #0077cc;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.findpw-message {
    color: #444;
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.findpw-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #0077cc;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.findpw-button:hover {
    background-color: #005fa3;
}

/* ---------- 비밀번호 찾기 E ---------- */



/* ---------- 파일 업로드 버튼 영역 S ---------- */

#modal-open-btn{
    all: unset;
    min-width: 30px;
    cursor: pointer;
    font-size: 14px;
    color: #007BFF;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: inline-block;
}

#modal-open-btn:hover {
    background-color: rgba(0, 123, 255, 0.1);
    color: #0056b3;
}

.file-upload-btn {
    display: flex;
    width: 180px;
    height: 180px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border: 2px dashed #bbb;
    border-radius: 10px;
    color: #888;
    font-size: 14px;
    cursor: pointer;
    background-color: #fafafa;
    transition: background-color 0.2s, border-color 0.2s;
}

.file-upload-btn:hover {
    background-color: #f0f8ff;
    border-color: #0077cc;
    color: #0077cc;
}

/* 이미지 미리보기 wrapper */
.file-images {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 업로드된 이미지 */
.file-images img.image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 250px;
    border-radius: 10px;
}

/* 삭제 버튼 - 이미지 오른쪽 위에 위치 */
.file-images .remove  {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 0, 0, 0.75);
    border: none;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.file-images .remove:hover {
    background-color: rgba(255, 0, 0, 1);
}

.profile-image.uploaded .file-upload-btn {
    display: none;
}

/* ---------- 파일 업로드 버튼 영역 E ---------- */