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

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

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

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

/* Form fields */
.vfs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}
.vfs-col {
    flex: 1;
    min-width: 250px;
}
.vfs-field {
    margin-bottom: 18px;
}
.vfs-field-label {
    display: block !important;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
    color: #333;
}
.vfs-container input[type="text"],
.vfs-container input[type="tel"],
.vfs-container input[type="email"],
.vfs-container input[type="url"],
.vfs-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;
}
.vfs-container input:focus,
.vfs-container textarea:focus {
    border-color: var(--vfs-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(47, 120, 59, 0.1);
}
.vfs-container textarea {
    min-height: 70px;
    resize: vertical;
}

/* Check groups */
.vfs-check-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 5px;
}
.vfs-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;
}
.vfs-check-item:hover {
    background: #f0f6fc;
    border-color: #c5d9ed;
}
.vfs-check-item input {
    width: auto;
    margin: 3px 0 0 0;
    flex-shrink: 0;
}
.vfs-check-item span {
    line-height: 1.4;
}
.vfs-other-input {
    margin-top: 6px;
    padding-left: 26px;
}
.vfs-help-text {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
    font-style: italic;
}

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

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