/**
 * 紀謙的自在空間 - LINE 諮詢按鈕樣式（無動畫版）
 * 使用方式：<link rel="stylesheet" href="components/line-button.css">
 */

/* ========== LINE 固定按鈕 ========== */
.line-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #06C755;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(6, 199, 85, 0.4);
    z-index: 9999;
    border: none;
}

.line-float-btn:hover {
    box-shadow: 0 6px 30px rgba(6, 199, 85, 0.5);
}

.line-float-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* ========== LINE QR Code Lightbox ========== */
.line-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
}

.line-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.line-lightbox-content {
    background: white;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.line-lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #5c4a6e;
    cursor: pointer;
    line-height: 1;
}

.line-lightbox-close:hover {
    color: #4a1c6b;
}

.line-lightbox-content h3 {
    color: #4a1c6b;
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", sans-serif;
}

.line-qr-container {
    background: #faf8fc;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.line-qr-image {
    width: 200px;
    height: 200px;
    border-radius: 12px;
}

.line-id-text {
    color: #5c4a6e;
    font-size: 1rem;
    margin-bottom: 20px;
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", sans-serif;
}

.line-id-text strong {
    color: #4a1c6b;
    font-size: 1.1rem;
}

.line-direct-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #06C755;
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", sans-serif;
}

.line-direct-btn:hover {
    background: #05b34c;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
}

.line-direct-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* ========== 手機版調整 ========== */
@media (max-width: 768px) {
    .line-float-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .line-float-btn svg {
        width: 28px;
        height: 28px;
    }

    .line-lightbox-content {
        padding: 30px 25px;
    }

    .line-qr-image {
        width: 180px;
        height: 180px;
    }
}
