.registration-section {
    position: relative;
    background: 
        repeating-linear-gradient(
        to right,
        rgba(213, 223, 1, 0.5) 0px,
        rgba(213, 223, 1, 0.5) 2px,
        transparent 2px,
        transparent 20px
    ),
    var(--gradient2);
    padding-top: 170px;
    padding-bottom: 150px;
}

.registration-section-wrapper {
    overflow: hidden;
    display: flex;
    gap: 80px;
    justify-content: center;
}

.registration-form {
    position: relative;
    width: 465px;
    height: fit-content;
    padding: 32px;
    background-color: white;
}

.registration-first-prize {
    margin-top: 40px;
}

.registration-second-prize {
    margin-top: 460px;
}

.registration-form > .registration-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
    margin-bottom: 32px;
}

.registration-form > .registration-input-wrapper div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.registration-form > .registration-input-wrapper div input {
    border-radius: 4px;
    background-color: var(--green2);
    font-size: 18px;
    font-weight: 600;
    font-family: "CronosPro";
    padding: 17px 24px;
    border: 1px solid transparent;
}

.registration-form > .registration-input-wrapper div input.error {
    border: 1px solid var(--red1) !important;
}

.registration-form > .registration-input-wrapper div input:not(:placeholder-shown),
.registration-form > .registration-input-wrapper div input:focus {
    border: 1px solid var(--green1);
    outline: none;
}

.registration-checkbox-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 12px;
}

.registration-checkbox-wrapper > div {
    display: flex;
    gap: 8px;
    align-items: center;
}

.registration-checkbox-wrapper > div input {
    width: 18.33px;
    height: 18.33px;
    accent-color: var(--green1);
}

.registration-form > p {
    color: var(--grey1);
    margin-bottom: 32px;
}

#register-game {
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    width: 100%;
    padding: 16px;
    border-radius: 6px;
    border: none;
    cursor:not-allowed;
    color: var(--grey2);
    background-color: var(--green3);
    transition: 0.3s ease all;
}

#register-game path {
    stroke: var(--grey2);
    transition: 0.3s ease all;
}

#register-game.allowed-registration {
    color: var(--black1);
    background-color: var(--green1);
    cursor: pointer;
    transition: 0.3s ease all;
}

#register-game.allowed-registration path {
    stroke: var(--black1);
    transition: 0.3s ease all;
}

#register-game.allowed-registration:hover {
    background-color: var(--green1hover);
}

#register-game.allowed-registration svg {
    transition: 0.3s ease all;
}

#register-game.allowed-registration:hover svg {
    transition: 0.3s ease all;
    transform: rotate(45deg);
}

.registration-messages {
    display: block;
    margin-top: 16px;
}

.registration-messages img,
.registration-messages picture {
    width: 24px;
    height: 24px;
}

.registration-messages.no-show {
    display: none;
}

.success-msg,
.error-msg {
    display: none;
    font-size: 16px;
    font-weight: 600;
    font-family: "CronosPro";
}

.registration-messages.success .success-msg,
.registration-messages.error .error-msg {
    display: flex;
    gap: 8px;
}

.error-message {
    font-size: 14px;
    font-weight: 600;
    font-family: "CronosPro";
    color: var(--red1);
}

.top-wave {
    width: 100%;
    height: 20px; 
    background-image: url('/wp-content/themes/jores-theme/assets/img/top-wave.png');
    background-repeat: repeat-x;
}

.bottom-wave {
    width: 100%;
    height: 20px; 
    background-image: url('/wp-content/themes/jores-theme/assets/img/top-wave.png');
    background-repeat: repeat-x;
    transform: rotate(180deg);
}

@media screen and (max-width: 1150px) {

    .registration-first-prize,
    .registration-second-prize {
        display: none;
    }

    .registration-section {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

@media screen and (max-width: 600px) {

    .registration-form {
        width: 310px;
        padding: 24px 16px;
    }

    .registration-form > div:first-of-type div input {
        padding: 16px;
    }

    #register-game {
        padding: 15px;
    }

    .bottom-wave {
        display: none;
    }
}