﻿:root {
    --fg-blue: #0d6efd; /* Bootstrap primary */
    --fg-muted: #6b7280;
    --card-bg: #fff;
    --card-border: #e5e7eb;
    --radius: 14px;
}


/* Üst ilerleme çubuğu */
.form-shell .form-progress.progress {
    height: 8px;
    background: #eef2f7;
    border-radius: 999px;
}

.form-shell .form-progress .progress-bar {
    background: var(--fg-blue);
    border-radius: 999px;
}

.form-shell .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: .25rem 0 1rem 0;
}

    .form-shell .topbar h4 {
        margin: 0;
        font-weight: 600;
    }

    .form-shell .topbar .badges {
        display: flex;
        gap: .5rem;
        align-items: center;
    }


/* Bölüm kartı */
.section-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 2px rgba(16,24,40,.04);
}

    .section-card .section-heading {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: .75rem;
    }

        .section-card .section-heading h5 {
            margin: 0;
            font-weight: 600;
        }

    .section-card .section-desc {
        color: var(--fg-muted);
        font-size: .9rem;
    }

    .section-card .skipped {
        background: #f8fafc;
        border: 1px dashed #e5e7eb;
        color: #64748b;
        border-radius: var(--radius);
        padding: .5rem .75rem;
    }


/* Alan grid’i – iki/üç kolona açılan esnek yapı */
.fa-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fa-col {
    flex: 0 0 var(--fa-width, 50%);
    max-width: var(--fa-width, 50%);
    padding-left: .75rem;
    padding-right: .75rem;
}


/* Alan iç kartı (gölgesiz, sade) */
.field-wrap {
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
}


/* Etiketler ve inputlar – ekran görüntüsündeki gibi üstten etiketli */
.form-label {
    font-weight: 600;
    margin-bottom: .35rem;
}

.form-fields {
    border-radius: 10px;
    height: 40px !important;
}


/* Radio/checkbox satır içi yerleşim */
.form-check-inline {
    margin-right: 1rem;
}


/* Alt gezinti çubuğu */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}


/* "Genişlik: %" vb. yardımcı metinleri gizlemek için opsiyonel */
.testform-hide-widthinfo .widthinfo {
    display: none !important;
}


/* Önizleme offcanvas genişliği */
.preview-offcanvas {
    width: 420px !important;
}
