/* === Bootstrap mt-5 override (как в оригинале) === */
.mt-5 {
    margin-top: 1.25rem !important;
}

/* === SVG icon system === */
.i-svg {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.i-svg-image57 {
    font-size: 6.4375rem;
    width: 0.8446601942em;
}

.i-svg-phone {
    font-size: 1.125rem;
    width: 1em;
}

.i-svg-mail {
    font-size: 0.875rem;
    width: 1em;
}

.i-svg-check {
    font-size: 1.125rem;
    width: 1em;
}

.i-svg-close {
    font-size: 0.875rem;
    width: 1em;
}

.text-14 {
    font-size: 14px;
}

.fs-3 {
    font-size: 1.75rem !important;
}

/* === Form === */
#form-cb-2 {
    color: black;
    padding: 30px;
    border-radius: 20px;
    background-color: white;
}

.form-cb-1__tel {
    position: relative;
}

.form-cb-1__input {
    width: 100%;
    height: 60px;
    padding: 0 20px 0 50px;
    border: 0;
    border-radius: 15px;
    background-color: rgb(248, 249, 249);
    font-size: 15px;
    outline: none;
    font-family: inherit;
}

.form-cb-1__input::-moz-placeholder {
    color: #998d8d;
}

.form-cb-1__input::placeholder {
    color: #998d8d;
}

textarea.form-cb-1__input {
    height: auto;
    text-align: left;
    padding: 18px 20px;
    resize: vertical;
}

.form-cb__icon {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 5%;
}

/* === Кастомный чекбокс === */
.form-cb-1__agreement {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form-cb-1__agreement-check {
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    display: flex;
    flex: 0 0 20px;
    height: 20px;
    margin-right: 10px;
    border: 2px solid rgb(56, 71, 65);
    border-radius: 5px;
}

.form-cb-1__agreement-check svg {
    visibility: hidden;
}

#form-cb-2__agreement {
    display: none;
}

#form-cb-2__agreement:checked+.form-cb-1__agreement-check {
    border-color: rgb(169, 196, 70);
    background-color: rgb(169, 196, 70);
}

#form-cb-2__agreement:checked+.form-cb-1__agreement-check svg {
    color: white;
    visibility: visible;
}

.form-cb-1__invalid {
    border: 1px solid red;
}

.form-cb-1__invalid:focus {
    border-width: 2px;
    border-radius: 15px;
    outline: none;
}

.form-cb-1__errors {
    display: none;
}

.form-cb-1__invalid+.form-cb-1__agreement-check {
    border: 2px solid red;
    border-radius: 5px;
}

.form-cb-1__agreement a {
    color: inherit;
    text-decoration: none;
}

/* === Кнопка === */
.btn_primary {
    border: 0;
    color: white;
    background-color: rgb(169, 196, 70);
    box-shadow: 0px 4px 0px 0px rgb(125, 149, 38);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn_primary:hover {
    color: white;
    background-color: rgb(169, 196, 70);
}

.btn_primary:active {
    box-shadow: none;
    transform: translateY(4px);
}

/* === Close button === */
.btn-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #333;
    line-height: 1;
}