﻿/* BarcodeGenerator */
.bcg-input-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.bcg-input-wrap {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-input);
    transition: border-color .2s, box-shadow .2s;
    overflow: hidden;
}

    .bcg-input-wrap:focus-within {
        border-color: var(--text-faint);
        box-shadow: 0 0 0 3px var(--focus-shadow);
    }

    .bcg-input-wrap i {
        padding: 0 12px;
        color: var(--ve-url-icon);
        font-size: 16px;
        flex-shrink: 0;
    }

.bcg-text-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 12px 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background: transparent;
}

    .bcg-text-input::placeholder {
        color: var(--text-placeholder);
        font-weight: 400;
    }

.bcg-opt select {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    color: var(--text);
    background: var(--surface-input);
    transition: border-color .2s, box-shadow .2s;
    cursor: pointer;
}

    .bcg-opt select:focus {
        border-color: var(--text-faint);
        box-shadow: 0 0 0 3px var(--focus-shadow);
    }

.bcg-color-input {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-medium);
    padding: 0;
    cursor: pointer;
    background: none;
    vertical-align: middle;
}

.bcg-color-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid var(--border-medium);
    vertical-align: middle;
}

.bcg-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    min-height: 200px;
    background: var(--output-bg);
}

    .bcg-preview svg {
        max-width: 100%;
        height: auto;
    }



/* Component-specific: Other tools */
.qr-output-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-size-label {
    font-size: 11px;
    color: #999;
}
