:root {
    --vff-primary: #2f783b;
    --vff-primary-dark: #1f5a28;
    --vff-accent: #f0a020;
    --vff-bg-section: #f8f9fa;
}

/* Container */
.vff-container {
    max-width: 950px;
    margin: 20px auto;
    font-family: 'Segoe UI', Arial, sans-serif;
    border: 1px solid #ccc;
    padding: 25px;
    color: #333;
    background: #fff;
    border-radius: 8px;
}

/* Header */
.vff-container .vff-header {
    text-align: center;
    border-bottom: 3px double var(--vff-primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
}
.vff-container .vff-header h2 {
    color: var(--vff-primary);
    margin-bottom: 5px;
    font-size: 1.6em;
    line-height: 1.4em;
    font-weight: 700;
}
.vff-container .vff-intro {
    font-style: italic;
    color: #666;
    margin-top: 8px;
    font-size: 14px;
}

/* Progress bar */
.vff-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}
.vff-progress::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
}
.vff-progress-line {
    position: absolute;
    top: 18px;
    left: 0;
    height: 3px;
    background: var(--vff-primary);
    z-index: 1;
    transition: width 0.3s;
}
.vff-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}
.vff-step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s;
    border: 3px solid #fff;
}
.vff-step-label {
    font-size: 11px;
    color: #888;
    margin-top: 6px;
    text-align: center;
    max-width: 100px;
}
.vff-step.active .vff-step-num {
    background: var(--vff-primary);
    color: #fff;
}
.vff-step.active .vff-step-label {
    color: var(--vff-primary);
    font-weight: 600;
}
.vff-step.completed .vff-step-num {
    background: var(--vff-primary);
    color: #fff;
}
.vff-step.completed .vff-step-num::before {
    content: '\2713';
}
.vff-step.completed .vff-step-num span {
    display: none !important;
}

/* Step content */
.vff-container .vff-step-content {
    display: none !important;
    padding: 20px 0;
}
.vff-container .vff-step-content.active {
    display: block !important;
    animation: vff-fade-in 0.3s;
}
@keyframes vff-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.vff-step-content h3 {
    color: var(--vff-primary);
    border-left: 5px solid var(--vff-primary);
    padding: 6px 12px;
    margin: 0 0 18px;
    background: var(--vff-bg-section);
    text-transform: uppercase;
    font-size: 1em;
}

/* Form fields */
.vff-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}
.vff-col {
    flex: 1;
    min-width: 250px;
}
.vff-field {
    margin-bottom: 18px;
}
.vff-field-label {
    display: block !important;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
    color: #333;
}
.vff-container input[type="text"],
.vff-container input[type="tel"],
.vff-container input[type="email"],
.vff-container input[type="url"],
.vff-container textarea {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
    background: #fff;
}
.vff-container input:focus,
.vff-container textarea:focus {
    border-color: var(--vff-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(47, 120, 59, 0.1);
}
.vff-container textarea {
    min-height: 70px;
    resize: vertical;
}

/* Check groups */
.vff-check-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 5px;
}
.vff-check-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: normal;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
    border: 1px solid #e8e8e8;
}
.vff-check-item:hover {
    background: #f0f6fc;
    border-color: #c5d9ed;
}
.vff-check-item input {
    width: auto;
    margin: 3px 0 0 0;
    flex-shrink: 0;
}
.vff-check-item span {
    line-height: 1.4;
}
.vff-other-input {
    margin-top: 6px;
    padding-left: 26px;
}
.vff-help-text {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
    font-style: italic;
}

/* Actions */
.vff-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #eee;
}
.vff-btn {
    padding: 11px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: 0.25s;
}
.vff-btn-prev {
    background: #f0f0f0;
    color: #555;
}
.vff-btn-prev:hover {
    background: #e0e0e0;
}
.vff-btn-next {
    background: var(--vff-primary);
    color: #fff;
    margin-left: auto;
}
.vff-btn-next:hover {
    background: var(--vff-primary-dark);
}
.vff-btn-submit {
    background: var(--vff-accent);
    color: #fff;
    padding: 13px 30px;
    font-size: 16px;
}
.vff-btn-submit:hover {
    background: #d68a10;
}

/* Error / Success banners */
.vff-step-error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #f5c6cb;
    display: none !important;
}
.vff-step-error.show {
    display: block !important;
}
.vff-success-banner {
    background: #d4edda;
    color: #155724;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #c3e6cb;
}
.vff-success-banner .vff-success-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    font-size: 28px;
    margin: 0 auto 12px;
}
.vff-error-banner {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 18px;
    border-radius: 4px;
    margin-bottom: 15px;
}
.vff-error-banner ul {
    margin: 6px 0 0 20px;
}
