/* assets/css/facebook-plugin.css */

.fb-plugin-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.fb-plugin-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    background-color: #1877F2;
    color: #ffffff;
    border-bottom: 1px solid #166fe5;
    flex-shrink: 0;
}

.fb-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.fb-page-name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fb-followers {
    font-size: 12px;
    background-color: rgba(255,255,255,0.2);
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: auto;
    white-space: nowrap;
}

.fb-plugin-wrapper {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
}

.fb-iframe {
    border: none;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    display: block;
}

.fb-plugin-footer {
    padding: 12px 15px;
    background-color: #ffffff;
    border-top: 1px solid #e5e5e5;
    text-align: center;
    flex-shrink: 0;
}

.fb-follow-btn {
    display: inline-block;
    background-color: #1877F2;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.fb-follow-btn:hover {
    background-color: #166fe5;
}

/* Custom scrollbar */
.fb-plugin-wrapper::-webkit-scrollbar {
    width: 6px;
}

.fb-plugin-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.fb-plugin-wrapper::-webkit-scrollbar-thumb {
    background: #15803D;
    border-radius: 3px;
}

.fb-plugin-wrapper::-webkit-scrollbar-thumb:hover {
    background: #0e6c2d;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .fb-plugin-header {
        padding: 10px 12px;
    }
    
    .fb-page-name {
        font-size: 13px;
    }
    
    .fb-followers {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .fb-follow-btn {
        padding: 6px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .fb-plugin-header {
        flex-wrap: wrap;
    }
    
    .fb-followers {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
}