.iambtl-consents {
	margin: 16px 0;
	font-size: 14px;
	line-height: 1.45;
}

.iambtl-consents__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 8px 0;
	cursor: pointer;
}

.iambtl-consents__checkbox {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: currentColor;
}

.iambtl-consents__item a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.iambtl-consents__checkbox[aria-invalid="true"] {
	outline: 2px solid #c32626;
	outline-offset: 2px;
}

.iambtl-consents__error {
	margin: 8px 0 0;
	color: #c32626;
	font-weight: 600;
}

.iambtl-consents ~ button[type="submit"][disabled],
.iambtl-consents ~ input[type="submit"][disabled] {
	cursor: not-allowed;
	opacity: .55;
}

.box-form .one-box-form .iambtl-consents span {
    color: #fff;
}

@media (max-width: 480px) {
	.iambtl-consents {
		font-size: 15px;
	}

	.iambtl-consents__item {
		gap: 12px;
	}

	.iambtl-consents__checkbox {
		width: 22px;
		height: 22px;
	}
}

/* =========================================================
   IAMBТL Cookie Notice
   Custom styling for the cookie settings pages
   ========================================================= */

/* ---------------------------------------------------------
   Notice background
   --------------------------------------------------------- */

.lwpcngNotice {
    background: #fff !important;
    opacity: 1 !important;
}


/* ---------------------------------------------------------
   Message area
   --------------------------------------------------------- */

.lwpcngNotice .lwpcngNotice_message {
    text-align: center;
    box-sizing: border-box;
}

.lwpcngNotice .lwpcngNotice_title {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
}

.lwpcngNotice .lwpcngNotice_message p {
    margin: 8px 0;
    line-height: 1.45;
}


/* ---------------------------------------------------------
   Buttons area
   --------------------------------------------------------- */

.lwpcngNotice .lwpcngNotice_buttons {
    text-align: center;
    box-sizing: border-box;
    margin-top: 12px;
}


/* Keep LuckyWP's basic button appearance,
   but slightly improve spacing */

.lwpcngNotice .lwpcngNotice_accept,
.lwpcngNotice .lwpcngNotice_reject,
.lwpcngNotice .lwpcngNotice_more {
    margin: 6px 5px;
    padding: 8px 14px;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #ddd;
    background: #fff;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1.2;
    box-sizing: border-box;
}


/* Accept */

.lwpcngNotice .lwpcngNotice_accept {
    font-weight: 700;
}


/* Reject */

.lwpcngNotice .lwpcngNotice_reject {
    color: #888;
}


/* Settings / More */

.lwpcngNotice .lwpcngNotice_more {
    color: #333;
}


/* ---------------------------------------------------------
   Cookie settings page
   --------------------------------------------------------- */

.lwpcngNotice .iambtl-cookie-settings {
    width: min(650px, 100%);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}


/* Cookie category */

.lwpcngNotice .iambtl-cookie-category {
    width: 100%;
    max-width: 600px;
    margin: 16px auto 0;
    text-align: left;
    box-sizing: border-box;
}


/* Category header */

.lwpcngNotice .iambtl-cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 5px;
    box-sizing: border-box;
}


/* Category name */

.lwpcngNotice .iambtl-cookie-category-header strong {
    font-size: 14px;
    line-height: 1.3;
}


/* Category description */

.lwpcngNotice .iambtl-cookie-category-description {
    font-size: 12px;
    line-height: 1.45;
    color: #555;
}


/* ---------------------------------------------------------
   Cookie switch
   --------------------------------------------------------- */

.lwpcngNotice .iambtl-cookie-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
    min-width: 42px;
    flex: 0 0 42px;
    cursor: pointer;
}


/* Hide native checkbox */

.lwpcngNotice .iambtl-cookie-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}


/* Switch background */

.lwpcngNotice .iambtl-cookie-slider {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: #ccc;
    transition: background 0.2s ease;
}


/* Switch knob */

.lwpcngNotice .iambtl-cookie-slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}


/* ON */

.lwpcngNotice
.iambtl-cookie-switch
input:checked
+ .iambtl-cookie-slider {
    background: #00a65a;
}

.lwpcngNotice
.iambtl-cookie-switch
input:checked
+ .iambtl-cookie-slider::before {
    transform: translateX(20px);
}


/* Disabled "Necessary" switch */

.lwpcngNotice
.iambtl-cookie-switch
input:disabled
+ .iambtl-cookie-slider {
    opacity: 0.65;
    cursor: not-allowed;
}


/* ---------------------------------------------------------
   Settings buttons
   --------------------------------------------------------- */

.lwpcngNotice .iambtl-cookie-back,
.lwpcngNotice .iambtl-cookie-save {
    margin: 6px 5px;
    padding: 8px 14px;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1.2;
    box-sizing: border-box;
}


/* Save */

.lwpcngNotice .iambtl-cookie-save {
    font-weight: 700;
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .lwpcngNotice .lwpcngNotice_message {
        padding-left: 12px;
        padding-right: 12px;
    }

    .lwpcngNotice .lwpcngNotice_title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .lwpcngNotice .lwpcngNotice_message p {
        margin: 7px 0;
        line-height: 1.4;
    }


    /* Settings page */

    .lwpcngNotice .iambtl-cookie-settings {
        width: 100%;
        max-width: none;
        padding-left: 8px;
        padding-right: 8px;
    }

    .lwpcngNotice .iambtl-cookie-category {
        width: 100%;
        max-width: none;
        margin-top: 15px;
    }


    /* Category header */

    .lwpcngNotice .iambtl-cookie-category-header {
        gap: 12px;
    }

    .lwpcngNotice .iambtl-cookie-category-header strong {
        font-size: 14px;
    }


    /* Description */

    .lwpcngNotice .iambtl-cookie-category-description {
        font-size: 12px;
        line-height: 1.4;
        padding-right: 54px;
    }


    /* Buttons */

    .lwpcngNotice .lwpcngNotice_buttons {
        padding-left: 8px;
        padding-right: 8px;
    }

    .lwpcngNotice .lwpcngNotice_accept,
    .lwpcngNotice .lwpcngNotice_reject,
    .lwpcngNotice .lwpcngNotice_more,
    .lwpcngNotice .iambtl-cookie-back,
    .lwpcngNotice .iambtl-cookie-save {
        margin: 5px 3px;
        padding: 8px 11px;
    }
}


/* ---------------------------------------------------------
   Very narrow screens
   --------------------------------------------------------- */

@media (max-width: 380px) {

    .lwpcngNotice .lwpcngNotice_accept,
    .lwpcngNotice .lwpcngNotice_reject,
    .lwpcngNotice .lwpcngNotice_more,
    .lwpcngNotice .iambtl-cookie-back,
    .lwpcngNotice .iambtl-cookie-save {
        margin: 4px 2px;
        padding: 7px 9px;
        font-size: 12px;
    }

}

/* ============================================================
   LeadBack — согласия
   ============================================================ */

#lb_widget-root .lb_eula-container {
    margin-left: 0 !important;
}

.iambtl-lb-consent {
    display: block;
    margin: 4px 0;
    text-align: left;
    font-size: 13px;
    line-height: 18px;
    cursor: pointer;
}

.iambtl-lb-consent input {
    margin-right: 4px;
}

.iambtl-lb-consent a {
    text-decoration: underline;
}

#lb_send.iambtl-lb-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.iambtl-lb-free-call {
    margin-top: 4px;
}