.socialfeeds-license-tab {
padding: 20px 0;
}

.socialfeeds-license-card {
background: #ffffff;
border-radius: 12px;
border: 1px solid #e2e8f0;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
overflow: hidden;
max-width: 850px;
margin: 0 auto;
margin-top: 50px;
}

.socialfeeds-license-row {
display: flex;
padding: 16px 24px;
border-bottom: 1px solid #f1f5f9;
align-items: center;
}

.socialfeeds-license-row:last-child {
border-bottom: none;
}

.socialfeeds-license-label {
flex: 0 0 250px;
font-weight: 700;
color: #1e293b;
font-size: 14px;
}

.socialfeeds-license-value {
flex: 1;
color: #64748b;
font-size: 14px;
display: flex;
align-items: center;
}

.socialfeeds-license-value.mono {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 13px;
letter-spacing: 0.3px;
}

/* Badge for Unlicensed */
.socialfeeds-license-badge {
display: inline-flex;
align-items: center;
padding: 6px 14px;
background: #fff1f2;
color: #e11d48;
border-radius: 8px;
font-size: 13px;
font-weight: 600;
border: 1px solid #ffe4e6;
margin-right: 15px;
}

/* License Input Field */
.socialfeeds-license-input-wrapper {
display: flex;
flex-direction: column;
gap: 15px;
}

.socialfeeds-license-input-row {
display: flex;
align-items: center;
}

.socialfeeds-license-input {
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 8px;
padding: 10px 16px;
width: 380px;
font-size: 14px;
color: #475569;
transition: all 0.2s;
}

.socialfeeds-license-input:focus {
border-color: #5525d9;
outline: none;
box-shadow: 0 0 0 3px rgba(85, 37, 217, 0.1);
}

/* Update Button */
.socialfeeds-license-btn {
background: #5525d9;
color: white;
border: none;
padding: 10px 24px;
border-radius: 8px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
width: fit-content;
}

.socialfeeds-license-btn:hover {
background: #441eb5;
transform: translateY(-1px);
}


.socialfeeds-license-buttons{
display: flex;
gap: 10px;
margin-top: 10px;
}

.socialfeeds-license-btn-delete{
background-color: white;
color: #441eb5;
border-color: white;
}

.socialfeeds-license-btn-delete:hover{
background-color: #441eb5;
border-color: #441eb5;
color: white;
}

/* Success status text (.htaccess, etc.) */
.socialfeeds-text-success {
color: #16a34a;
font-weight: 700;
}

.socialfeeds-text-danger {
color: #ef4444;
font-weight: 700;
}

/* Info container for status/expiry */
.socialfeeds-license-info {
margin-top: 12px;
font-size: 13px;
color: #94a3b8;
display: flex;
gap: 20px;
}

.socialfeeds-license-info span b {
color: #475569;
}

.socialfeeds-instagram-header {
display: flex;
align-items: center;
gap: 12px;
}

.socialfeeds-instagram-header.small .preview-avatar img {
width: 50px;
height: 50px;
}

.socialfeeds-instagram-header.medium .preview-avatar img {
width: 66px;
height: 66px;
}

.socialfeeds-instagram-header.large .preview-avatar img {
width: 82px;
height: 82px;
}

/* Preview Wrapper & Header Positions */
.socialfeeds-customize-preview {
max-width: 100%;
overflow: hidden;
position: relative;
}

.socialfeeds-preview-box-wrapper {
margin: 0 auto !important;
max-width: 100% !important;
width: 100% !important;
display: block !important;
position: relative;
box-sizing: border-box;
}

#socialfeeds-instagram-preview-header {
width: 100% !important;
margin: 0 0 25px 0 !important;
display: flex !important;
box-sizing: border-box;
}

.socialfeeds-instagram-header {
display: flex !important;
width: 100% !important;
align-items: center;
gap: 15px;
box-sizing: border-box;
transition: all 0.3s ease;
}

.socialfeeds-instagram-header.left {
flex-direction: row !important;
justify-content: flex-start !important;
text-align: left !important;
}

