:root {
    --checkbox-color: #EF3959;
    --input-color: lightgray;
    --background-color: white;
}

.checkbox .checkbox-element {
    visibility: hidden;
    position: absolute;
    left: 5px;
    bottom: 0;
}

.checkbox {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;

    font-size: 13pt;

    position: relative;
}

.checkbox a{
    color: var(--primary-color);
}

.checkbox .checkbox-mark{
    width: 25px;
    height: 25px;
    display: inline-block;
    border: 3px solid var(--primary-color);

    border-radius: 5px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    transition: .3s;
}
.checkbox .checkbox-mark img {
    opacity: 0;
}

.checkbox .checkbox-element:checked + .checkbox-mark {
    background-color: var(--primary-color);
}
.checkbox .checkbox-element:checked + .checkbox-mark img{
    opacity: 1;
}


/* modal */
.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: rgba(0, 0, 0, .5);
    z-index: 100;
}

.modal .modal-body {
    display: flex;
    flex-direction: column;

    background-color: white;
    width: 500px;
    border-radius: 20px;

    padding: 30px;
    box-sizing: border-box;

    gap: 20px;
}

.modal .modal-body input.form-input,
.modal .modal-body textarea.form-input {
    border: 1px solid var(--input-color);
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    height: 57px;

    outline: none;

    width: 100%;

    font-size: 18pt;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

.modal .modal-body textarea.form-input {
    height: 250px;
    resize: none;
}

.modal .modal-body .close-block {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
.modal .modal-body .close-block .close-button {
    cursor: pointer;
    width: 25px;
    height: 25px;
}
.modal .modal-body .close-block .close-button img{
    height: 100%;
}


/* modal-animation */
.modal {
    display: none;
    animation-duration: .2s;
    animation-timing-function: ease-in-out;
}

@keyframes show-modal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes close-modal {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@media (max-width: 980px) {
    .modal .modal-body {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }

    .modal .modal-body input.form-input,
    .modal .modal-body textarea.form-input {
        border-radius: 5px;
        height: 34px;
        padding: 12px;
    }

    .card.form.__border {
        padding: 24px;
    }

    .modal .modal-body textarea.form-input {
        height: 148px;
    }

    .modal .modal-body input.form-input,
    .modal .modal-body textarea.form-input {
        font-size: 11pt;
    }

    
    .checkbox span,
    .checkbox a {
        font-size: 10pt;
    }
}