/* Explain: Styles for the live fence preview in the planner. */
/* ---------- Élő látványterv panel a kerítés tervezőben ---------- */
.planner-preview {
    width: 100%;
}

.planner-preview-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--primary-color);
    box-shadow: 0 0 0 0 rgba(211, 32, 39, 0.5);
    animation: planner-preview-pulse 2.4s ease-out infinite;
}

@keyframes planner-preview-pulse {
    0% { box-shadow: 0 0 0 0 rgba(211, 32, 39, 0.45); }
    70% { box-shadow: 0 0 0 0.5rem rgba(211, 32, 39, 0); }
    100% { box-shadow: 0 0 0 0 rgba(211, 32, 39, 0); }
}

.fence-stage {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 1.35rem;
    background: linear-gradient(180deg, #E8EEF3 0%, #F7F5F1 100%);
}

.fence-stage-inner {
    display: block;
    width: 100%;
}

.fence-svg {
    display: block;
    width: 100%;
    height: auto;
}

.planner-preview-meta {
    border-top: 1px solid var(--border-color);
    padding-top: 0.9rem;
}

.planner-preview-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.planner-preview-sub {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.planner-preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.7rem 0 0;
    padding: 0;
    list-style: none;
}

.planner-preview-tags li {
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    padding: 0.25rem 0.7rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    .planner-preview-dot {
        animation: none;
    }
}