.sfsbwc-bar {
    display: none;
}

.sfsbwc-bar {
    font-family: inherit; /* Inherit from theme by default */
}

/* Use a very specific selector to override theme defaults */
div.sfsbwc-bar-container, 
div.sfsbwc-bar-container * {
    font-family: inherit !important;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
}

/* Shimmer animation */
@keyframes sfsbwc-shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Celebration animations */
@keyframes sfsbwc-pulse-celebrate {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes sfsbwc-gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


/* Shipping Bar Progress Styling */
.sfsbwc-bar {
    transition: all 0.3s ease;
}

.sfsbwc-bar-content {
    position: relative;
}

.sfsbwc-message {
    word-wrap: break-word;
}

.sfsbwc-close-btn:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.sfsbwc-bar-progress-wrapper {
    position: relative;
}

.sfsbwc-bar-progress-track {
    position: relative;
    overflow: hidden;
}

.sfsbwc-bar-progress-fill {
    position: relative;
    overflow: hidden;
}

/* Shimmer animation for progress bar */
@keyframes sfsbwc-shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.sfsbwc-progress-shimmer {
    pointer-events: none;
}

/* Hide shimmer when progress is complete */
.sfsbwc-bar-progress-fill[data-percent="100"] .sfsbwc-progress-shimmer {
    display: none;
}

.sfsbwc-bar-progress-wrapper {
    width: 30%;
}


/* Base progress bar animation setup */
.sfsbwc-progress-bar {
    transition: width 0.5s ease-out;
}

/* 🔹 Loading Effect (Animated shimmer inside the progress bar) */
.sfsbwc-effect-loading .sfsbwc-progress-bar {
    position: relative;
    overflow: hidden;
}
.sfsbwc-effect-loading .sfsbwc-progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.3) 100%
    );
    animation: sfsbwc-shine 2s infinite;
}
@keyframes sfsbwc-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.sfsbwc-bar a,
.sfsbwc-message a,
#sfsbwc-bar a,
#sfsbwc-bar .sfsbwc-message a {
    font-weight: 700;
    text-decoration: none;
}

.sfsbwc-tab:hover {
    background: #f5f5f5;
    color: #333;
}

.sfsbwc-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.sfsbwc-tab .dashicons {
    font-size: 18px;
}

.sfsbwc-tab-content {
    display: none;
}

.sfsbwc-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.sfsbwc-card {
    background: white;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.sfsbwc-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.sfsbwc-card-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.sfsbwc-card-header p {
    margin: 8px 0 0;
    font-size: 14px;
    color: #6b7280;
}

.sfsbwc-card-body {
    padding: 24px;
}

.sfsbwc-field {
    margin-bottom: 24px;
}

.sfsbwc-field:last-child {
    margin-bottom: 0;
}

.sfsbwc-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.sfsbwc-input,
.sfsbwc-select,
.sfsbwc-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.sfsbwc-input:focus,
.sfsbwc-select:focus,
.sfsbwc-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.sfsbwc-textarea {
    resize: vertical;
    font-family: inherit;
}

.sfsbwc-code-editor {
    font-family: 'Courier New', monospace;
    background: #1e1e1e;
    color: #d4d4d4;
    border: none;
    padding: 16px;
    width: 100%;
}

.sfsbwc-description {
    margin: 6px 0 0;
    font-size: 13px;
    color: #6b7280;
    font-style: italic;
}

.sfsbwc-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.sfsbwc-toggle input[type="checkbox"] {
    display: none;
}

.sfsbwc-toggle-slider {
    position: relative;
    width: 48px;
    height: 24px;
    background: #d1d5db;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.sfsbwc-toggle-slider:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.sfsbwc-toggle input:checked + .sfsbwc-toggle-slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sfsbwc-toggle input:checked + .sfsbwc-toggle-slider:before {
    transform: translateX(24px);
}

.sfsbwc-toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.sfsbwc-radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sfsbwc-radio {
    display: inline-block;
    cursor: pointer;
}

.sfsbwc-radio input[type="radio"] {
    display: none;
}

.sfsbwc-radio-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s ease;
}

.sfsbwc-radio input:checked + .sfsbwc-radio-label {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: #ffffff;
}

.sfsbwc-radio-label:hover {
    border-color: #667eea;
}

.sfsbwc-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.sfsbwc-color-input {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sfsbwc-color-picker {
    width: 60px;
    height: 40px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
}

.sfsbwc-color-text {
    flex: 1;
}

.sfsbwc-shortcode-info {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.sfsbwc-shortcode-info h4 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #0c4a6e;
}

.sfsbwc-shortcode-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sfsbwc-shortcode-list code {
    background: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #0c4a6e;
    border: 1px solid #bae6fd;
}

.sfsbwc-info-card {
    background: #fef3c7;
    border-color: #fde68a;
    padding: 24px;
}

.sfsbwc-info-card h3 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #92400e;
}

