body {
    margin: 0;
    padding: 40px;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: #1d1d1b;
    min-height: 100vh;
}

.form-container {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.form-container h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1d1d1b;
    text-align: center;
}

label {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    color: #1d1d1b;
}

input[type="text"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 1px solid #bfbfbf;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fff;
    color: #1d1d1b;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input[type="file"] {
    display: none;
}

.file-list {
    margin-bottom: 18px;
    width: 100%;
}

.file-item {
    background: #e5e5e5;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #1d1d1b;
    word-break: break-word;
}

.file-item span {
    flex: 1;
}

.remove-btn {
    background: none;
    border: none;
    color: #c00;
    font-size: 18px;
    cursor: pointer;
    padding-left: 10px;
}

.custom-file-btn {
    padding: 12px 20px;
    background-color: #1d1d1b;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    margin-bottom: 20px;
}

.custom-file-btn:hover {
    background-color: #333;
}

button[type="submit"] {
    background-color: #1d1d1b;
    color: #fff;
    padding: 14px 24px;
    font-size: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
}

button[type="submit"]:hover {
    background-color: #333;
}

.back-link {
    display: block;
    margin: 20px auto 0;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    background-color: #1d1d1b;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    width: fit-content;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.back-link:hover {
    background-color: #333;
    transform: translateY(-1px);
}

.back-link:active {
    transform: translateY(0);
}

.message {
    font-size: 16px;
    line-height: 1.7;
    color: #1d1d1b;
    white-space: pre-wrap;
    text-align: left;
}

.progress-container {
    width: 100%;
    background-color: #e5e5e5;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
    display: none;
}

.progress-bar {
    height: 20px;
    background-color: #1d1d1b;
    width: 0%;
    transition: width 0.3s;
    border-radius: 6px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 15px;
    color: #666;
}

/* Стили для select */
select {
    width: 100%;
    padding: 12px 40px 12px 14px;
    margin-bottom: 18px;
    border: 1px solid #bfbfbf;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fff;
    color: #1d1d1b;
    box-sizing: border-box;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image:
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231d1d1b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

select:hover {
    border-color: #9e9e9e;
}

select:focus {
    outline: none;
    border-color: #1d1d1b;
    box-shadow: 0 0 0 3px rgba(29,29,27,.12);
}

select:disabled {
    background-color: #f0f0f0;
    color: #9e9e9e;
    cursor: not-allowed;
}

select option {
    font-size: 15px;
    color: #1d1d1b;
    background: #fff;
}
.consent-block { margin: 16px 0; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.consent-block input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; cursor: pointer; }
.consent-block label { cursor: pointer; }
button[type="submit"]:disabled { opacity: 0.5; cursor: not-allowed; }
