/* register_invite.php — широкая регистрационная анкета */

/* Здесь .page без flex-центрирования (форма широкая) */
.page {
    display: block;
    padding: 24px;
}

.container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.page .card {
    max-width: none;
    padding: 28px;
}

.title {
    text-align: left;
    font-size: 28px;
}

.page .subtitle {
    margin: 0 0 22px;
    line-height: 1.5;
    text-align: left;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
    flex-wrap: wrap;
}

.submit-btn {
    width: auto;
    padding: 12px 18px;
}

.back-link {
    font-size: 14px;
    color: #1f6feb;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* --------- Note с ссылкой на инструкцию --------- */
.note-with-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.instruction-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #1f6feb;
    border-radius: 6px;
    color: #1f6feb;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.instruction-link:hover {
    background: #1f6feb;
    color: #fff;
}

@media (max-width: 700px) {
    .grid {
        grid-template-columns: 1fr;
    }
}
