/* QR Code Generator - Tool Specific Styles */

:root {
    --theme-accent: #06b6d4;
    --theme-accent-glow: rgba(6, 182, 212, 0.35);
    --theme-accent-dim: rgba(6, 182, 212, 0.12);
    --max-width: 960px;

    --footer-theme: var(--theme-accent);
}

.nav-brand .brand-badge {
    border-color: rgba(6, 182, 212, 0.25);
}

.tool-icon-wrapper {
    border-color: rgba(6, 182, 212, 0.25);
}

.btn-primary {
    color: #061e24;
}

/* Editor Grid */
.editor-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
    align-items: start;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Palette Radio Cards */
.radio-palette-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.palette-card {
    cursor: pointer;
    position: relative;
}

.palette-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.palette-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: #0b0d12;
    border: 1px solid var(--theme-border);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--theme-text);
    transition: all 0.2s;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.color-dot.black-white {
    background: linear-gradient(135deg, #000 50%, #fff 50%);
    border: 1px solid #555;
}

.color-dot.neon-glow {
    background: #39ff14;
    box-shadow: 0 0 6px #39ff14;
}

.color-dot.custom-mix {
    background: linear-gradient(135deg, #06b6d4, #a855f7);
}

.palette-card input:checked + .palette-box {
    border-color: var(--theme-accent);
    background: var(--theme-accent-dim);
    color: var(--theme-accent);
}

/* Custom Color Pickers Box */
.custom-specs-box {
    background: #0b0d12;
    border: 1px solid var(--theme-border);
    border-radius: 8px;
    padding: 14px;
}

.custom-specs-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--theme-accent);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.color-picker-row {
    display: flex;
    gap: 12px;
}

.color-input-wrapper {
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 6px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-input {
    width: 100%;
    height: 36px;
    border: none;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

/* Preview Canvas Card */
.preview-canvas-card {
    background: #0b0d12;
    border: 1px solid var(--theme-border);
    border-radius: 10px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    margin-bottom: 20px;
}

.qr-canvas-box {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.qr-canvas-box svg, .qr-canvas-box canvas {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 6px;
}

/* Download Action Buttons */
.export-btn-group {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .editor-grid {
        grid-template-columns: 1fr;
    }
}
