/**
 * LINE Hub - Login Button Component
 *
 * 可自訂的 LINE 登入按鈕樣式
 * 支援：產品頁橫幅、獨立按鈕、shortcode
 */

/* ─── 登入按鈕 ─── */
.line-hub-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #06C755;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    -webkit-appearance: none;
    line-height: 1.4;
}

.line-hub-login-btn:hover,
.line-hub-login-btn:focus,
.line-hub-login-btn:visited {
    background: #05b34d;
    color: #fff !important;
    text-decoration: none;
}

.line-hub-login-btn:active {
    transform: scale(0.98);
}

.line-hub-login-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ─── 產品頁登入提示橫幅 ─── */
.line-hub-login-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
    margin: 0 0 16px;
    background: #f0faf4;
    border: 1px solid #d4edda;
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.line-hub-login-banner .line-hub-login-btn {
    padding: 8px 16px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
}

.line-hub-login-banner-text {
    flex: 1;
    min-width: 0;
}

/* ─── 置中容器（for shortcode） ─── */
.line-hub-login-center {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

/* ─── 分隔線「或」 ─── */
.line-hub-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    font-size: 13px;
    color: #999;
}

.line-hub-login-divider::before,
.line-hub-login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

/* ─── 響應式 ─── */
@media (max-width: 480px) {
    .line-hub-login-banner {
        flex-direction: column;
        text-align: center;
    }

    .line-hub-login-banner .line-hub-login-btn {
        width: 100%;
    }
}
