* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-wrap {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.logo {
    text-align: center;
    margin-bottom: 32px;
}

.logo span {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.login-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px 36px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.login-box h1 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 28px;
    letter-spacing: -0.3px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    transition: border-color 0.15s;
    outline: none;
}

.form-group input:focus {
    border-color: #4f6ef7;
}

.form-group input::placeholder {
    color: #aaa;
}

.error-msg {
    background: #fff3f3;
    border: 1px solid #ffd0d0;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    color: #e53e3e;
    margin-bottom: 16px;
    display: none;
}

.error-msg.show {
    display: block;
}

.btn-login {
    width: 100%;
    height: 48px;
    margin-top: 8px;
    background: #4f6ef7;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: -0.2px;
    transition: background 0.15s;
}

.btn-login:hover {
    background: #3b5de6;
}

.btn-login:active {
    background: #2f4fcf;
}

.login-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

.login-footer a {
    color: #4f6ef7;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}
