/* qr.css — tool-specific styles only */

.qr-main {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.qr-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 420px;
    gap: 0.75rem;
}

.qr-output {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

/* Canvas generated by qrcode.js */
.qr-canvas {
    border: 1px solid #333;
    background: white;
}

/* Error message */
.qr-error {
    color: #c00;
    margin-top: 1rem;
    font-weight: 600;
    text-align: center;
}

/* Generated QR container with download link */
.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

.qr-code-container canvas {
    max-width: 100%;
    height: auto;
}

.qr-download {
    margin-top: 1rem;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    display: inline-block;
}

.qr-download:hover {
    background: var(--color-primary-dk);
}
