.login-container {
    max-width: 550px;
    width: 100%;
    margin: 60px auto;
    padding: 12px;
}

.login-box {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.06),
        0 12px 30px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

/* 장식용 배경 패턴 */
.login-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        #222 0%,
        #444 50%,
        #222 100%
    );
}

.login-container h1 {
    font-size: 32px;
    color: #222;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
}

.login-container h1::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #222;
}

.input-group {
    margin-bottom: 25px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    color: #222;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
    transition: all 0.2s ease;
}

.input-group input:focus {
    border-color: #222;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.button-box {
    margin-top: 40px;
}

.button-box button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.login-btn {
    background: linear-gradient(to right, #1a1a1a, #333);
    color: white;
}

.signup-btn {
    background-color: #fff;
    color: #222;
    border: 2px solid #222 !important;
}

.login-btn:hover {
    background: linear-gradient(to right, #000, #222);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.signup-btn:hover {
    background-color: #f8f8f8;
    transform: translateY(-2px);
}

/* 버튼 클릭 효과 */
.button-box button:active {
    transform: translateY(1px);
}

/* 페이드인 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* 입력 필드 포커스 시 레이블 강조 효과 */
.input-group input:focus + label {
    color: #222;
    font-weight: 600;
}

/* 배경 패턴 제거하고 깔끔한 흰색 배경으로 변경 */
body {
    background-color: #ffffff;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px; /* 버튼 공간 확보 */
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 0;
    color: #555;
}