/* ================= FORM LAYOUT ================= */
.bg-light { background-color: var(--bg-light); }

.form-page-container {
    padding: 60px 0 100px 0;
}

.form-container {
    max-width: 600px; /* Keeps the form nice and readable */
}

.form-header {
    margin-bottom: 40px;
}

.form-wrapper {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

/* ================= PROGRESS BAR ================= */
.progress-wrapper {
    margin-bottom: 30px;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.progress-bar li {
    position: relative;
    z-index: 2;
    background: var(--bg-light);
    padding: 0 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.progress-bar li::before {
    content: '';
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.progress-bar li.active { color: var(--primary-green); }
.progress-bar li.active::before {
    border-color: var(--primary-green);
    background: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(53, 132, 68, 0.2);
}

/* ================= INPUTS & STEPS ================= */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step h3 {
    margin-bottom: 24px;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.input-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

input[type="text"],
input[type="number"],
input[type="tel"],
select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

input:focus, select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(53, 132, 68, 0.1);
}

/* ================= DRAG & DROP ZONE ================= */
.drag-drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 20px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 20px;
}

.drag-drop-zone:hover, .drag-drop-zone.dragover {
    border-color: var(--primary-green);
    background: #f2fff5;
}

.drag-drop-zone p {
    margin-top: 12px;
    color: var(--text-muted);
}

.image-preview-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.preview-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

/* ================= UTILS ================= */
.btn-row { margin-top: 32px; display: flex; }
.justify-end { justify-content: flex-end; }
.flex-between { justify-content: space-between; }

.hidden { display: none !important; }

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}