body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #fff;
    color: #000;
}

.container {
    max-width: 400px;
    margin: 0 auto;
}

h1 {
    font-size: 1.5em;
    margin-bottom: 24px;
    text-align: center;
}

.option {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 12px;
    border: 2px solid #ccc;
    border-radius: 12px;
    cursor: pointer;
    justify-content: space-between;
}

.option.selected {
    background-color: #2c4b84;
    color: #fff;
    border-color: #2c4b84;
}

.option input[type="radio"] {
    display: none;
}

.checkmark {
    font-size: 1em;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 2px solid #ccc;
    border-radius: 12px;
    font-size: 1em;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    height: 80px;
}

.checkbox-group {
    margin-bottom: 24px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95em;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

button {
    width: 60%;
    padding: 14px;
    background-color: #2c4b84;
    color: white;
    font-size: 1em;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    display: block;
    margin: 0 auto; /* центрирование по горизонтали */
}

button:hover {
    background-color: #1e3363;
}

.link-card {
    display: flex;
    align-items: center;
    text-align: left;
    border: 2px solid #2c4b84;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    text-decoration: none;
    color: #2c4b84;
    transition: background 0.2s;
}

.link-card:hover {
    background-color: #f0f4ff;
}

.link-icon {
    font-size: 1.5em;
    margin-right: 12px;
}

.link-info {
    display: flex;
    flex-direction: column;
}

.link-title {
    font-weight: 600;
    font-size: 1em;
}

.link-desc {
    font-size: 0.85em;
    color: #555;
}

.contacts h1 {
    font-size: 1.2em;
    margin-bottom: 8px; /* уменьшаем отступ после имени */
}

.contacts .link-card {
    padding: 8px;
    margin-bottom: 8px;
}

.contacts .link-title {
    font-size: 0.9em; /* уменьшаем размер ссылки */
}

.contacts .link-desc {
    font-size: 0.8em; /* уменьшаем размер описания */
}

.contacts hr {
    margin: 12px 0;
}

.contacts {
    padding: 12px;
}

.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

button:disabled {
    background-color: #cccccc;
    border-color: #999999;
    color: #666666;
}

.thank-you-message {
    text-align: center;
    padding: 2rem;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.thank-you-message .message {
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.thank-you-message .action {
    margin-top: 0.5rem;
}

.thank-you-message button {
    min-width: 200px;
}