/* Общие сбросы */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    padding: 20px;
}

/* Контейнер */
.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Заголовки */
h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

h2 {
    color: #34495e;
    margin-bottom: 20px;
}

/* Формы */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

select, input[type="number"], input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border 0.3s;
}

select:focus, input:focus {
    outline: none;
    border-color: #3498db;
}

/* Кнопки */
.btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover {
    background: #2980b9;
}

/* Сообщение о покупке */
.purchase-info {
    background: #ecf0f1;
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
    border-left: 4px solid #3498db;
}

.product-name {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.product-quantity {
    font-size: 18px;
    color: #27ae60;
}

/* Ссылки */
.back-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    margin-top: 15px;
}

.back-link:hover {
    text-decoration: underline;
}

/* Индикатор шагов */
.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.steps:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #ddd;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
    font-weight: bold;
}

.step.active .step-number {
    background: #3498db;
    color: white;
}

.step.completed .step-number {
    background: #27ae60;
    color: white;
}

.step-label {
    font-size: 12px;
    color: #666;
}