.socialfeeds-instagram-header.middle {
flex-direction: row !important;
justify-content: center !important;
text-align: center !important;
}

.socialfeeds-instagram-header.right {
flex-direction: row !important;
justify-content: flex-end !important;
text-align: right !important;
}

.preview-avatar img {
border-radius: 50%;
object-fit: cover;
}

.preview-meta {
display: flex;
flex-direction: column;
justify-content: center;
text-align: left;
}

.preview-username {
font-size: 1.35em;
}

.preview-bio,
.preview-followers,
.preview-media {
font-size: 0.95em;
color: #555;
}

.socialfeeds-preview-item {
border-radius: 0;
overflow: hidden;
background: transparent;
border: none;
}

/* Media */
.socialfeeds-preview-media img {
width: 100%;
height: auto;
display: block;
}

/* Video placeholder */
.socialfeeds-video-placeholder {
padding: 40% 0;
background: #333;
color: #ccc;
text-align: center;
}

/* Info section (below media) */
.socialfeeds-preview-stats {
padding: 8px 10px;
font-size: 13px;
color: #000;

display: flex;
flex-wrap: wrap;
gap: 8px;
}

.socialfeeds-preview-stats:empty {
display: none;
}

.socialfeeds-preview-stats .caption {
width: 100%;
line-height: 1.4;

display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}

.socialfeeds-preview-stats .likes,
.socialfeeds-preview-stats .comments,
.socialfeeds-preview-stats .views {
font-size: 12px;
color: #555;
}

/* Media wrapper */
.socialfeeds-preview-media {
width: 100%;
overflow: hidden;
background: #f3f3f3;
}

/* Square 1:1 */
.socialfeeds-preview-media.aspect-square {
aspect-ratio: 1 / 1;
}

.socialfeeds-preview-media.aspect-instagram {
aspect-ratio: 1 / 1;
}

.socialfeeds-preview-media.aspect-portrait {
aspect-ratio: 4 / 5;
}

.socialfeeds-preview-media img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.socialfeeds-video-placeholder {
width: 100%;
height: 100%;
background: #222;
color: #aaa;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
}

.socialfeeds-preview-media {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.socialfeeds-hover-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.4);
opacity: 0;
transition: opacity 0.25s ease;
pointer-events: none;
}

.socialfeeds-preview-item.hover-overlay:hover .socialfeeds-hover-overlay {
opacity: 1 !important;
}

.socialfeeds-preview-item.hover-overlay:hover .socialfeeds-preview-media {
transform: none;
box-shadow: none;
}

.socialfeeds-preview-item.hover-scale:hover .socialfeeds-preview-media {
transform: scale(1.05);
transition: transform 0.3s ease;
}

