/* Facebook Survey Style */
#fb-survey-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f2f5;
    z-index: 9999;
    font-family: Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.fb-header {
    background-color: #ffffff;
    height: 60px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.fb-logo {
    color: #1877f2;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: -0.5px;
}

.fb-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.fb-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 800px;
    padding: 40px;
    text-align: center;
}

.fb-question-counter {
    font-size: 18px;
    color: #65676b;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

.fb-question-title {
    font-size: 32px;
    color: #050505;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.answer-btn {
    background-color: #e4e6eb;
    color: #050505;
    border: none;
    padding: 20px 25px;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: left;
}

.answer-btn:hover {
    background-color: #d8dadf;
}

.answer-btn:active {
    background-color: #ced0d4;
    transform: scale(0.98);
}

.fb-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.fb-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1877f2;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.fb-loading-text {
    font-size: 18px;
    color: #65676b;
    font-weight: 600;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hide main content initially */
body > section, body > footer, body > div:not(#fb-survey-overlay) {
    /* We will handle visibility via JS to avoid flash of content if JS fails, 
       but for now let's rely on the overlay covering everything with z-index */
}
