@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;700;900&display=swap');

.lo-wrap {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background-color: #FFF8EE;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 229, 0, 0.35) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(244, 120, 154, 0.18) 0%, transparent 40%);
}

.lo-box {
    width: 100%;
    max-width: 420px;
    animation: loFadeUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lo-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #F4789A;
    line-height: 1.45;
    letter-spacing: 0.04em;
    text-align: center;
    margin-bottom: 24px;
}

.lo-title span {
    font-size: 14px;
    font-weight: 400;
    color: #aaa;
}

/* フォームカード */
#lo-loginform {
    background: #fff;
    border: none;
    border-top: 5px solid #F4789A;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(244, 120, 154, 0.15), 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 36px 36px 28px;
}

/* ラベル */
#lo-loginform label {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 6px;
    margin-top: 0;
}

/* テキスト入力 */
#lo-loginform input[type="text"],
#lo-loginform input[type="password"] {
    font-family: 'Zen Maru Gothic', sans-serif;
    border: 2px solid #F9C8D8;
    border-radius: 50px;
    padding: 11px 18px;
    font-size: 15px;
    width: 100%;
    box-shadow: none;
    background: #FFF8FB;
    color: #333;
    box-sizing: border-box;
    height: auto;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 16px;
    outline: none;
}

#lo-loginform input[type="text"]:focus,
#lo-loginform input[type="password"]:focus {
    border-color: #F4789A;
    box-shadow: 0 0 0 3px rgba(244, 120, 154, 0.15);
    background: #fff;
}

/* チェックボックス行 */
#lo-loginform p.forgetmenot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 0 0;
    padding: 0;
}

#lo-loginform p.forgetmenot label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
    font-weight: 500;
    margin: 0;
    cursor: pointer;
}

#lo-loginform p.forgetmenot input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
    accent-color: #F4789A;
    cursor: pointer;
}

/* 送信ボタン行 */
#lo-loginform .submit {
    margin-top: 20px;
    padding: 0;
}

/* 送信ボタン */
#lo-loginform input[type="submit"] {
    font-family: 'Zen Maru Gothic', sans-serif;
    background: #F4789A;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    padding: 13px 20px;
    height: auto;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 16px rgba(244, 120, 154, 0.4);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    width: 100%;
    color: #fff;
    cursor: pointer;
}

#lo-loginform input[type="submit"]:hover {
    background: #e8628c;
    box-shadow: 0 6px 22px rgba(244, 120, 154, 0.5);
    transform: translateY(-2px);
}

#lo-loginform input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(244, 120, 154, 0.3);
}

/* エラーメッセージ（wp_login_form がページ内に出力する場合） */
.login-overlay-error {
    background: #FFF0F5;
    border-left: 4px solid #F4789A;
    border-radius: 10px;
    color: #c0396a;
    font-size: 13px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

@keyframes loFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
