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

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f0f2f5;
    color: #333;
}

header {
    background: #2c3e50;
    color: white;
    padding: 1rem 2rem;
}

.header-inner {
    max-width: 860px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav { display: flex; align-items: center; gap: 1rem; }
header nav span { font-size: .9rem; }

.container { max-width: 860px; margin: 2rem auto; padding: 0 1rem; }

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

h2 { margin-bottom: 1rem; color: #2c3e50; }

.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .4rem; }

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: .6rem .8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color .2s;
}

input:focus, select:focus, textarea:focus {
    border-color: #2980b9;
    outline: none;
}

.radio-group { display: flex; flex-direction: column; gap: .5rem; margin-top: .3rem; }
.radio-label { display: flex; align-items: center; gap: .5rem; cursor: pointer; font-weight: 400; }

.btn {
    padding: .6rem 1.3rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: .95rem;
    text-decoration: none;
    display: inline-block;
}

.btn-primary   { background: #2980b9; color: white; }
.btn-secondary { background: #7f8c8d; color: white; }
.btn-outline   { background: white; border: 1px solid #2980b9; color: #2980b9; }
.btn-success   { background: #27ae60; color: white; }
.btn-sm        { padding: .3rem .8rem; font-size: .85rem; }

.btn:hover { opacity: .88; }

.survey-nav {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.progress-bar {
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.progress-step {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #dfe6e9;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    color: #636e72;
}

.progress-step.active { background: #2980b9; color: white; }
.progress-step.done   { background: #27ae60; color: white; }

.alert { padding: .8rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
.alert-error   { background: #fdecea; color: #c0392b; }
.alert-success { background: #eafaf1; color: #27ae60; }

.save-msg {
    padding: .6rem 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    text-align: center;
}

.save-msg.success { background: #eafaf1; color: #27ae60; }
.save-msg.error   { background: #fdecea; color: #c0392b; }

.page-info  { color: #7f8c8d; font-size: .9rem; margin-bottom: 1.5rem; }
.form-footer { margin-top: 1rem; font-size: .9rem; }
.text-center { text-align: center; }