.center {
    text-align: center !important;
}

body {
    font-family: sans-serif;
    max-width: 700px;
    margin: 0 auto 0;
    padding: 20px 20px 0;
}

#header {
    text-align: center;
    font-size: 20px;
    margin: 0 0 10px;
    font-weight: bold;
    border-top: solid 3px #007bff;
    border-bottom: solid 3px #007bff;
    line-height: 2;
}

h1 {
    font-size: 20px;
    text-align: center;
    margin-top: 0;
    color: #007bff;
}

footer {
    margin-top: 30px;
}

footer p {
    text-align: center;
    font-size: 13px;
    margin: 20px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group-inline {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-inline>div {
    flex: 1;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    height: 120px;
}

.checkbox-group label {
    font-weight: normal;
    margin-right: 15px;
}

.participant-block {
    border: 2px solid #007bff;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 25px;
}

.participant-block h2 {
    margin-top: 0;
    font-size: 18px;
}

.error-summary {
    color: red;
    border: 1px solid red;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.error-summary ul {
    padding-left: 20px;
    margin: 0;
}

button {
    background-color: #007bff;
    color: white;
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

small {
    color: #666;
}

.confirm-item {
    margin-bottom: 20px;
}

.confirm-item strong {
    display: block;
    font-size: 1.1em;
    margin-bottom: 8px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.confirm-item div {
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.participant-block {
    border: 2px solid #007bff;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 25px;
}

.button-group {
    display: flex;
    justify-content: space-between;
    text-align: center;
    width: 250px;
    margin: 30px auto 0;
}

.back-button {
    background-color: #6c757d;
}

.back-button:hover {
    background-color: #5a6268;
}

#form-btn {
    text-align: center;
    margin: 0;
}