/* frontend/static/css/components/forms.css */

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem 0;
}

.form-wrapper {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--color-border);
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--color-slate);
}

.progress-bar {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background-color: var(--color-border);
    z-index: 1;
}

.progress {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    background-color: var(--color-primary);
    width: 0%;
    z-index: 2;
    transition: width 0.3s ease;
}

.step {
    width: 40px;
    height: 40px;
    background-color: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    transition: all 0.3s ease;
    color: var(--color-text-light);
}

.step.active {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: white;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