.sfsbwc-info-card p {
    margin: 0 0 12px;
    color: #78350f;
    font-size: 14px;
}

.sfsbwc-shortcode-example {
    display: inline-block;
    background: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    color: #92400e;
    border: 1px solid #fde68a;
    font-weight: 600;
}

.sfsbwc-footer {
    background: white;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
}

.sfsbwc-save-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    padding: 12px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3) !important;
    transition: all 0.3s ease !important;
    height: auto !important;
    text-shadow: none !important;
}

.sfsbwc-save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4) !important;
}
        
/* Toast Notification */
.sfsbwc-toast {
    position: fixed;
    top: -50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999999;
    transition: top 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-weight: 500;
    font-size: 14px;
    min-width: 300px;
    justify-content: center;
}
        
.sfsbwc-toast.show {
    top: 50%;
}
        
.sfsbwc-toast-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}
        
.sfsbwc-toast-message {
    flex: 1;
}



.wc-settings-wrap {
    margin: 20px 20px 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

.sfsbwc-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.sfsbwc-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sfsbwc-title {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.sfsbwc-icon {
    font-size: 32px;
}

.sfsbwc-subtitle {
    margin: 8px 0 0;
    opacity: 0.9;
    font-size: 14px;
}

.sfsbwc-version {
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.sfsbwc-container {
    max-width: 1200px;
}

.sfsbwc-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.sfsbwc-tab {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}


/* ============================================ */
/* STYLING FOR HOVER ANIMATION CARD */
/* ============================================ */

.sfsbwc-hover-preview-container {
    margin-top: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border: 2px dashed #e0e0e0;
}

.sfsbwc-hover-preview-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

.sfsbwc-hover-preview-box {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sfsbwc-hover-demo-bar {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    font-size: 15px;
}

.sfsbwc-demo-icon {
    font-size: 22px;
    line-height: 1;
}

.sfsbwc-demo-text {
    font-size: 15px;
}

.sfsbwc-preview-hint {
    margin-top: 15px;
    font-size: 12px;
    color: #999;
    font-style: italic;
}

/* Tips Box Styling */
.sfsbwc-tips-box {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #fef3e4 0%, #fff9f0 100%);
    border-left: 4px solid #ffa500;
    border-radius: 8px;
}

.sfsbwc-tip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #d97706;
    font-size: 14px;
}

.sfsbwc-tip-list {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.sfsbwc-tip-list li {
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.sfsbwc-tip-list li:last-child {
    margin-bottom: 0;
}

/* Select Dropdown Enhancement */
.sfsbwc-hover-select {
    font-size: 14px;
    padding: 10px 12px;
}

.sfsbwc-hover-select option {
    padding: 8px;
}











/* Hover Effects CSS - Based on Elementor Animations */

/* Base transition for all effects */
.sfsbwc-bar[class*="sfsbwc-hvr-"] {
    transition: all 0.3s ease;
}

/* Grow */
.sfsbwc-hvr-grow:hover {
    transform: scale(1.05);
}

/* Shrink */
.sfsbwc-hvr-shrink:hover {
    transform: scale(0.95);
}

/* Pulse */
@keyframes sfsbwc-pulse {
    25% { transform: scale(1.05); }
    75% { transform: scale(0.95); }
}
.sfsbwc-hvr-pulse:hover {
    animation: sfsbwc-pulse 1s infinite;
}

/* Pulse Grow */
@keyframes sfsbwc-pulse-grow {
    to { transform: scale(1.1); }
}
.sfsbwc-hvr-pulse-grow:hover {
    animation: sfsbwc-pulse-grow 0.5s alternate infinite;
}

/* Pulse Shrink */
@keyframes sfsbwc-pulse-shrink {
    to { transform: scale(0.9); }
}
.sfsbwc-hvr-pulse-shrink:hover {
    animation: sfsbwc-pulse-shrink 0.5s alternate infinite;
}

/* Push */
@keyframes sfsbwc-push {
    50% { transform: scale(0.8); }
    100% { transform: scale(1); }
}
.sfsbwc-hvr-push:hover {
    animation: sfsbwc-push 0.3s;
}

/* Pop */
@keyframes sfsbwc-pop {
    50% { transform: scale(1.2); }
}
.sfsbwc-hvr-pop:hover {
    animation: sfsbwc-pop 0.3s;
}

/* Bounce In */
@keyframes sfsbwc-bounce-in {
    0%, 20%, 40%, 60%, 80%, 100% { transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
    0% { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); }
    20% { transform: scale3d(1.1, 1.1, 1.1); }
    40% { transform: scale3d(0.9, 0.9, 0.9); }
    60% { opacity: 1; transform: scale3d(1.03, 1.03, 1.03); }
    80% { transform: scale3d(0.97, 0.97, 0.97); }
    100% { opacity: 1; transform: scale3d(1, 1, 1); }
}
.sfsbwc-hvr-bounce-in:hover {
    animation: sfsbwc-bounce-in 0.75s;
}

/* Bounce Out */
@keyframes sfsbwc-bounce-out {
    20% { transform: scale3d(0.9, 0.9, 0.9); }
    50%, 55% { opacity: 1; transform: scale3d(1.1, 1.1, 1.1); }
    100% { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); }
}
.sfsbwc-hvr-bounce-out:hover {
    animation: sfsbwc-bounce-out 0.75s;
}

/* Rotate */
.sfsbwc-hvr-rotate:hover {
    transform: rotate(4deg);
}

/* Grow Rotate */
.sfsbwc-hvr-grow-rotate:hover {
    transform: scale(1.1) rotate(4deg);
}

/* Float */
@keyframes sfsbwc-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.sfsbwc-hvr-float:hover {
    animation: sfsbwc-float 1s ease-in-out infinite;
}

/* Sink */
@keyframes sfsbwc-sink {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}
.sfsbwc-hvr-sink:hover {
    animation: sfsbwc-sink 1s ease-in-out infinite;
}

/* Bob */
@keyframes sfsbwc-bob {
    0%, 100% { transform: translateY(-8px); }
    50% { transform: translateY(-4px); }
}
.sfsbwc-hvr-bob:hover {
    animation: sfsbwc-bob 0.5s infinite;
}

/* Hang */
@keyframes sfsbwc-hang {
    0%, 100% { transform: translateY(-4px); }
    50% { transform: translateY(-8px); }
}
.sfsbwc-hvr-hang:hover {
    animation: sfsbwc-hang 0.5s infinite;
}

/* Skew */
.sfsbwc-hvr-skew:hover {
    transform: skew(-10deg);
}

/* Skew Forward */
.sfsbwc-hvr-skew-forward:hover {
    transform: skew(-10deg);
}

/* Skew Backward */
.sfsbwc-hvr-skew-backward:hover {
    transform: skew(10deg);
}

/* Wobble Vertical */
@keyframes sfsbwc-wobble-vertical {
    16.65% { transform: translateY(8px); }
    33.3% { transform: translateY(-6px); }
    49.95% { transform: translateY(4px); }
    66.6% { transform: translateY(-2px); }
    83.25% { transform: translateY(1px); }
    100% { transform: translateY(0); }
}
.sfsbwc-hvr-wobble-vertical:hover {
    animation: sfsbwc-wobble-vertical 1s;
}

/* Wobble Horizontal */
@keyframes sfsbwc-wobble-horizontal {
    16.65% { transform: translateX(8px); }
    33.3% { transform: translateX(-6px); }
    49.95% { transform: translateX(4px); }
    66.6% { transform: translateX(-2px); }
    83.25% { transform: translateX(1px); }
    100% { transform: translateX(0); }
}
.sfsbwc-hvr-wobble-horizontal:hover {
    animation: sfsbwc-wobble-horizontal 1s;
}

/* Wobble To Bottom Right */
@keyframes sfsbwc-wobble-to-bottom-right {
    16.65% { transform: translate(8px, 8px); }
    33.3% { transform: translate(-6px, -6px); }
    49.95% { transform: translate(4px, 4px); }
    66.6% { transform: translate(-2px, -2px); }
    83.25% { transform: translate(1px, 1px); }
    100% { transform: translate(0, 0); }
}
.sfsbwc-hvr-wobble-to-bottom-right:hover {
    animation: sfsbwc-wobble-to-bottom-right 1s;
}

/* Wobble To Top Right */
@keyframes sfsbwc-wobble-to-top-right {
    16.65% { transform: translate(8px, -8px); }
    33.3% { transform: translate(-6px, 6px); }
    49.95% { transform: translate(4px, -4px); }
    66.6% { transform: translate(-2px, 2px); }
    83.25% { transform: translate(1px, -1px); }
    100% { transform: translate(0, 0); }
}
.sfsbwc-hvr-wobble-to-top-right:hover {
    animation: sfsbwc-wobble-to-top-right 1s;
}

/* Wobble Top */
@keyframes sfsbwc-wobble-top {
    16.65% { transform: skew(-12deg); }
    33.3% { transform: skew(10deg); }
    49.95% { transform: skew(-6deg); }
    66.6% { transform: skew(4deg); }
    83.25% { transform: skew(-2deg); }
    100% { transform: skew(0); }
}
.sfsbwc-hvr-wobble-top:hover {
    transform-origin: 0 100%;
    animation: sfsbwc-wobble-top 1s;
}

/* Wobble Bottom */
.sfsbwc-hvr-wobble-bottom:hover {
    transform-origin: 100% 0;
    animation: sfsbwc-wobble-top 1s;
}

/* Wobble Skew */
@keyframes sfsbwc-wobble-skew {
    16.65% { transform: skew(-12deg); }
    33.3% { transform: skew(10deg); }
    49.95% { transform: skew(-6deg); }
    66.6% { transform: skew(4deg); }
    83.25% { transform: skew(-2deg); }
    100% { transform: skew(0); }
}
.sfsbwc-hvr-wobble-skew:hover {
    animation: sfsbwc-wobble-skew 1s;
}

/* Buzz */
@keyframes sfsbwc-buzz {
    50% { transform: translateX(3px) rotate(2deg); }
    100% { transform: translateX(-3px) rotate(-2deg); }
}
.sfsbwc-hvr-buzz:hover {
    animation: sfsbwc-buzz 0.15s infinite;
}

/* Buzz Out */
@keyframes sfsbwc-buzz-out {
    10% { transform: translateX(3px) rotate(2deg); }
    20% { transform: translateX(-3px) rotate(-2deg); }
    30% { transform: translateX(3px) rotate(2deg); }
    40% { transform: translateX(-3px) rotate(-2deg); }
    50% { transform: translateX(2px) rotate(1deg); }
    60% { transform: translateX(-2px) rotate(-1deg); }
    70% { transform: translateX(2px) rotate(1deg); }
    80% { transform: translateX(-2px) rotate(-1deg); }
    90% { transform: translateX(1px) rotate(0); }
    100% { transform: translateX(-1px) rotate(0); }
}
.sfsbwc-hvr-buzz-out:hover {
    animation: sfsbwc-buzz-out 0.75s;
}




/**
 * Entrance Animations CSS
 * Based on Elementor/Animate.css animations
 * File: assets/css/sfsbwc-entrance-animations.css
 */

/* ============================================ */
/* FADING ANIMATIONS */
/* ============================================ */

@keyframes sfsbwc-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sfsbwc-entrance-fadeIn {
    animation: sfsbwc-fadeIn 0.8s ease-in-out;
}

@keyframes sfsbwc-fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-fadeInDown {
    animation: sfsbwc-fadeInDown 0.8s ease-in-out;
}

@keyframes sfsbwc-fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-fadeInLeft {
    animation: sfsbwc-fadeInLeft 0.8s ease-in-out;
}

@keyframes sfsbwc-fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-fadeInRight {
    animation: sfsbwc-fadeInRight 0.8s ease-in-out;
}

@keyframes sfsbwc-fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-fadeInUp {
    animation: sfsbwc-fadeInUp 0.8s ease-in-out;
}

/* ============================================ */
/* ZOOMING ANIMATIONS */
/* ============================================ */

@keyframes sfsbwc-zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% {
        opacity: 1;
    }
}

.sfsbwc-entrance-zoomIn {
    animation: sfsbwc-zoomIn 0.6s ease-in-out;
}

@keyframes sfsbwc-zoomInDown {
    from {
        opacity: 0;
        transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    }
    60% {
        opacity: 1;
        transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    }
}

.sfsbwc-entrance-zoomInDown {
    animation: sfsbwc-zoomInDown 0.8s ease-in-out;
}

@keyframes sfsbwc-zoomInLeft {
    from {
        opacity: 0;
        transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    }
    60% {
        opacity: 1;
        transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    }
}

.sfsbwc-entrance-zoomInLeft {
    animation: sfsbwc-zoomInLeft 0.8s ease-in-out;
}

@keyframes sfsbwc-zoomInRight {
    from {
        opacity: 0;
        transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    }
    60% {
        opacity: 1;
        transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    }
}

.sfsbwc-entrance-zoomInRight {
    animation: sfsbwc-zoomInRight 0.8s ease-in-out;
}

@keyframes sfsbwc-zoomInUp {
    from {
        opacity: 0;
        transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    }
    60% {
        opacity: 1;
        transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    }
}

.sfsbwc-entrance-zoomInUp {
    animation: sfsbwc-zoomInUp 0.8s ease-in-out;
}

/* ============================================ */
/* BOUNCING ANIMATIONS */
/* ============================================ */

@keyframes sfsbwc-bounceIn {
    from, 20%, 40%, 60%, 80%, to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        transform: scale3d(0.9, 0.9, 0.9);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        transform: scale3d(0.97, 0.97, 0.97);
    }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

.sfsbwc-entrance-bounceIn {
    animation: sfsbwc-bounceIn 0.9s;
}

@keyframes sfsbwc-bounceInDown {
    from, 60%, 75%, 90%, to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    0% {
        opacity: 0;
        transform: translate3d(0, -3000px, 0) scaleY(3);
    }
    60% {
        opacity: 1;
        transform: translate3d(0, 25px, 0) scaleY(0.9);
    }
    75% {
        transform: translate3d(0, -10px, 0) scaleY(0.95);
    }
    90% {
        transform: translate3d(0, 5px, 0) scaleY(0.985);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-bounceInDown {
    animation: sfsbwc-bounceInDown 0.9s;
}

@keyframes sfsbwc-bounceInLeft {
    from, 60%, 75%, 90%, to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    0% {
        opacity: 0;
        transform: translate3d(-3000px, 0, 0) scaleX(3);
    }
    60% {
        opacity: 1;
        transform: translate3d(25px, 0, 0) scaleX(1);
    }
    75% {
        transform: translate3d(-10px, 0, 0) scaleX(0.98);
    }
    90% {
        transform: translate3d(5px, 0, 0) scaleX(0.995);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-bounceInLeft {
    animation: sfsbwc-bounceInLeft 0.9s;
}

@keyframes sfsbwc-bounceInRight {
    from, 60%, 75%, 90%, to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    0% {
        opacity: 0;
        transform: translate3d(3000px, 0, 0) scaleX(3);
    }
    60% {
        opacity: 1;
        transform: translate3d(-25px, 0, 0) scaleX(1);
    }
    75% {
        transform: translate3d(10px, 0, 0) scaleX(0.98);
    }
    90% {
        transform: translate3d(-5px, 0, 0) scaleX(0.995);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-bounceInRight {
    animation: sfsbwc-bounceInRight 0.9s;
}

@keyframes sfsbwc-bounceInUp {
    from, 60%, 75%, 90%, to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    0% {
        opacity: 0;
        transform: translate3d(0, 3000px, 0) scaleY(5);
    }
    60% {
        opacity: 1;
        transform: translate3d(0, -20px, 0) scaleY(0.9);
    }
    75% {
        transform: translate3d(0, 10px, 0) scaleY(0.95);
    }
    90% {
        transform: translate3d(0, -5px, 0) scaleY(0.985);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-bounceInUp {
    animation: sfsbwc-bounceInUp 0.9s;
}

/* ============================================ */
/* SLIDING ANIMATIONS */
/* ============================================ */

@keyframes sfsbwc-slideInDown {
    from {
        transform: translate3d(0, -100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-slideInDown {
    animation: sfsbwc-slideInDown 0.7s ease-out;
}

@keyframes sfsbwc-slideInLeft {
    from {
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-slideInLeft {
    animation: sfsbwc-slideInLeft 0.7s ease-out;
}

@keyframes sfsbwc-slideInRight {
    from {
        transform: translate3d(100%, 0, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-slideInRight {
    animation: sfsbwc-slideInRight 0.7s ease-out;
}

@keyframes sfsbwc-slideInUp {
    from {
        transform: translate3d(0, 100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-slideInUp {
    animation: sfsbwc-slideInUp 0.7s ease-out;
}

/* ============================================ */
/* ROTATING ANIMATIONS */
/* ============================================ */

@keyframes sfsbwc-rotateIn {
    from {
        opacity: 0;
        transform: rotate3d(0, 0, 1, -200deg);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-rotateIn {
    animation: sfsbwc-rotateIn 0.8s;
    transform-origin: center;
}

@keyframes sfsbwc-rotateInDownLeft {
    from {
        opacity: 0;
        transform: rotate3d(0, 0, 1, -45deg);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-rotateInDownLeft {
    animation: sfsbwc-rotateInDownLeft 0.8s;
    transform-origin: left bottom;
}

@keyframes sfsbwc-rotateInDownRight {
    from {
        opacity: 0;
        transform: rotate3d(0, 0, 1, 45deg);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-rotateInDownRight {
    animation: sfsbwc-rotateInDownRight 0.8s;
    transform-origin: right bottom;
}

@keyframes sfsbwc-rotateInUpLeft {
    from {
        opacity: 0;
        transform: rotate3d(0, 0, 1, 45deg);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-rotateInUpLeft {
    animation: sfsbwc-rotateInUpLeft 0.8s;
    transform-origin: left bottom;
}

@keyframes sfsbwc-rotateInUpRight {
    from {
        opacity: 0;
        transform: rotate3d(0, 0, 1, -90deg);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-rotateInUpRight {
    animation: sfsbwc-rotateInUpRight 0.8s;
    transform-origin: right bottom;
}

/* ============================================ */
/* ATTENTION SEEKERS */
/* ============================================ */

@keyframes sfsbwc-bounce {
    from, 20%, 53%, to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        transform: translate3d(0, -30px, 0) scaleY(1.1);
    }
    70% {
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        transform: translate3d(0, -15px, 0) scaleY(1.05);
    }
    80% {
        transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        transform: translate3d(0, 0, 0) scaleY(0.95);
    }
    90% {
        transform: translate3d(0, -4px, 0) scaleY(1.02);
    }
}

.sfsbwc-entrance-bounce {
    animation: sfsbwc-bounce 1s;
    transform-origin: center bottom;
}

@keyframes sfsbwc-flash {
    from, 50%, to { opacity: 1; }
    25%, 75% { opacity: 0; }
}

.sfsbwc-entrance-flash {
    animation: sfsbwc-flash 1s;
}

@keyframes sfsbwc-pulse {
    from { transform: scale3d(1, 1, 1); }
    50% { transform: scale3d(1.05, 1.05, 1.05); }
    to { transform: scale3d(1, 1, 1); }
}

.sfsbwc-entrance-pulse {
    animation: sfsbwc-pulse 1s;
}

@keyframes sfsbwc-rubberBand {
    from { transform: scale3d(1, 1, 1); }
    30% { transform: scale3d(1.25, 0.75, 1); }
    40% { transform: scale3d(0.75, 1.25, 1); }
    50% { transform: scale3d(1.15, 0.85, 1); }
    65% { transform: scale3d(0.95, 1.05, 1); }
    75% { transform: scale3d(1.05, 0.95, 1); }
    to { transform: scale3d(1, 1, 1); }
}

.sfsbwc-entrance-rubberBand {
    animation: sfsbwc-rubberBand 1s;
}

@keyframes sfsbwc-shake {
    from, to { transform: translate3d(0, 0, 0); }
    10%, 30%, 50%, 70%, 90% { transform: translate3d(-10px, 0, 0); }
    20%, 40%, 60%, 80% { transform: translate3d(10px, 0, 0); }
}

.sfsbwc-entrance-shake {
    animation: sfsbwc-shake 1s;
}

@keyframes sfsbwc-headShake {
    0% { transform: translateX(0); }
    6.5% { transform: translateX(-6px) rotateY(-9deg); }
    18.5% { transform: translateX(5px) rotateY(7deg); }
    31.5% { transform: translateX(-3px) rotateY(-5deg); }
    43.5% { transform: translateX(2px) rotateY(3deg); }
    50% { transform: translateX(0); }
}

.sfsbwc-entrance-headShake {
    animation: sfsbwc-headShake 1s;
}

@keyframes sfsbwc-swing {
    20% { transform: rotate3d(0, 0, 1, 15deg); }
    40% { transform: rotate3d(0, 0, 1, -10deg); }
    60% { transform: rotate3d(0, 0, 1, 5deg); }
    80% { transform: rotate3d(0, 0, 1, -5deg); }
    to { transform: rotate3d(0, 0, 1, 0deg); }
}

.sfsbwc-entrance-swing {
    animation: sfsbwc-swing 1s;
    transform-origin: top center;
}

@keyframes sfsbwc-tada {
    from { transform: scale3d(1, 1, 1); }
    10%, 20% { transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); }
    30%, 50%, 70%, 90% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); }
    40%, 60%, 80% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); }
    to { transform: scale3d(1, 1, 1); }
}

.sfsbwc-entrance-tada {
    animation: sfsbwc-tada 1s;
}

@keyframes sfsbwc-wobble {
    from { transform: translate3d(0, 0, 0); }
    15% { transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); }
    30% { transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); }
    45% { transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); }
    60% { transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); }
    75% { transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); }
    to { transform: translate3d(0, 0, 0); }
}

.sfsbwc-entrance-wobble {
    animation: sfsbwc-wobble 1s;
}

@keyframes sfsbwc-jello {
    from, 11.1%, to { transform: translate3d(0, 0, 0); }
    22.2% { transform: skewX(-12.5deg) skewY(-12.5deg); }
    33.3% { transform: skewX(6.25deg) skewY(6.25deg); }
    44.4% { transform: skewX(-3.125deg) skewY(-3.125deg); }
    55.5% { transform: skewX(1.5625deg) skewY(1.5625deg); }
    66.6% { transform: skewX(-0.78125deg) skewY(-0.78125deg); }
    77.7% { transform: skewX(0.390625deg) skewY(0.390625deg); }
    88.8% { transform: skewX(-0.1953125deg) skewY(-0.1953125deg); }
}

.sfsbwc-entrance-jello {
    animation: sfsbwc-jello 1s;
    transform-origin: center;
}

/* ============================================ */
/* LIGHT SPEED */
/* ============================================ */

@keyframes sfsbwc-lightSpeedIn {
    from {
        opacity: 0;
        transform: translate3d(100%, 0, 0) skewX(-30deg);
    }
    60% {
        opacity: 1;
        transform: skewX(20deg);
    }
    80% {
        transform: skewX(-5deg);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-lightSpeedIn {
    animation: sfsbwc-lightSpeedIn 0.8s ease-out;
}

/* ============================================ */
/* SPECIALS */
/* ============================================ */

@keyframes sfsbwc-rollIn {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.sfsbwc-entrance-rollIn {
    animation: sfsbwc-rollIn 0.8s;
}

/* ============================================ */
/* ENSURE ANIMATIONS WORK ON DEMO BAR TOO */
/* ============================================ */

.sfsbwc-entrance-demo-bar[class*="sfsbwc-entrance-"] {
    animation-fill-mode: both;
}


/* New admin css */

.sfsbwc-locked-field-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}
.sfsbwc-locked-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}
.sfsbwc-lock-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid #ff8800;
}
.sfsbwc-lock-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #ff8800;
}
.sfsbwc-lock-text {
    font-size: 12px;
    font-weight: 600;
    color: #ff8800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sfsbwc-box-shadow-control {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}
.sfsbwc-shadow-preview {
    margin-top: 25px;
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}
.sfsbwc-shadow-preview-box {
    width: 200px;
    height: 100px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
}

.sfsbwc-box-shadow-control {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}
.sfsbwc-shadow-controls {
    transition: opacity 0.3s ease;
}
.sfsbwc-shadow-item {
    margin-bottom: 20px;
}
.sfsbwc-shadow-item label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 13px;
}
.sfsbwc-shadow-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sfsbwc-shadow-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    background: #ddd;
}
.sfsbwc-shadow-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2271b1;
    cursor: pointer;
}
.sfsbwc-shadow-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2271b1;
    cursor: pointer;
    border: none;
}
.sfsbwc-shadow-number {
    width: 70px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
}
.sfsbwc-shadow-unit {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    width: 25px;
}
.sfsbwc-color-input {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sfsbwc-shadow-color-picker {
    width: 50px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    padding: 2px;
}
.sfsbwc-shadow-color-text {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    font-size: 13px;
}
.sfsbwc-alpha-slider {
    flex: 0 0 100px;
    height: 6px;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    background: linear-gradient(to right, transparent, currentColor);
}
.sfsbwc-alpha-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2271b1;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
}
.sfsbwc-alpha-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2271b1;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
}
.sfsbwc-shadow-preview {
    margin-top: 25px;
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}
.sfsbwc-shadow-preview-box {
    width: 200px;
    height: 100px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}
.sfsbwc-shadow-preview p {
    margin: 0;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}


/* ==== ENTRANCE ANIMATION CARD STYLING ==== */
.sfsbwc-entrance-preview-container {
    margin-top: 20px;
    background: #f0f8f4;
    border-radius: 12px;
    padding: 25px;
    border: 2px dashed #28a745;
}
.sfsbwc-entrance-preview-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}
.sfsbwc-entrance-preview-box {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
}
.sfsbwc-entrance-demo-bar {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    font-size: 15px;
    margin-bottom: 20px;
}
/* Ensure animations work on demo bar */
.sfsbwc-entrance-demo-bar[class*="sfsbwc-entrance-"] {
    animation-fill-mode: both;
}
.sfsbwc-replay-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    margin-top: 10px;
}
.sfsbwc-replay-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}
.sfsbwc-replay-btn:active {
    transform: translateY(0);
}
.sfsbwc-replay-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    animation: sfsbwc-spin 1s linear infinite paused;
}
.sfsbwc-replay-btn:active .dashicons {
    animation-play-state: running;
}
@keyframes sfsbwc-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.sfsbwc-preview-hint {
    margin-top: 15px;
    font-size: 12px;
    color: #999;
    font-style: italic;
    animation: sfsbwc-hint-pulse 2s ease-in-out infinite;
}
@keyframes sfsbwc-hint-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
/* Select dropdown styling */
.sfsbwc-entrance-select {
    font-size: 14px;
    padding: 10px 12px;
    width: 100%;
    max-width: 400px;
}
.sfsbwc-entrance-select optgroup {
    font-weight: bold;
    font-style: normal;
    padding: 8px 0;
}
.sfsbwc-entrance-select option {
    padding: 8px;
    font-weight: normal;
}

/* Pro Badge */
.sfsbwc-pro-badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

/* Tab Lock Icon */
.sfsbwc-tab-lock {
    font-size: 12px;
    margin-left: 5px;
    opacity: 0.7;
}

/* Locked Field Wrapper */
.sfsbwc-locked-field-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.sfsbwc-locked-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.sfsbwc-lock-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.98);
    padding: 10px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid #ff8800;
    font-size: 12px;
    font-weight: 600;
    color: #ff8800;
    white-space: nowrap;
}

.sfsbwc-lock-badge .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Locked Section (for larger areas) */
.sfsbwc-locked-section {
    position: relative;
    min-height: 200px;
}

.sfsbwc-locked-overlay-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
}

.sfsbwc-lock-badge-large {
    background: rgba(255, 255, 255, 0.98);
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 3px solid #ff8800;
}

.sfsbwc-lock-badge-large .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #ff8800;
    margin-bottom: 15px;
}

.sfsbwc-lock-badge-large h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #333;
}

.sfsbwc-lock-badge-large p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

.sfsbwc-lock-badge-large .button {
    font-size: 14px;
    padding: 10px 24px;
    height: auto;
    line-height: 1.4;
}

/* Hover Preview Container */
.sfsbwc-hover-preview-container {
    margin-top: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border: 2px dashed #e0e0e0;
}

.sfsbwc-hover-preview-box {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sfsbwc-hover-demo-bar {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    font-size: 15px;
}

.sfsbwc-demo-icon {
    font-size: 22px;
    line-height: 1;
}

/* Close button styling for BOTH positions */
#sfsbwc-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}
            
/* For top position, ensure message takes full width with close button on the right */
#sfsbwc-bar.sfsbwc-position-top {
    justify-content: space-between;
    padding-left: 40px; /* Space for symmetry if needed */
}
            
#sfsbwc-bar.sfsbwc-position-top .sfsbwc-message {
    flex: 1;
    text-align: center;
}
            
/* For bottom position, keep centered layout */
#sfsbwc-bar.sfsbwc-position-bottom {
    justify-content: center;
}
            
#sfsbwc-bar .sfsbwc-close-btn {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}
            
#sfsbwc-bar .sfsbwc-close-btn:hover {
    opacity: 0.7;
    transform: scale(1.1);
}
            
#sfsbwc-bar .sfsbwc-close-btn:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 2px;
}


.sfsbwc-pro-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #fff9e6 100%);
    border-left: 4px solid #ff8800;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}
.sfsbwc-pro-notice p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sfsbwc-pro-notice p:first-child {
    margin-bottom: 8px;
}
.sfsbwc-pro-notice .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}


.sfsbwc-pro-notice {
    margin-top: 8px;
    padding: 10px 12px;
    background: #fff8e5;
    border-left: 4px solid #ff8800;
    border-radius: 4px;
}

/* Responsive styling */

@media (max-width: 1024px){
    .sfsbwc-bar-progress-wrapper {
       width: 60%;
    }
    #sfsbwc-bar {        
        gap: 0px;
    }
}
 

@media (max-width: 768px) {
    .sfsbwc-bar {
        padding: 15px 12px !important;
    }
    
    .sfsbwc-message {
        font-size: 13px !important;
    }
    
    .sfsbwc-close-btn {
        font-size: 20px !important;
        width: 25px !important;
        height: 25px !important;
    }

    .sfsbwc-tabs {
        flex-direction: column;
    }

    .sfsbwc-tab {
        justify-content: flex-start;
    }

    .sfsbwc-color-grid {
        grid-template-columns: 1fr;
    }

    .sfsbwc-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .sfsbwc-bar-progress-wrapper {
       width: 80%;
    }

    #sfsbwc-bar {        
        gap: 0px;
    }
}


@media (max-width: 480px) {
    .sfsbwc-bar {
        padding: 12px 10px !important;
    }
}


/* Bottom position styling - starts fixed at bottom of viewport, then becomes absolute on scroll */
.sfsbwc-bar.sfsbwc-position-bottom {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    transition: all 0.3s ease;
}

/* When user has scrolled, move to absolute positioning at page bottom */
body.sfsbwc-bar-scrolled .sfsbwc-bar.sfsbwc-position-bottom {
    position: absolute !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
}

/* Ensure body has relative positioning for absolute bar */
body {
    position: relative;
}

/* Top position stays in document flow */
.sfsbwc-bar.sfsbwc-position-top {
    position: relative !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Hide bar initially until JS decides to show it */
.sfsbwc-bar-loading {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}