:root {
    --rf-bg: #f3f4f6;
    --rf-panel-bg: #ffffff;
    --rf-border: #e5e7eb;
    --rf-radius-lg: 18px;
    --rf-radius-md: 12px;
    --rf-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
}

html,
body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #eff6ff 0, #f9fafb 40%, #f3f4f6 100%);
    color: #111827;
}

.rf-header .navbar {
    backdrop-filter: blur(12px);
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #f97316, #ec4899);
    color: #fff;
    font-size: 1rem;
}

.rf-main {
    min-height: calc(100vh - 130px);
}

.rf-panel {
    background: var(--rf-panel-bg);
    border-radius: var(--rf-radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: var(--rf-shadow-soft);
}

@media (min-width: 992px) {
    .rf-panel {
        padding: 2rem;
    }
}

.rf-hero-title {
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
    line-height: 1.15;
}

.rf-preview {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(236, 72, 153, 0.08));
}

.rf-preview-area {
    background: repeating-conic-gradient(from 45deg, #e5e7eb 0 10deg, #f9fafb 10deg 20deg);
    border-radius: var(--rf-radius-md);
    border: 1px dashed rgba(148, 163, 184, 0.7);
    padding: 1.5rem;
}

.rf-card-wrapper {
    max-width: 100%;
}

.rf-card-image {
    border-radius: var(--rf-radius-md);
}

.rf-placeholder i {
    color: #9ca3af;
}

.rf-step {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--rf-radius-md);
    padding: 1rem 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.rf-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.rf-section {
    position: relative;
}

.rf-section::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    border: 1px dashed rgba(148, 163, 184, 0.4);
    pointer-events: none;
}

.rf-section > * {
    position: relative;
}

.rf-footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

/* Selector modele: zone de click mari pe mobil/tabletă */
.rf-panel label.d-block.position-relative span.border {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rf-panel label.d-block.position-relative {
    cursor: pointer;
}
.rf-logo {
    max-height: 40px;
    width: auto;
}

@media (max-width: 767.98px) {
    .rf-panel {
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.10);
    }

    .rf-preview-area {
        margin-top: 0.75rem;
    }

    .rf-hero-title {
        font-size: 1.5rem;
    }

    .btn-lg {
        min-height: 48px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .rf-panel {
        padding: 1.5rem;
    }
}

