/* AI Scanner Frontend - Minimal Global Styles */
/* Most styles are inline in the template for Breakdance compatibility */

.ai-scanner-wrapper {
    position: relative;
    width: 100%;
}

/* Ensure proper box-sizing */
.ai-scanner-wrapper *,
.ai-scanner-wrapper *::before,
.ai-scanner-wrapper *::after {
    box-sizing: border-box;
}

/* Prevent theme style conflicts */
.ai-scanner-wrapper input,
.ai-scanner-wrapper button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Smooth transitions */
.ai-scanner-wrapper button,
.ai-scanner-wrapper a {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
.ai-scanner-input:focus {
    outline: none;
}

.ai-scanner-button:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Spinner animation is defined inline but referenced here for clarity */
@keyframes ai-scanner-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Print styles - hide scanner in print */
@media print {
    .ai-scanner-wrapper {
        display: none;
    }
}
