.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

.modal.smooth-modal {
    opacity: 0;
    animation: showModalAnimation .5s linear 0s 1 normal forwards;
}

@keyframes showModalAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.modal-outer {
    position: relative;
}

.modal-inner {
    position: relative;
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
    max-width: 90vw;
    max-height: 90vh;
    max-height: 90dvh;
    overflow: auto;
}

.modal-title {
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 22px;
    text-align: center;
    color: black;
}

.modal-content {
    color: #000;
}

.modal-close-icon {
    width: 25px;
    height: 25px;
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: red;
    transition: all .5s;
    transform-origin: center center;
    cursor: pointer;
}

.modal-close-icon::after {
    content: '✖';
}

.modal-close-icon:hover {
    transform: rotate(360deg);
}

.smooth-hide {
    animation: smoothHideAnimation .5s linear 0s 1 normal forwards !important;
}

@keyframes smoothHideAnimation {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.form-field-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.form-field-inner label {
    font-weight: bold;
    font-size: 20px;
}

.form-field-inner input, .form-field-inner textarea {
    outline: none !important;
    border: 1px solid silver;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 10px;
    font-size: 18px;
    resize: none !important;
}

.form-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
}

.form-fields-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
}

.required-label {
    padding: 0 5px;
    color: red;
}

.field-counter {
    font-weight: bold;
    width: 75px;
    text-align: center;
}

.field-counter.success {
    color: green;
}

.field-counter.fail {
    color: red;
}

.field-description {
    max-width: 450px;
    margin-top: 15px;
    font-size: 18px;
}

.error-input {
    border-color: red !important;
}

.field-error {
    color: red;
    margin: 15px 0;
    font-weight: bold;
    font-size: 17px;
}

.must-hidden {
    display: none !important;
}

.flex-center, .flex-start-center {
    display: flex;
    flex-wrap: wrap;
}

.flex-center {
    align-items: center;
    justify-content: center;
}

.flex-start-center {
    justify-content: start;
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

.preview-image-view {
    width: 200px;
    height: 200px;
    border: 2px dashed grey;
    box-sizing: border-box;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: silver;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
}

.gap-10 {
    gap: 10px;
}

.gap-15 {
    gap: 15px;
}

.gap-25 {
    gap: 25px;
}

.button {
    padding: 5px 10px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none !important;
    border: 1px solid silver;
    border-radius: 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.button-green {
    background: green;
    color: white;
}

.button-red {
    background: red;
    color: white;
}

.button:hover {
    box-shadow: 3px 3px 3px 3px silver;
}

.error {
    color: red;
    font-weight: bold;
}

.success {
    color: green;
    font-weight: bold;
}

.preview-error-block {
    width: 100%;
}

.preview-image-error {
    font-size: 16px;
}

.preview-image-view img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.preloader-block {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.preloader-block.preloader-over-block {
    position: absolute;
    z-index: 100;
    background: rgba(0, 0, 0, .5);
}

.preloader {
    width: 100px;
    height: 100px;
    animation: preloaderAnimation 3s linear 0s infinite normal forwards;
    background: url('/public/imgs/for-preloader.png');
    background-size: 100%;
}

@keyframes preloaderAnimation {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    background-color: silver;
}

::-webkit-scrollbar-thumb {
  background-color: goldenrod;
}

.select-block-style {
    color: blue;
    border-bottom: 1px dashed;
    box-sizing: border-box;
}

.select-block-style:not(.active) {
    cursor: pointer;
}

.select-block-style.active {
    border-color: transparent;
    font-weight: bold;
    cursor: default;
}

.w-100-per {
    width: 100%;
}

.font-25 {
    font-size: 25px;
}

.preloader-block.over {
    z-index: 1000;
    background: rgba(0, 0, 0, .5);
    top: 0;
    left: 0;
    position: absolute;
}

.ta-center {
    text-align: center;
}

.preview-file-view {
    position: relative;
}

.preview-outer-block {
    display: flex;
    flex-direction: column;
    gap: 25px;
}