.wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px 80px;
    background-color: var(--color-white);
}

/* 로고 */
.login-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0 40px;
    gap: 10px;
}

.login-logo svg {
    width: 80px;
    height: 80px;
}

.logo-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-text);
}

.logo-sub {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* 폼 */
.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    font-size: 15px;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.2s;
}

.input-field:focus {
    border-color: var(--color-primary);
}

.input-field.error {
    border-color: #FF3B30;
}

.btn-login {
    width: 100%;
    padding: 15px;
    background-color: var(--color-primary);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    color: var(--color-text);
    cursor: pointer;
    margin-top: 4px;
    transition: background-color 0.2s;
}

.btn-login:hover {
    background-color: var(--color-primary-dark);
}

/* 에러 메시지 */
.login-error-msg {
    width: 100%;
    padding: 12px 16px;
    background-color: #fff0f0;
    border: 1px solid #ffcccc;
    border-radius: 8px;
    font-size: 14px;
    color: #FF3B30;
    text-align: center;
    margin-bottom: 4px;
}

.login-unauthorized-msg {
    color: #FF4444;
}

/* 하단 링크 */
.login-links {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.login-links .divider {
    color: #dddddd;
}

/* 소셜 로그인 */
.social-section {
    width: 100%;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #eeeeee;
}

.social-divider span {
    font-size: 13px;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.btn-social {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-social:hover {
    opacity: 0.85;
}

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

.btn-apple {
    background-color: #000000;
    color: var(--color-white);
}