.socialfeeds-preview-item.hover-shadow {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.socialfeeds-preview-item.hover-shadow:hover {
transform: translateY(-4px);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.socialfeeds-preview-item.hover-none:hover .socialfeeds-preview-media {
transform: none;
}

.socialfeeds-preview-follow-button,
.socialfeeds-preview-load-more {
text-align: center;
margin: 15px 0;
}

.socialfeeds-preview-follow-button .follow-button,
.socialfeeds-preview-load-more .load-more-button {
padding: 8px 20px;
font-size: 14px;
cursor: pointer;
border-radius: 4px;
border: none;
font-weight: 500;
transition: all 0.2s ease;
}

/* Instagram button styling to match YouTube */
.socialfeeds-load-more-btn,
.socialfeeds-follow-btn {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
font-size: 14px !important;
font-weight: 400 !important;
border-radius: 4px !important;
border: none !important;
cursor: pointer !important;
transition: all 0.2s ease;
text-decoration: none !important;
line-height: normal;
}

.socialfeeds-follow-btn .dashicons {
line-height: 1 !important;
}

/* Loading state for Load More button */
.socialfeeds-load-more-btn.socialfeeds-loading {
cursor: wait !important;
position: relative;
pointer-events: none;
}

.socialfeeds-load-more-btn.socialfeeds-loading::after {
content: "";
width: 14px;
height: 14px;
border: 2px solid currentColor;
border-radius: 50%;
border-top-color: transparent;
animation: socialfeeds-rotate 0.6s linear infinite;
display: inline-block;
margin-left: 8px;
vertical-align: middle;
}

@keyframes socialfeeds-rotate {
to {
	transform: rotate(360deg);
}
}

/* Carousel Controls */
.socialfeeds-carousel-stage {
position: relative;
width: 100%;
}

.socialfeeds-carousel-nav {
position: absolute;
top: 50%;
left: 0;
right: 0;
transform: translateY(-50%);
pointer-events: none;
z-index: 10;
display: flex;
justify-content: space-between;
padding: 0 5px;
}

.socialfeeds-carousel-btn {
background: #fff;
border: 1px solid #ccc;
border-radius: 50%;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
pointer-events: auto;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
transition: all 0.2s;
color: #333;
}

.socialfeeds-carousel-btn:hover {
background: #f0f0f0;
color: #000;
transform: scale(1.1);
}

.socialfeeds-carousel-btn .dashicons {
font-size: 20px;
width: 20px;
height: 20px;
}

.socialfeeds-carousel-dots {
display: flex;
justify-content: center;
gap: 8px;
margin-top: 15px;
}

.socialfeeds-dot {
width: 10px;
height: 10px;
background: #ddd;
border-radius: 50%;
cursor: pointer;
transition: background 0.2s;
}

.socialfeeds-dot.active {
background: #5525d9;
}

.layout-masonry img {
width: 100%;
height: auto;
display: block;
}

.layout-masonry .socialfeeds-preview-media {
aspect-ratio: auto !important;
height: auto !important;
}

/* Fullscreen Mode for Instagram - Using YouTube's CSS */
#socialfeeds-step-2.socialfeeds-fullscreen,
#socialfeeds-fb-step-2.socialfeeds-fullscreen {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 999999;
background: #fff;
border-radius: 0;
padding: 20px 5px !important;
overflow-y: auto;
box-sizing: border-box;
}

/* Prevent body scroll when fullscreen is active */
body.socialfeeds-body-lock {
overflow: hidden !important;
}

.socialfeeds-instagram-inner {
display: grid;
align-items: stretch;
}

.socialfeeds-instagram-inner.socialfeeds-instagram-list {
display: block;
}

.socialfeeds-card {
display: flex;
flex-direction: column;
height: 100%;
}

.socialfeeds-card-media img,
.socialfeeds-card-media video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}

.socialfeeds-instagram-header {
margin-bottom: 16px;
}

.socialfeeds-instagram-feed {
width: 100%;
}

/* MEDIA WRAPPER */
.socialfeeds-card-media {
position: relative;
width: 100%;
aspect-ratio: 1 / 1;
/* square */
overflow: hidden;
background: #f5f5f5;
}

