.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 5rem 1rem;
    background:
        linear-gradient(rgba(255, 253, 249, 0.86), rgba(255, 248, 239, 0.92)),
        url('/images/register/register_main.png') center/cover no-repeat;
}

.login-box {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem 2.25rem;
    border: 1px solid var(--border, #eedfd5);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 44px rgba(63, 53, 48, 0.12);
    text-align: center;
}

.login-box h2 {
    margin-bottom: 1.75rem;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary, #f27a5e);
    letter-spacing: 0;
}

.login-box input[type="text"],
.login-box input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 0.95rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-mid, #e2cfc3);
    border-radius: 6px;
    font-size: 1rem;
    color: var(--text, #3f3530);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-box input[type="text"]:focus,
.login-box input[type="password"]:focus {
    border-color: var(--primary, #f27a5e);
    box-shadow: 0 0 0 3px rgba(242, 122, 94, 0.16);
    outline: none;
}

.login-btn-submit {
    display: block;
    width: 100%;
    height: 48px;
    margin: 10px 0;
    border: none;
    border-radius: 6px;
    background-color: var(--primary, #f27a5e);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 48px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.login-btn-submit:hover {
    background-color: var(--primary-dark, #d95f46);
    transform: translateY(-1px);
}

.divider {
    margin: 1.5rem 0;
    position: relative;
    text-align: center;
    color: var(--text-faint, #aaa);
}

.divider span {
    background-color: #fff;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 1px solid var(--border, #eedfd5);
    z-index: 0;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(63, 53, 48, 0.10);
}

.social-btn img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.social-btn.naver {
    background-color: #03C75A;
    color: white;
}

.social-btn.kakao {
    background-color: #FEE500;
    color: #3C1E1E;
}

.social-btn.google {
    background-color: white;
    color: #444;
    border: 1px solid #ddd;
}

.social-btn.google img {
    width: 20px;
    height: 20px;
}

.signup-link {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted, #7b706a);
}

.signup-link a,
.help-links a {
    color: var(--primary, #f27a5e);
    font-weight: 700;
}

@media screen and (max-width: 1024px) {
    .login-wrapper {
        padding: 3rem 1rem;
    }
}

@media screen and (max-width: 768px) {
    .login-box {
        padding: 2rem 1.25rem;
    }

    .login-box h2 {
        font-size: 1.6rem;
    }

    .social-btn {
        font-size: 0.9rem;
    }

    .social-btn img {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }

    .login-btn-submit {
        font-size: 15px;
        height: 44px;
        line-height: 44px;
    }
}

@media screen and (max-width: 480px) {
    .login-wrapper {
        padding: 2rem 1rem;
    }

    .login-box h2 {
        font-size: 1.4rem;
    }

    .login-box input[type="text"],
    .login-box input[type="password"] {
        font-size: 0.95rem;
        padding: 0.65rem;
    }

    .social-btn {
        font-size: 0.85rem;
        padding: 0.5rem;
    }

    .signup-link {
        font-size: 0.85rem;
    }
}
