fieldset[data-credential-hotfix] {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

fieldset[data-credential-hotfix] label:has(input[type="checkbox"]),
fieldset[data-credential-hotfix] div:has(> input[type="checkbox"]):has(> label) {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 12px 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

fieldset[data-credential-hotfix] input[type="checkbox"] {
    appearance: auto !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    min-height: 18px !important;
    flex: 0 0 18px !important;
    padding: 0 !important;
    margin: 3px 0 0 !important;
    accent-color: #0891b2 !important;
}

fieldset[data-credential-hotfix] label:has(input[type="checkbox"]) > :not(input),
fieldset[data-credential-hotfix] div:has(> input[type="checkbox"]) > label {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.5 !important;
}

/* Correccion de checkboxes del formulario completo */
form:has(fieldset[data-credential-hotfix]) label:has(input[type="checkbox"]),
form:has(fieldset[data-credential-hotfix]) div:has(> input[type="checkbox"]):has(> label) {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 12px 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

form:has(fieldset[data-credential-hotfix]) input[type="checkbox"] {
    appearance: auto !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    min-height: 18px !important;
    flex: 0 0 18px !important;
    padding: 0 !important;
    margin: 3px 0 0 !important;
    accent-color: #0891b2 !important;
}

form:has(fieldset[data-credential-hotfix]) label:has(input[type="checkbox"]) > :not(input),
form:has(fieldset[data-credential-hotfix]) div:has(> input[type="checkbox"]) > label {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.5 !important;
}

/* Identidad visual de incorporacion profesional */

.tk-account-shell .account-content:has(> .trust-policy fieldset[data-credential-hotfix]) {
    background: transparent !important;
    border: 1px solid rgba(144,224,239,.12) !important;
    box-shadow: none !important;
}

.tk-account-shell .account-card.trust-policy:has(fieldset[data-credential-hotfix]) {
    background: linear-gradient(145deg,#142b3e,#09182b) !important;
    color: #eafbff !important;
    border: 1px solid rgba(144,224,239,.20) !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.25) !important;
    color-scheme: dark;
}

.tk-account-shell .trust-policy:has(fieldset[data-credential-hotfix]) :is(h1,h2,h3,label,legend) {
    color: #eafbff !important;
}

.tk-account-shell .trust-policy:has(fieldset[data-credential-hotfix]) p {
    color: #adc3d1 !important;
}

.tk-account-shell .trust-policy fieldset[data-credential-hotfix] {
    background: rgba(3,8,23,.18) !important;
    border: 1px solid rgba(144,224,239,.22) !important;
    border-radius: 16px !important;
    padding: 20px !important;
}

.tk-account-shell .trust-policy fieldset[data-credential-hotfix] input:not([type="checkbox"]):not([type="hidden"]),
.tk-account-shell .trust-policy fieldset[data-credential-hotfix] select {
    background: #09182b !important;
    color: #eafbff !important;
    border: 1px solid #36566c !important;
    border-radius: 12px !important;
}

.tk-account-shell .trust-policy fieldset[data-credential-hotfix] option {
    background: #09182b !important;
    color: #eafbff !important;
}

.tk-account-shell .trust-policy fieldset[data-credential-hotfix] :is(input,select):focus-visible {
    outline: 2px solid #00b4d8 !important;
    outline-offset: 2px;
}

.tk-account-shell .trust-policy fieldset[data-credential-hotfix] a {
    color: #90e0ef !important;
}

.tk-account-shell .trust-policy:has(fieldset[data-credential-hotfix]) .account-button {
    background: linear-gradient(135deg,#0077b6,#008ca8) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 12px !important;
}

