body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ece9e6, #ffffff);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    width: 320px;
    text-align: center;
}

.login-box h2 {
    margin-bottom: 24px;
    color: #333;
}

.login-box input[type="text"],
.login-box input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
}

.login-box input[type="submit"] {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-box input[type="submit"]:hover {
    background-color: #43a047;
}

.error {
    color: red;
    margin-top: 10px;
    font-size: 14px;
}

.footer {
    margin-top: 20px;
    font-size: 12px;
    color: #aaa;
}

.pw-wrapper {
    position: relative;
}

.pw-wrapper input[type="password"],
.pw-wrapper input[type="text"] {
    width: 100%;
    padding-right: 40px; /* 눈 아이콘 공간 확보 */
    box-sizing: border-box;
}

.pw-wrapper .eye-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 16px;
}


/* 크롬, 엣지의 자동 비밀번호 보기 버튼 제거 */
input::-ms-reveal,
input::-ms-clear,
input::-webkit-credentials-auto-fill-button,
input::-webkit-password-reveal-button {
    display: none;
}
