/* ── Blur Tools – shared styles ── */

.blur-preview {
    position: relative;
    background: rgba(30, 33, 48, 0.6);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

#blur-canvas {
    max-width: 100%;
    max-height: 75vh;
    display: block;
}

.blur-controls {
    background: rgba(30, 33, 48, 0.55);
    border-radius: 12px;
    padding: 18px 22px;
    margin-top: 16px;
}

.control-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.control-row label {
    min-width: 110px;
    color: #c5cbe0;
    font-size: 0.88rem;
    font-weight: 500;
}

.control-row input[type="range"] {
    flex: 1;
    min-width: 120px;
}

.control-value {
    min-width: 32px;
    text-align: right;
    color: #8a8fa8;
    font-size: 0.85rem;
}

.preset-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 14px;
}

.preset-btn {
    background: rgba(91, 141, 239, 0.12);
    color: #c5cbe0;
    border: 1px solid rgba(91, 141, 239, 0.25);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s;
}

.preset-btn:hover {
    background: rgba(91, 141, 239, 0.22);
    color: #fff;
}

.preset-btn.active {
    background: #5b8def;
    color: #fff;
    border-color: #5b8def;
}

.btn-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn-row .btn {
    min-width: 130px;
}

.controls-divider {
    border-color: rgba(91, 141, 239, 0.15);
    margin: 14px 0;
}

.draw-hint {
    text-align: center;
    color: #8a8fa8;
    font-size: 0.82rem;
    margin-bottom: 10px;
}

.draw-hint i {
    color: #5b8def;
}

/* ── Info box links ── */
.info-box {
    background: rgba(91, 141, 239, 0.08);
    border: 1px solid rgba(91, 141, 239, 0.2);
    border-radius: 10px;
    padding: 16px 20px;
}

.info-box ul { list-style: none; padding: 0; }
.info-box li { padding: 5px 0; }
.info-box a { color: #5b8def; text-decoration: none; font-weight: 600; }
.info-box a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .blur-controls { padding: 14px 12px; }
    .preset-btn { padding: 7px 12px; font-size: 0.82rem; }
    .control-row label { min-width: 80px; }
}
