/* ログインページ専用スタイル */

.login-page-bg {
    /* 共通クラスbb-ui-mainでdisplay指定があるが、ここでも明示 */
    display: block !important;
}

/* 
 * 個別のスタイルを削除し、共通クラス（bb-ui-card standalone, bb-ui-section-header等）
 * に責務を委譲しました。
 */

.login-form {
    margin-bottom: 40px;
}

.login-submit-btn {
    width: 100%;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
}

.remember-me input {
    width: 18px !important;
    height: 18px !important;
}

.password-reset-link {
    text-align: center;
    margin-bottom: 50px;
}

.password-reset-link a {
    color: #0066cc;
    font-size: 0.95rem;
    text-decoration: underline;
}

/* SNSログインセクション */
.sns-login-divider {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.sns-login-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
    z-index: 1;
}

.sns-login-divider span {
    position: relative;
    background: #fff;
    padding: 0 20px;
    color: #999;
    font-size: 0.9rem;
    z-index: 2;
}

/* SNSボタン：共通の見た目調整（詳細はglobalに持たせても良いが、現状はこちらで定義） */
.sns-login-buttons .the_champ_login_ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.sns-login-buttons .the_champ_login_ul li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sns-login-buttons .theChampLogin,
.sns-login-buttons i.theChampLogin {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border: none !important;
    text-decoration: none !important;
    position: relative !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    white-space: nowrap !important;
}

/* SNSテキスト追加 */
.theChampFacebookLogin::after {
    content: "Facebookでログイン" !important;
    margin-left: 12px !important;
}

.theChampGoogleLogin::after {
    content: "Googleでログイン" !important;
    margin-left: 12px !important;
}

.theChampFacebookLogin {
    background-color: #1877f2 !important;
    color: #fff !important;
}

.theChampGoogleLogin {
    background-color: #fff !important;
    color: #3c4043 !important;
    border: 1px solid #dadce0 !important;
}

/* アイコン：ユーザーの調整を反映 */
.sns-login-buttons .theChampLogin .theChampFacebookLogoContainer {
    margin-right: 12px !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
}

/* Register link at bottom */
.register-link {
    text-align: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    font-size: 1rem;
    color: #333;
}

.register-btn,
.register-link a:not(.bb-ui-button) {
    background: #f7e030;
    color: #1a1a00;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 800;
    margin: 0 8px;
    text-decoration: none;
    display: inline-block;
    border: 1px solid #e5cf2b;
}

/* Error/Success */
.login-error,
.login-success {
    background: #fff5f5;
    color: #c92a2a;
    border: 1px solid #ffa8a8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.login-success {
    background: #e6fffa;
    color: #234e52;
    border-color: #b2f5ea;
}