@charset "UTF-8";


body {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f7f7f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* 로고
================================================== */
.header-div {
    width: 100%;
    padding: 25px 0;
    text-align: center;
    box-sizing: border-box;
}

.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.header-logo img {
    max-width: 100px;
    height: auto;
    display: block;
}

/* 회원가입 폼
================================================== */
.join-background {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-grow: 1;
    padding: 20px;
    box-sizing: border-box;
}

.join-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 480px;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.join-title {
    font-family: 'Pretendard-Bold', 'Noto Sans KR', sans-serif;
    font-size: 28px;
    color: #333333;
    margin-bottom: 8px;
    text-align: center;
}

.join-subtitle {
    font-size: 15px;
    color: #666666;
    margin-bottom: 30px;
    text-align: center;
}

.join-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-group {
    width: 100%;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: #555555;
    margin-bottom: 8px;
    font-weight: 500;
}

.id-input-wrapper {
	width: 100%;
	display: flex;
	gap: 10px;
	align-items: center;
}

.join-form input {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #fcfcfc;
    font-size: 15px;
    color: #333333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    appearance: none;
}

.join-form input::placeholder {
    color: #b0b0b0;
}

.join-form input:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
    outline: none;
}

/* 메시지 스타일 (예: 비밀번호 요구사항, 불일치 메시지) */
.requirement-message {
    font-size: 0.85rem;
    color: #777;
    margin-top: 0.5rem;
    padding-left: 0.2rem;
}

.error-message {
    font-size: 0.85rem;
    color: #ff6347;
    margin-top: 0.5rem;
    padding-left: 0.2rem;
/*     min-height: 1.2rem; */
}

.email-verification-group .email-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.email-verification-group input {
    flex-grow: 1;
    margin-bottom: 0;
}

.btn-verify-email,
.btn-check-id {
    background-color: #6c757d;
    color: #ffffff;
    padding: 12px 18px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
    height: 42px;
    line-height: 18px;
}

.btn-verify-email:hover:not(:disabled),
.btn-check-id:hover:not(:disabled) {
    background-color: #5a6268;
}

.btn-submit {
    background-color: tomato;
    color: #fff;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 0;
    transition: background-color 0.2s ease;
}

.btn-submit:hover:not(:disabled) {
    background-color: #CC4028;
}

.btn-submit:disabled,
.btn-verify-email:disabled,
.btn-check-id:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

#uemail:disabled {
	background-color: #e0e0e0;
}

.mail-Check-Box {
    width: 100%;
    display: none; /* 초기에는 숨김 */
}

.mail-Check-Box label {
    display: block;
    font-size: 14px;
    color: #555555;
    margin-bottom: 8px;
    font-weight: 500;
}

/* 인증번호 발송 안내 메시지, 타이머 div */
.verification-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    min-height: 1.2rem;
    font-size: 0.85rem;
}

/* 인증 메시지 */
.verification-message {
    display: block;
    text-align: left;
    font-size: 13px;
    margin-top: 5px;
    padding-left: 5px;
}

/* 타이머 */
.mail-Check-Box .timer-message {
	padding-right: 0.2rem;
    color: #ff6347;
    font-weight: 600;
}

.mailCheckSuccess {
    color: #28a745;
}

.mailCheckFail {
    color: #dc3545;
}

.form-links {
    margin-top: 25px;
    width: 100%;
    text-align: center;
}

.form-links a {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.form-links a:hover {
    color: #4a90e2;
    text-decoration: underline;
}

/* 프로필 이미지 스타일
================================================== */
.profile-section {
	position: relative;
	display: inline-block;
/* 	width: 100px; */
	margin-bottom: 20px;
}

.profile-image {
	width: 100px !important;
	height: 100px !important;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #ddd;
}

#nickname,
#oldPassword,
#newPassword,
#confirmPassword {
	width: 100%;
	height: 30%;
	background-color: #f0f0f0;
	transition: all 0.3s ease;
}

#nickname:focus,
#oldPassword:focus,
#newPassword:focus,
#confirmPassword:focus {
    background-color: #fff; 
    border: 1px solid #286EFA; 
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); 
    outline: none; 
}

/* 드롭다운 메뉴 스타일
================================================== */
.dropdown-menu {
	width: 300px;
	display: none;
	position: absolute;
	top: 90%;
	left: 100%;
	background-color: #fff;
	border-radius: 10%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 100;
}

.dropdown-menu a {
	width: 100%;
	padding: 10px;
	background: #fff;
	border: none;
	text-align: left;
	cursor: pointer;
	font-size: 14px;
	color: #333;
}

.dropdown-menu a:hover {
	background-color: #ad9f94;
}

#profileImageInput {
/* 	display: none; */
	width: 200px;;
}

/* 프로필 변경 메시지
================================================== */
.profile-message {
	position: fixed;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	background-color: black;
	color: white;
	padding: 10px 20px;
	border-radius: 5px;
	opacity: 0; /* 처음에는 투명 */
	visibility: hidden;
	font-size: 14px;
	z-index: 9999;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.profile-message.show {
	opacity: 1;
	visibility: visible;
}

#nickname {
	text-align: center;
}

/* @media (max-width: 480px) { */
/*     .login-form { */
/*         width: 80vw;   */
/*         height: 50vh;  */
/*     } */
    
/*     .join-form > form input, */
/* 	.join-form > form button { */
/* 		width: 20%; */
/* 	} */
/* } */
@media (max-width: 768px) {
	.header-div {
        padding: 20px 0; /* 패딩 조정 */
    }
    .header-logo img {
        max-width: 120px; /* 로고 크기 조정 */
    }
    .join-background {
        padding: 0 15px 15px 15px; /* 패딩 조정 */
    }
    .join-card {
        margin: 0; /* 모바일에서 margin 제거 */
    }
    .join-title {
        font-size: 24px;
    }

    .join-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .input-group {
        margin-bottom: 18px;
    }

    .join-form input {
        padding: 12px 14px;
        font-size: 14px;
    }

    .btn-verify-email {
        padding: 10px 15px;
        font-size: 13px;
        height: 38px;
        line-height: 18px;
    }

    .btn-submit {
        padding: 13px 20px;
        font-size: 16px;
        margin-top: 20px;
    }

    .form-links {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
	.header-div {
        padding: 15px 0; /* 패딩 조정 */
    }
    .header-logo img {
        max-width: 100px; /* 로고 크기 조정 */
    }
    .join-background {
        padding: 0 10px 10px 10px; /* 패딩 조정 */
    }
    .join-card {
        padding: 25px 20px;
    }

    .join-title {
        font-size: 22px;
    }

    .join-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .input-group label,
    .form-links a {
        font-size: 13px;
    }

    .join-form input,
    .btn-verify-email,
    .btn-submit {
        font-size: 13px;
        padding: 10px 12px;
    }
}