/**
 * Registration form.
 *
 * Colours follow the site palette established in the template's custom.css:
 * navy #080343, accent #5950fe, body copy #4c4b4d.
 */

.skraning-page {
    max-width: 730px;
    margin: 0 auto;
}

.skraning-title {
    font-size: 38px;
    font-weight: 700;
    color: #080343;
    margin-bottom: 30px;
}

.skraning-course {
    background: #f7f7fb;
    border: 1px solid #e6e6ef;
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 30px;
}

.skraning-course-title {
    font-size: 22px;
    font-weight: 700;
    color: #080343;
    margin: 0 0 6px;
}

.skraning-course-price {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #5950fe;
}

.skraning-per-person {
    font-size: 13px;
    font-weight: 400;
    color: #6c6b6e;
    margin-left: 6px;
}

.skraning-block {
    border: 1px solid #e6e6ef;
    border-radius: 6px;
    padding: 20px 24px 8px;
    margin-bottom: 24px;
}

.skraning-block > legend {
    float: none;
    width: auto;
    padding: 0 10px;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #080343;
}

.skraning-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
}

.skraning-field {
    margin-bottom: 18px;
}

.skraning-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4c4b4d;
}

.skraning-field .form-control,
.skraning-field .form-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d9d9e3;
    border-radius: 4px;
    font-size: 15px;
    color: #4c4b4d;
    background: #fff;
}

.skraning-field .form-control:focus,
.skraning-field .form-select:focus {
    border-color: #5950fe;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(89, 80, 254, .15);
}

.skraning-required {
    color: #e5405e;
}

.skraning-count {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 24px;
}

.skraning-count label {
    margin-bottom: 0;
}

.skraning-count .form-select {
    width: auto;
    min-width: 90px;
}

.skraning-total {
    margin: 0;
    font-size: 18px;
    color: #080343;
}

.skraning-payer-toggle label {
    font-weight: 400;
    cursor: pointer;
}

.skraning-payer-toggle input {
    margin-right: 8px;
}

.skraning-terms {
    font-size: 14px;
    color: #6c6b6e;
}

.skraning-button {
    display: inline-block;
    padding: 13px 34px;
    border: 0;
    border-radius: 4px;
    background: #5950fe;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.skraning-button:hover,
.skraning-button:focus {
    background: #4038e0;
    color: #fff;
}

/* Honeypot.

   This used to be positioned off-screen on the theory that bots skip
   display:none. That is backwards: a scripted bot posts the form fields
   straight from the HTML and never evaluates CSS, so display:none costs
   nothing against it - while an off-screen field looks like a real one to
   browser autofill and form-filler extensions, which then trip the trap for a
   human. display:none is the only thing those reliably skip. */
.skraning-hp {
    display: none;
}

.skraning-summary {
    width: 100%;
    border-collapse: collapse;
}

.skraning-summary th,
.skraning-summary td {
    padding: 10px 0;
    border-bottom: 1px solid #e6e6ef;
    text-align: left;
    font-size: 15px;
}

.skraning-summary th {
    width: 40%;
    color: #080343;
}

@media (max-width: 600px) {
    .skraning-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .skraning-title {
        font-size: 28px;
    }
}
