 
/* 登入頁面樣式 */
.login-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.login-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
    max-width: 900px;
}

.login-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    text-align: center;
}

    .login-header h1 {
        margin: 0 0 10px 0;
        font-size: 28px;
        font-weight: bold;
    }

    .login-header h2 {
        margin: 0;
        font-size: 16px;
        font-weight: 300;
        opacity: 0.9;
    }

.login-body {
    padding: 40px;
}

.login-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

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

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(238, 77, 45, 0.1);
    }

.btn-login {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s;
}

    .btn-login:hover {
        background-color: var(--secondary-color);
        color: white;
    }

.btn-social {
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.btn-facebook {
    background-color: #1877f2;
    color: white;
    border: none;
}

    .btn-facebook:hover {
        background-color: #166fe5;
        color: white;
    }

.btn-line {
    background-color: #06c755;
    color: white;
    border: none;
}

    .btn-line:hover {
        background-color: #05b34a;
        color: white;
    }

.btn-google {
    background-color: #4285f4;
    color: white;
    border: none;
}

    .btn-google:hover {
        background-color: #3367d6;
        color: white;
    }

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

    .forgot-link:hover {
        text-decoration: underline;
    }

/* ===== FB 登入說明（嵌入版）— 命名空間避免衝突 ===== */
.fb-embed {
    width: 100%;
    max-width: 520px; /* 半頁寬友善 */
    margin: 0 auto;
    padding: 8px 0 0;
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #1f2937;
}

.fb-hero {
    text-align: center;
    padding: 4px 0 4px;
}

.fb-logo {
    width: 42px;
    height: 42px;
    margin: 0 auto 8px;
    display: grid;
    place-items: center;
    background: #ff7a00;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.07);
}

    .fb-logo svg {
        width: 24px;
        height: 24px;
    }

.fb-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .2px;
}

.fb-subtitle {
    color: #6b7280;
    font-size: 13px;
    margin-top: 6px;
}

.fb-stack {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.fb-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,.07);
    padding: 16px;
}

.fb-h {
    margin: 2px 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.fb-card p {
    margin: 8px 0;
    line-height: 1.75;
}

.fb-badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: #fff3e8;
    color: #8a3b00;
    border: 1px dashed #ff6a00;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
}

.fb-list {
    margin: 8px 0 0 18px;
    padding: 0;
}

    .fb-list li {
        margin: 6px 0;
    }

.fb-muted {
    color: #6b7280;
}

.fb-tiny {
    font-size: 12px;
}

/* 手機微調 */
@media (max-width: 480px) {
    .fb-title {
        font-size: 18px;
    }

    .fb-h {
        font-size: 17px;
    }
}