/*
|--------------------------------------------------------------------------
| Public Registration Form
|--------------------------------------------------------------------------
*/

.adms-registration-form {
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.adms-registration-form h3 {
    margin-top: 30px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #ddd;
}

.adms-registration-form h3:first-child {
    margin-top: 0;
}

.adms-registration-form p {
    margin-bottom: 15px;
}

.adms-registration-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.adms-registration-form input[type="text"],
.adms-registration-form input[type="email"],
.adms-registration-form input[type="tel"],
.adms-registration-form input[type="date"],
.adms-registration-form select,
.adms-registration-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 1em;
}

.adms-registration-form button[type="submit"] {
    padding: 12px 24px;
    font-size: 1.05em;
}

.adms-registration-error {
    padding: 10px 14px;
    background: #fbeaea;
    border: 1px solid crimson;
    border-radius: 3px;
    margin-bottom: 20px;
}

.adms-registration-success {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 30px 20px;
}


/*
|--------------------------------------------------------------------------
| Multi-Person Registration
|--------------------------------------------------------------------------
*/

.adms-reg-person {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 25px;
    background: #fafafa;
}

.adms-reg-person-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.adms-reg-person-header h3 {
    margin: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.adms-reg-remove-person {
    color: crimson;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    font-size: 0.9em;
}

.adms-reg-person h4 {
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 1.05em;
}

.adms-reg-person h4:first-of-type {
    margin-top: 10px;
}


/*
|--------------------------------------------------------------------------
| Checkout / Summary
|--------------------------------------------------------------------------
*/

.adms-registration-checkout {
    max-width: 700px;
}

.adms-registration-summary {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.adms-registration-summary th,
.adms-registration-summary td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    text-align: left;
}

.adms-registration-summary th {
    background: #f5f5f5;
}

.adms-registration-total-row td {
    background: #f9f9f9;
}


.adms-reg-section {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 15px 20px;
    margin-bottom: 20px;
    background: #fff;
}

.adms-reg-section h4:first-child {
    margin-top: 0;
}


.adms-registration-form input[readonly] {
    background: #eee;
    color: #666;
    cursor: not-allowed;
}