/* IMAGE + VIDEO */
.socialfeeds-card-media img,
.socialfeeds-card-media video {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.socialfeeds-instagram-header {
display: flex;
gap: 16px;
align-items: center;
margin-bottom: 16px;
}

.socialfeeds-instagram-header-avatar {
flex-shrink: 0;
}

.socialfeeds-instagram-header-info p {
margin: 4px 0;
font-size: 14px;
color: inherit;
}

/* Play Icon Overlay (Circular with white arrow icon) - PREVIEW */
.socialfeeds-instagram-feed .socialfeeds-play-overlay {
position: absolute;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
width: 48px !important;
height: 48px !important;
background: rgba(0, 0, 0, 0.6) !important;
border-radius: 50% !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
z-index: 5 !important;
pointer-events: none !important;
transition: all 0.2s ease !important;
border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

/* Remove YouTube Triangle in Preview */
.socialfeeds-instagram-feed .socialfeeds-play-overlay::before,
.socialfeeds-instagram-feed .socialfeeds-play-overlay::after {
content: none !important;
display: none !important;
}

.socialfeeds-instagram-feed .socialfeeds-play-overlay .dashicons {
color: #ffffff !important;
font-size: 28px !important;
width: 28px !important;
height: 28px !important;
line-height: 1 !important;
margin-left: 2px !important;
}

.socialfeeds-likes{
color: #d76565 !important;
}

.socialfeeds-comments{
color: #d76565 !important;
}

/* Custom Radio Button Styling */
.socialfeeds-account-item input[type="radio"] {
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
width: 18px !important;
height: 18px !important;
border: 2px solid #cbd5e1 !important;
border-radius: 50% !important;
outline: none !important;
cursor: pointer;
position: relative;
display: inline-block;
background-color: transparent !important;
transition: all 0.2s ease;
flex-shrink: 0;
}

.socialfeeds-account-item.selected input[type="radio"],
.socialfeeds-account-item input[type="radio"]:checked {
border-color: #5525d9 !important;
}

.socialfeeds-account-item.selected input[type="radio"]::after,
.socialfeeds-account-item input[type="radio"]:checked::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 10px;
height: 10px;
border-radius: 50%;
background-color: #5525d9;
}

.socialfeeds-account-item input[type="radio"]:hover {
border-color: #94a3b8 !important;
}

.socialfeeds-account-item.selected input[type="radio"]:hover,
.socialfeeds-account-item input[type="radio"]:checked:hover {
border-color: #5525d9 !important;
}

/* =============================================
Connection Type Cards (Modal)
============================================= */
.socialfeeds-ig-modal-wide {
max-width: 680px !important;
max-height: 90vh !important;
overflow-y: auto !important;
}

.socialfeeds-connection-type-section {
margin-bottom: 20px;
}

.socialfeeds-connection-type-label {
display: block;
font-size: 14px;
font-weight: 600;
color: #374151;
margin-bottom: 12px;
}

.socialfeeds-connection-type-cards {
display: grid !important;
grid-template-columns: 1fr 1fr !important;
gap: 12px !important;
}

/* Card wrapper (label) */
.socialfeeds-connection-card {
position: relative !important;
display: block !important;
border: 2px solid #e2e8f0 !important;
border-radius: 12px !important;
padding: 12px 14px !important;
cursor: pointer !important;
background: #fff !important;
transition: all 0.2s ease !important;
margin: 0 !important;
overflow: visible !important;
}

.socialfeeds-connection-card:hover {
border-color: #cbd5e1 !important;
background: #f8fafc !important;
}

.socialfeeds-connection-card.selected {
border-color: #3b82f6 !important;
background: #eff6ff !important;
box-shadow: 0 0 0 1px #3b82f6 !important;
}

/* HIDE the native radio button with max specificity */
#socialfeeds-ig-connection-modal .socialfeeds-connection-card input[type="radio"],
.socialfeeds-source-connection-type .socialfeeds-connection-card input[type="radio"],
.socialfeeds-connection-card input[type="radio"] {
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
position: absolute !important;
opacity: 0 !important;
width: 0 !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
pointer-events: none !important;
clip: rect(0, 0, 0, 0) !important;
overflow: hidden !important;
}

/* Inner flex layout */
.socialfeeds-connection-card-inner {
display: flex !important;
align-items: center !important;
gap: 12px !important;
}

/* Custom radio circle */
.socialfeeds-connection-radio{
width: 20px !important;
min-width: 20px !important;
height: 20px !important;
border: 2px solid #cbd5e1 !important;
border-radius: 50% !important;
flex-shrink: 0 !important;
position: relative !important;
transition: all 0.2s ease !important;
display: inline-block !important;
box-sizing: border-box !important;
background: #fff !important;
}

.socialfeeds-connection-card.selected .socialfeeds-connection-radio {
border-color: #3b82f6 !important;
}

.socialfeeds-connection-card.selected .socialfeeds-connection-radio::after{
content: '' !important;
position: absolute !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
width: 10px !important;
height: 10px !important;
border-radius: 50% !important;
background: #3b82f6 !important;
display: block !important;
}

/* Card text */
.socialfeeds-connection-card-text{
display: flex !important;
flex-direction: column !important;
gap: 2px !important;
min-width: 0 !important;
}

.socialfeeds-connection-card-text strong {
font-size: 14px !important;
font-weight: 700 !important;
color: #1e293b !important;
white-space: nowrap !important;
}

.socialfeeds-connection-card-text span{
font-size: 12px !important;
color: #64748b !important;
white-space: nowrap !important;
}

/* Connection Feature Bullets */
.socialfeeds-connection-features{
margin-bottom: 15px;
padding: 0;
}

.socialfeeds-feature-item{
display: flex;
align-items: center;
gap: 10px;
padding: 4px 0;
font-size: 13px;
color: #374151;
}

.socialfeeds-feature-item .dashicons{
font-size: 20px;
width: 20px;
height: 20px;
}

.socialfeeds-feature-item.info .dashicons{
color: #3b82f6;
}

.socialfeeds-feature-item.yes .dashicons{
color: #22c55e;
}

.socialfeeds-feature-item.no .dashicons{
color: #ef4444;
}

.socialfeeds-feature-item.no{
color: #94a3b8;
}

/* Token Input with Icon */
.socialfeeds-token-input-wrap{
position: relative;
display: flex;
align-items: center;
}

.socialfeeds-token-icon{
position: absolute;
left: 12px;
color: #94a3b8;
font-size: 18px;
width: 18px;
height: 18px;
z-index: 1;
}

.socialfeeds-token-input-wrap .socialfeeds-api-input{
padding-left: 38px !important;
width: 100% !important;
height: 44px;
border: 1px solid #e2e8f0 !important;
border-radius: 8px !important;
font-size: 14px;
background: #f8fafc;
transition: all 0.2s;
}

.socialfeeds-token-input-wrap .socialfeeds-api-input:focus{
border-color: #3b82f6 !important;
background: #fff;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Modal Button Purple */
.socialfeeds-modal-btn-purple{
background: #5525d9 !important;
color: #fff !important;
border: none !important;
border-radius: 8px !important;
font-weight: 600 !important;
padding: 10px 24px !important;
cursor: pointer !important;
transition: all 0.2s ease !important;
}

.socialfeeds-modal-btn-purple:hover{
background: #441eb5 !important;
transform: translateY(-1px);
}

/* Configure Source Connection Type */
.socialfeeds-source-connection-type{
margin-bottom: 20px;
padding: 16px;
background: #f8fafc;
border-radius: 12px;
border: 1px solid #e2e8f0;
}

.socialfeeds-source-connection-type .socialfeeds-connection-type-cards{
margin-top: 10px;
}

.socialfeeds-source-connection-type .socialfeeds-connection-card{
padding: 12px 14px;
}

.socialfeeds-source-connection-type .socialfeeds-connection-card-text strong{
font-size: 13px;
}

.socialfeeds-source-connection-type .socialfeeds-connection-card-text span{
font-size: 11px;
}

/* Facebook Feed Items */
.socialfeeds-facebook-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
.socialfeeds-facebook-item.hover-shadow { transition: transform 0.2s, box-shadow 0.2s; }
.socialfeeds-facebook-item.hover-shadow:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.socialfeeds-facebook-media { position: relative; width: 100%; overflow: hidden; background: #f1f5f9; }
.socialfeeds-facebook-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.socialfeeds-facebook-content { padding: 15px; }
.socialfeeds-facebook-message { margin-bottom: 8px; font-size: 14px; line-height: 1.5; color: #1e293b; }

/* Facebook Interactive Engagement Section */
.socialfeeds-fb-engagement {
display: flex;
align-items: center;
gap: 12px;
padding: 8px 0;
margin-top: 8px;
}

/* Facebook Like Button */
.socialfeeds-fb-like-btn {
transition: all 0.2s ease;
font-weight: 500;
}

.socialfeeds-fb-like-btn:hover {
color: #1877f2 !important;
transform: scale(1.05);
}

.socialfeeds-fb-like-btn.fb-liked {
color: #1877f2 !important;
font-weight: 600;
}

.socialfeeds-fb-like-btn.fb-liked .dashicons-heart {
color: #1877f2 !important;
}

/* Facebook Comment Button */
.socialfeeds-fb-comment-btn {
transition: all 0.2s ease;
font-weight: 500;
}

.socialfeeds-fb-comment-btn:hover {
color: #059669 !important;
transform: scale(1.05);
}

/* Facebook Comments Tooltip */
.socialfeeds-fb-comments-tooltip {
animation: slideUpFb 0.2s ease-out;
}

@keyframes slideUpFb {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.socialfeeds-fb-comments-tooltip::-webkit-scrollbar {
width: 6px;
}

.socialfeeds-fb-comments-tooltip::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 3px;
}

.socialfeeds-fb-comments-tooltip::-webkit-scrollbar-thumb {
background: #ccc;
border-radius: 3px;
}

.socialfeeds-fb-comments-tooltip::-webkit-scrollbar-thumb:hover {
background: #999;
}

/* Albums & Events Badges */
.socialfeeds-fb-album-count { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.7); color: #fff; padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.socialfeeds-fb-event-badge { position: absolute; top: 10px; left: 10px; background: #ef4444; color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; display: flex; align-items: center; gap: 5px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); z-index: 10; }
.socialfeeds-fb-event-time, .socialfeeds-fb-event-place { font-size: 12px; color: #64748b; margin-top: 5px; display: flex; align-items: center; gap: 5px; }
.socialfeeds-fb-event-time .dashicons, .socialfeeds-fb-event-place .dashicons { font-size: 14px; width: 14px; height: 14px; }
.socialfeeds-fb-album-desc { font-size: 13px; color: #64748b; margin-top: 5px; }

/* Facebook Avatar Upload Wrapper */
.socialfeeds-avatar-upload-wrapper {
    padding: 0;
}

.socialfeeds-avatar-preview-box {
display: flex;
align-items: center;
justify-content: center;
min-height: 80px;
border: 2px dashed #e2e8f0;
border-radius: 8px;
background: #f8fafc;
margin-bottom: 12px;
overflow: hidden;
position: relative;
}

.socialfeeds-avatar-preview-box img {
max-width: 100%;
max-height: 100%;
border-radius: 4px;
object-fit: contain;
}

.socialfeeds-avatar-preview-box p {
color: #94a3b8;
margin: 0;
font-size: 13px;
}

.facebook-avatar-upload-btn {
width: 100%;
justify-content: center;
display: flex;
align-items: center;
gap: 6px;
padding: 10px 16px;
background: #f1f5f9;
border: 1px solid #cbd5e1;
border-radius: 8px;
color: #2d3748;
cursor: pointer;
font-weight: 500;
font-size: 14px;
transition: all 0.2s ease;
}

.facebook-avatar-upload-btn:hover {
background: #e2e8f0;
border-color: #94a3b8;
}

.facebook-avatar-upload-btn .dashicons {
font-size: 18px;
width: 18px;
height: 18px;
margin-top: 2px;
}

/* Header Position and Size Selects */
.socialfeeds-fb-header-position-select,
.socialfeeds-fb-header-size-select {
width: 100%;
}

/* Toggle Row Styling */
.socialfeeds-toggle-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 0;
border-bottom: 1px solid #f1f5f9;
}

.socialfeeds-toggle-row:last-child {
border-bottom: none;
}

.socialfeeds-toggle-info {
flex: 1;
}

.socialfeeds-toggle-title {
display: block;
font-size: 14px;
font-weight: 500;
color: #1e293b;
}

.socialfeeds-toggle-input {
margin-left: 12px;
}

.socialfeeds-spacer {
flex: 1;
}

.socialfeeds-carousel-stage #socialfeeds-google-preview-grid {
scrollbar-width: none;
-ms-overflow-style: none;
}

.socialfeeds-carousel-stage #socialfeeds-google-preview-grid::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
}