/**
 * Public styles for Twomey QR plugin
 */

/* QR Code Container */
.twomey-qr-code-container {
    display: inline-block;
    text-align: center;
    margin: 10px 0;
}

.twomey-qr-code {
    max-width: 100%;
    height: auto;
    border: none;
    display: block;
}

/* Widget Styles */
.twomey-qr-widget-container {
    margin: 15px 0;
}

.twomey-qr-widget-title {
    font-size: 14px;
    margin: 0 0 10px 0;
    color: #333;
    font-weight: 600;
}

.twomey-qr-widget-code {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .twomey-qr-code-container {
        text-align: center;
    }

    .twomey-qr-code {
        max-width: 250px;
        width: 100%;
        height: auto;
    }
}

/* Print Styles */
@media print {
    .twomey-qr-code-container {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .twomey-qr-code {
        max-width: 2in;
        height: auto;
    }
}

/* Accessibility */
.twomey-qr-code:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}