/**
 * QR Code Page Styles
 * Styles for the QR code generator page
 */

/* QR Code Container */
.docs-qr-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.docs-qr-wrapper {
    text-align: center;
    max-width: 300px;
    transition: transform 0.3s ease;
}

.docs-qr-wrapper:hover {
    transform: scale(1.02);
}

.docs-qr-code {
    margin: 0 auto;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.docs-qr-code:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.docs-qr-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.docs-qr-url {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    word-break: break-all;
}

.docs-qr-url a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.docs-qr-url a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Print Button */
.docs-print-button-container {
    margin: 2rem 0;
    text-align: center;
}

.docs-print-button-container .os-btn {
    transition: all 0.3s ease;
}

.docs-print-button-container .os-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Print Styles */
@media print {
    .docs-sidebar,
    .docs-top-nav,
    .docs-navigation,
    .docs-print-button-container {
        display: none !important;
    }
    
    .docs-qr-container {
        page-break-inside: avoid;
    }
    
    .docs-main-content {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .docs-article {
        max-width: 100% !important;
    }
    
    .docs-qr-code {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
    
    .docs-qr-caption {
        color: #000 !important;
        font-weight: bold;
    }
    
    .docs-article-title {
        font-size: 24px !important;
        margin-bottom: 1rem !important;
    }
    
    .docs-section-title {
        font-size: 20px !important;
    }
}

/* Dark Mode Adjustments */
[data-bs-theme="dark"] .docs-qr-code {
    background-color: #fff;
    border: 1px solid #444;
}

[data-bs-theme="dark"] .docs-qr-caption {
    color: #aaa;
}
