.sopd-agreement-wrapper {
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: left;
}

.sopd-agreement-item {
    position: relative;
    margin-bottom: 10px;
}

.sopd-agreement-item input[type="checkbox"] {
    display: none !important;
}

.sopd-agreement-item label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.4;
    display: inline-block;
    color: inherit;
}

.sopd-agreement-item label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    border: 1px solid #000;
    background-color: #fff;
    border-radius: 2px;
}

.sopd-agreement-item input[type="checkbox"]:checked+label:before {
    background-color: #fff;
    border-color: #000;
}

.sopd-agreement-wrapper .sopd-agreement-item input[type="checkbox"]:checked+label:after {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    /* Сместили ниже для центровки */
    width: 16px;
    /* Чуть уменьшили ширину для баланса */
    height: 9px;
    border: solid #000 !important;
    border-width: 0 0 4px 4px !important;
    transform: rotate(-45deg);
}

.sopd-agreement-item label a.sopd-link {
    text-decoration: underline;
    color: inherit;
}

.sopd-agreement-item label a.sopd-link:hover {
    text-decoration: none;
}

/* Error state */
.sopd-agreement-item.sopd-error label:before {
    border-color: #ff3333 !important;
    box-shadow: 0 0 5px rgba(255, 51, 51, 0.5);
}

.sopd-agreement-item.sopd-error label {
    color: #ff3333 !important;
}

/* Button disabled state */
form.has-sopd-personal input[type="submit"]:disabled,
form.has-sopd-personal button[type="submit"]:disabled,
form.has-sopd-personal .submit-button:disabled,
form.has-sopd-personal .first-button:disabled,
form.has-sopd-personal .submit-button[disabled],
form.has-sopd-personal .first-button[disabled],
.modal-form form input[type="submit"]:disabled,
.modal-form form button[type="submit"]:disabled,
.modal-form form .submit-button:disabled,
.modal-form form .first-button:disabled,
.modal-form form .submit-button[disabled],
.modal-form form .first-button[disabled] {
    background-color: #999 !important;
    border-color: #999 !important;
    color: #666 !important;
    cursor: not-allowed !important;
    background-image: none !important;
    box-shadow: none !important;
    opacity: 1;
}

/* Base style improvements */
.sopd-agreement-item label:before {
    transition: all 0.2s ease;
}