/* Test Mode Banner Styles */
.lfpro-test-mode-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    
    color: white;
    padding: 8px 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    
    animation: testModePulse 3s ease-in-out infinite;
}

/* Enhanced banner for checkout pages */
.lfpro-test-mode-banner.checkout-page {
    padding: 12px 16px;
    font-size: 15px;
   
}

.lfpro-test-mode-banner.checkout-page .banner-content {
    display: flex;
        justify-content: space-between;
        flex-direction: row;
}

.lfpro-test-mode-banner.checkout-page .banner-text {
    font-size: 16px;
}

.lfpro-test-mode-banner.checkout-page .test-icon {
    font-size: 12px;
    width: 24px;
    height: 24px;
}

.lfpro-test-mode-banner .banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  
    margin: 0 auto;
}

.lfpro-test-mode-banner .test-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 10px;
}

.lfpro-test-mode-banner .banner-text {
    flex: 1;
}

.lfpro-test-mode-banner .close-banner {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.lfpro-test-mode-banner .close-banner:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes testModePulse {
    0%, 100% { 
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    50% { 
        box-shadow: 0 2px 15px rgba(255, 107, 53, 0.4);
    }
}

/* Push body content down when banner is visible */
body.lfpro-test-mode-active {
    padding-top: 44px !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .lfpro-test-mode-banner {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .lfpro-test-mode-banner .banner-content {
        gap: 6px;
    }
    
    body.lfpro-test-mode-active {
        padding-top: 38px !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .lfpro-test-mode-banner {
        background: #000;
        border-bottom: 3px solid #ff6b35;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .lfpro-test-mode-banner {
        animation: none;
    }
}
