.form__policy {
    margin: 16px 0 8px;
}

.form__policy-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    line-height: 16px;
    color: #1D2327;
}

.form__policy-checkbox {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    margin: 1px 0 0;
    border: 1px solid #8F9599 !important;
    border-radius: 2px;
    background: #fff !important;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
}

.form__policy-checkbox:checked {
    background: #007F55 !important;
    border-color: #007F55 !important;
}

.form__policy-checkbox:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 7px;
    border: solid #fff;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.form__policy-checkbox:focus {
    outline: 1px solid rgba(0, 127, 85, 0.4);
    outline-offset: 1px;
}

.form__policy-text a,
.form__check a {
    color: #007F55;
    text-decoration: underline;
}

.form__policy-text a:hover,
.form__check a:hover {
    color: #006644;
}

.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10050;
    background: #fff;
    border-top: 1px solid #E7EBED;
    box-shadow: 0 -8px 24px rgba(29, 35, 39, 0.08);
    padding: 16px 24px;
}

.cookie-consent[hidden] {
    display: none !important;
}

.cookie-consent__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-consent__label {
    margin: 0;
    flex: 1 1 auto;
}

.cookie-consent__actions {
    flex: 0 0 auto;
}

.cookie-consent__accept,
.cookie-consent__accept:disabled {
    min-width: 160px;
    height: 40px;
    padding: 0 24px;
    line-height: 40px;
    font-weight: 500;
    color: #fff !important;
    background: linear-gradient(135deg, #10a752 0, #007f55 100%) !important;
    box-shadow: 0 10px 20px 0 rgba(0, 127, 85, .2) !important;
    border: 0;
}

.cookie-consent__accept:hover,
.cookie-consent__accept:active {
    color: #fff !important;
    background: linear-gradient(135deg, #0c9c4b 0, #00704b 100%) !important;
}

.cookie-consent__accept:disabled {
    opacity: 0.7;
    cursor: not-allowed !important;
}

@media (max-width: 639px) {
    .form__policy-label {
        font-size: 12px;
        line-height: 16px;
    }

    .cookie-consent {
        padding: 14px 16px;
    }

    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cookie-consent__accept {
        width: 100%;
        min-width: 0;
    }
}
