.register-form .alert {
    padding: 0.5rem;
    color: #fff;
}


.hgr-registration .form-row {
    align-items: baseline;
    margin-right: -5px;
    margin-left: -5px;
}

.hgr-registration__toggle::after {
        content: ">";
        display: inline-block;
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        font-size: 20px;
        padding-top: 0px;
        line-height: 0;
        top: 12px;
        position: absolute;
        margin-left: 4px;
}

.hgr-registration__item {
    /* width: 100%; */
    padding-right: 5px;
    padding-left: 5px;
}

@media (min-width: 992px) {

    .hgr-registration__item {
        grid-column: span 4;
    }

    .hgr-registration__item.col-lg-1 {
        grid-column: span 1;
    }

    .hgr-registration__item.col-lg-2 {
        grid-column: span 2;
    }

    .hgr-registration__item.col-lg-3 {
        grid-column: span 3;
    }

    .hgr-registration__item.col-lg-4 {
        grid-column: span 4;
    }

    .hgr-registration__item.col-lg-5 {
        grid-column: span 5;
    }

    .hgr-registration__item.col-lg-6 {
        grid-column: span 6;
    }

    .hgr-registration__item.col-lg-12,
    .hgr-registration__item--full {
        grid-column: 1 / -1;
    }
}

.hgr-registration__item--full {
    grid-column: 1 / -1;
}

.hgr-registration__label {
    font-size: 0.875rem;
    color: var(--sw-color-text-light, #6b7280);
    margin-bottom: 0.25rem;
}

.hgr-registration__tooltip {
    margin-left: 0.35rem;
    color: var(--sw-color-brand-primary, #189eff);
    cursor: help;
}

.hgr-registration__callback .form-check {
    margin-bottom: 0.25rem;
}

.hgr-registration__callback .form-check-input,
.hgr-registration__callback .form-check-label {
    cursor: pointer;
}

.hgr-registration__callback .form-check-input:checked {
    background-color: #798490;
    border-color: #798490;
}

.hgr-registration__callback .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
    border-color: #798490;
}

.hgr-registration__phone-required {
    font-size: 0.85rem;
    color: var(--sw-color-danger, #d11124);
    margin-left: 0.25rem;
    visibility: hidden;
}

/* Fehlerhafte Felder visuell markieren */
.form-control.is-invalid,
.custom-select.is-invalid {
    border-color: #dc3545 !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15) !important;
}

.form-control.is-invalid:focus,
.custom-select.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Fehlermeldung unterhalb der Felder */
.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
    font-weight: 500;
}

