.form {
    max-width: 500px;
    margin: 0 auto;
    color: #000;
}

.form>div {
    text-align: center;
}

.form>div:not(:last-child) {
    margin-bottom: 15px;
}

.form input:not([type="checkbox"]) {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #eae9ea;
    border-radius: 10px;
}

.form input:active,
.form input:focus {
    border-color: #f24e80;
    outline: none;
}

.email_alarm,
.password_alarm {
    display: none;
    margin-top: 5px;
    color: #f00;
    font-size: 0.875rem;
    line-height: 1;
    font-weight: 600;
}

.checkbox-wrapper {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    text-align: center;
    line-height: 1;
    position: relative;
}

.checkbox-wrapper>.active-checkbox {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.checkbox-wrapper>.checkbox {
    width: 100%;
    height: 100%;
    margin: 0 10px 0 0;
}

.regulamin>label:hover,
.regulamin input:hover {
    cursor: pointer;
}

.checked .checkbox-wrapper>.active-checkbox {
    display: block;
}

.checked .checkbox-wrapper>.checkbox {
    opacity: 0;
}

.form button {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid #fff;
    background: linear-gradient(to bottom right, #FF84A7, #E03368);
    color: #fff;
    font-size: 0.975rem;
    transition: 0.4s;
}

.form button:hover {
    cursor: pointer;
    background: #fff;
    border-color: #f24e80;
    color: #f24e80;
    box-shadow: inset 0 0 5px 0 #f24e80;
}

#success,
#failed {
    display: none;
    text-align: center;
    font-weight: 600;
}

#success {
    color: #099609;
}

#failed {
    color: #f00;
}

#loader {
    display: none;
    width: 20px;
    height: 20px;
    margin: 0 auto;
    border: 3px solid #FFDAE5;
    border-top: 3px solid #E03368;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}