:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --background-color: #f8fafc;
    --text-color: #1e293b;
    --border-color: #e2e8f0;
    --success-color: #22c55e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
}

h1 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: #64748b;
}

.form-container {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

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

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

.step {
    width: 2rem;
    height: 2rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

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

.step-content {
    display: none;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    font-size: 1rem;
}

.unit-label {
    margin-left: 0.5rem;
    color: #64748b;
}

button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.25rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.next-btn {
    background-color: var(--primary-color);
    color: white;
}

.next-btn:hover {
    background-color: var(--secondary-color);
}

.back-btn {
    background-color: #e2e8f0;
    color: var(--text-color);
    margin-right: 1rem;
}

.back-btn:hover {
    background-color: #cbd5e1;
}

.results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.result-item {
    background: var(--background-color);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.result-item h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.setup-diagram {
    margin: 2rem 0;
    text-align: center;
}

.ergonomic-diagram {
    max-width: 100%;
    height: auto;
}

footer {
    text-align: center;
    color: #64748b;
    padding-inline: 48px;
    max-width: 680px;
    margin: 0 auto;
}
