.mijn-durea-form{
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    justify-content: start;
    max-width: 500px;
    width: 100%;
    color: #465479;

    .mijn-durea-row{
        display: flex;
        gap: 10px;
    }
    .form-group{
        display: flex;
        flex-direction: column;
        margin-top: 25px;

        .form-group-title{
            text-align: start;
            font-weight: 700;
            font-size: 18px;
            font-family: "Dosis", serif;

            .form-group-required{
                color: #790000;
                margin-left: 4px;
            }
        }
        .form-control{
            margin-top: 8px;
            border: 1px solid #BF8E2B;
            padding: 5px 4px;
            font-family: inherit;
            letter-spacing: normal;
            font-size: 18px;
            color: black;

            &.has-error{
                border-color: #ff0000;
            }
        }
        .mijn-durea-form-bday-items{
            display: flex;
            justify-content: space-between;
            width: 300px;

            .mijn-durea-form-bday-item{
                display: flex;
                flex-direction: column;
            }
        }
        .mijn-durea-form-radio{
            display: flex;
            gap: 10px;
            margin-top: 20px;

            .mijn-durea-form-radio-name{
                cursor: pointer;
                font-weight: bold;
            }
        }
        .mijn-durea-form-dual{
            display: grid;
            gap: 5px;
            grid-template-columns: 1fr 1fr;
        }
        .form-sub-group{
            display: flex;
            flex-direction: column;
        }
        .mijn-durea-form-error{
            color: #9a0000;
            font-weight: bold;
            text-align: start;
        }

    }
    .spacing-top{
        margin-top: 40px;
    }

    .mijn-durea-btn{
        display: inline-block;
        color: #fff;
        padding: 10px 20px;
        background: #BF8E2B;
        border: 1px solid #BF8E2B;
        position: relative;
        font-family: "Dosis", serif;
        cursor: pointer;
        font-size: 1em;
        margin: 15px 0 0 0;
        width: fit-content;
        transition: all 200ms ease-in-out;
        margin-top: 30px;

        &:hover{
            background: #b08328;
            border: 1px solid #b08328;
        }

        &.mijn-durea-btn-loading{
            color: #BF8E2B;
            &:hover{
                color: #b08328;
            }

            &:after {
                content: "";
                position: absolute;
                width: 16px;
                height: 16px;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                margin: auto;
                border: 4px solid transparent;
                border-top-color: #ffffff;
                border-radius: 50%;
                animation: button-loading-spinner 1s ease infinite;
            }
        }
    }

    .mijn-durea-alerts{
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-bottom: 15px;

        .mijn-durea-alert{
            background: #b08328;
            border: 2px solid #e3a934;
            color: white;
            border-radius: 5px;
            padding: 5px;
            font-weight: bold;
        }
        .alert-error{
            background: #9a0000;
            border: 1px solid #ff0000;
        }
    }

    .hidden{
        display: none;
    }

    .select2-container{
        margin-top: 8px;
        .select2-selection{
            border-radius: 0;
            border-color: #BF8E2B;
            padding: 3px;
            height: 36px;

            &:focus{
                outline: none;
            }

            .select2-selection__rendered{
                text-align: start;
                font-size: 18px;
            }
            .select2-selection__arrow{
                height: 34px;
                padding-right: 2px;
                background: #BF8E2B;
                & b {
                    border-color: #fff transparent transparent transparent;
                }
            }
        }
    }
}

.select2-container{
    .select2-dropdown{
        margin-top: -3px;
        border: 1px solid #BF8E2B;
        border-radius: 0;
        .select2-search{
            padding: 0;
            height: 36px;

            .select2-search__field{
                border: 1px solid #BF8E2B;
                border-radius: 0;
                height: 100%;
                font-size: 18px;

                &:focus{
                    outline: none;
                }
            }
        }
    }
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}