.login-box {
    height: 800px;
}


.login-box .login-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 440px;
    height: 498px;
    padding: 40px;
}

.login-box .login-wrap .login-title {
    text-align: center;
    padding: 40px 0 0 0;
}

.login-box .login-wrap .login-title p {
    line-height: 30px;
}

.login-box .login-wrap .login-input {
    display: flex;
    flex-direction: column;
}

.login-box .login-wrap .login-input .writeBoxlabel {
    text-indent: -9999px;
}

.login-box .login-wrap .login-input input {
    height: 50px;
    margin: 10px 0 0 0;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.rememberID {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* 요소들 사이에 공간 분배 */
    flex-wrap: nowrap;
    margin: 10px 0;
    width: 100%;
}

/* 체크박스와 라벨을 감싸는 컨테이너 */
.rememberID .checkbox-container {
    display: flex;
    align-items: center;
}

.rememberID input[type="checkbox"] {
    margin: 0;
    margin-right: 5px;
}

.rememberID .checkbox-container label {
    width: 200px;
    margin: 0 10px;
    color: #000;
    font-size: 14px;
}

.rememberID a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    white-space: nowrap;
    /* 링크 텍스트가 줄바꿈되지 않도록 */
}

.login-box .login-wrap .login-input .loginkey {
    height: 50px;
    font-size: 18px;
    font-weight: 600;
    background-color: var(--pointColor);
    border: none;
    border-radius: 10px;
    cursor: pointer;
}


.login-box .login-wrap .joinUrl {
    display: flex;
    justify-content: space-between;
    margin: 20px 0 0 0;
    text-align: center;
    font-size: 14px;
}


.login-box .login-wrap .joinUrl a {
    padding: 3px 5px;
    color: #000;
}

.forgotBtn {
    background: none;
    border: none;
    cursor: pointer;
}


/* 비밀번호 찾기 팝업 */
.forgotPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.forgot-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 460px;
    max-height: 650px;
    border: 1px solid #ccc;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow-y: auto;
}

/* 헤더 스타일 */
.forgot-header {
    text-align: center;
    margin-bottom: 30px;
}

.forgot-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
}

.forgot-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 폼 스타일 */
.forgot-form {
    width: 100%;
}

.emailArea,
.NewPassword,
.NewPasswordChecked {
    margin-bottom: 20px;
    position: relative;
}

.emailArea .toggle-btn,
.NewPassword .toggle-btn,
.NewPasswordChecked .toggle-btn {
    top: calc(50% + 16px);
}

.emailArea label,
.NewPassword label,
.NewPasswordChecked label {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.Required {
    color: #FF0000 !important;
    margin-left: 4px;
}

.emailID,
.newPassword {
    width: 100%;
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 50px 0 16px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.emailID:focus,
.newPassword:focus {
    border-color: #00ffD4;
}

.emailID::placeholder,
.newPassword::placeholder {
    color: #999;
}

/* 토글 버튼 스타일 */
.toggle-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #999;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-btn:hover {
    color: #666;
}

/* 비밀번호 요구사항 스타일 */
.changePasswordRule {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.changePasswordRule p {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.changePasswordRule ul {
    margin: 0;
    padding-left: 16px;
    list-style: none;
}

.changePasswordRule li {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
    position: relative;
}

.changePasswordRule li:before {
    content: "•";
    color: #00ffD4;
    position: absolute;
    left: -12px;
}

.changePasswordRule li:last-child {
    margin-bottom: 0;
}

/* 버튼 스타일 */
.passwordBtn {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.cancleBtn,
.changeBtn {
    flex: 1;
    height: 48px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancleBtn {
    background-color: #f8f9fa;
    color: #666;
    border: 1px solid #e9ecef;
}

.cancleBtn:hover {
    background-color: #e9ecef;
    color: #333;
}

.changeBtn {
    background-color: #00ffD4;
    color: #000
}

.changeBtn:hover {
    background-color: #00e6c0;
}

.changeBtn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}