/* Двухчекбоксное согласие — оферта + политика */
#subPlanConsent[hidden],
#subPlanConsent.da-consent[hidden],
.da-consent-slot[hidden],
.da-consent[hidden] {
    display: none !important;
}

#subPlanConsent[hidden] .da-consent,
.da-consent-slot[hidden] .da-consent {
    display: none !important;
}

.da-consent {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0 12px;
    width: 100%;
    box-sizing: border-box;
}

.da-consent__card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #12171a;
    cursor: pointer;
    text-align: left;
    transition: all 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.da-consent__card:has(.da-consent__input:checked) {
    border-color: rgba(0, 229, 155, 0.35);
    background: rgba(0, 229, 155, 0.05);
}

.da-consent__card.is-consent-error {
    border-color: rgba(239, 68, 68, 0.5) !important;
}

.da-consent__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.da-consent__check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #0a0e10;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.da-consent__check::after {
    content: "";
    width: 6px;
    height: 10px;
    border: solid transparent;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    margin-top: -2px;
    transition: transform 0.12s ease;
}

.da-consent__input:checked + .da-consent__check {
    background: #00e59b;
    border-color: #00e59b;
    box-shadow: 0 0 0 1px rgba(0, 229, 155, 0.35);
}

.da-consent__input:checked + .da-consent__check::after {
    border-color: #05130e;
    transform: rotate(45deg) scale(1);
}

.da-consent__text {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #cbd5e1;
}

.da-consent__text a {
    color: #00e59b;
    font-weight: 500;
    text-decoration: none;
}

.da-consent__text a:hover {
    text-decoration: underline;
}

.da-consent-gate-card {
    background: #0d1113 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.user-auth-btn.is-consent-ready:not(:disabled),
#authRegisterBtn.is-consent-ready:not(:disabled),
#authTermsGateSubmit.is-consent-ready:not(:disabled) {
    background: #00e59b !important;
    color: #05130e !important;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 229, 155, 0.25);
    border: none;
}

.user-auth-btn.is-consent-pending:disabled,
#authRegisterBtn:disabled {
    background: #1a2024;
    color: #64748b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: not-allowed;
    box-shadow: none;
}

.sub-modal__btn--neon.is-consent-ready {
    background: #00e59b;
    color: #05130e;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 229, 155, 0.25);
    cursor: pointer;
}

.sub-modal__btn--neon.is-consent-pending {
    background: #1a2024 !important;
    color: #64748b !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    filter: none !important;
}