.tdul-wrap {
    --tdul-primary: #81b333;
    --tdul-btn-text: #fff;
    --tdul-card: #fff;
    --tdul-text: #1f2937;
    --tdul-radius: 12px;
    --tdul-width: 440px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    color: var(--tdul-text)
}

.tdul-wrap *, .tdul-wrap *::before, .tdul-wrap *::after {
    box-sizing: border-box
}

.tdul-card {
    width: 100%;
    max-width: var(--tdul-width);
    background: var(--tdul-card);
    color: var(--tdul-text);
    border-radius: var(--tdul-radius);
    padding: 32px 28px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, .10), 0 2px 6px rgba(15, 23, 42, .06);
    border: 1px solid rgba(15, 23, 42, .06)
}

.tdul-logo {
    text-align: center;
    margin-bottom: 18px
}

.tdul-logo img {
    max-width: 180px;
    max-height: 70px;
    height: auto
}

.tdul-title {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.25;
    text-align: center;
    color: var(--tdul-text)
}

.tdul-sub {
    margin: 0 0 18px;
    text-align: center;
    font-size: 14px;
    opacity: .75
}

.tdul-tabs {
    display: flex;
    gap: 6px;
    background: rgba(15, 23, 42, .06);
    padding: 4px;
    border-radius: calc(var(--tdul-radius) - 2px);
    margin-bottom: 22px
}

.tdul-tab {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 10px 12px;
    border-radius: calc(var(--tdul-radius) - 4px);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: inherit;
    opacity: .7;
    transition: all .15s
}

.tdul-tab.is-active {
    background: var(--tdul-card);
    opacity: 1;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .15)
}

.tdul-notice {
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    background: #eef2ff;
    color: #1e3a8a;
    line-height: 1.4
}

.tdul-notice.tdul-error {
    background: #fef2f2;
    color: #991b1b
}

.tdul-notice.tdul-success {
    background: #ecfdf5;
    color: #065f46
}

.tdul-notice[hidden], .tdul-form[hidden] {
    display: none !important
}

.tdul-form {
    margin: 0
}

.tdul-form .tdul-title {
    margin-bottom: 18px
}

.tdul-form .tdul-sub + input + input, .tdul-form .tdul-sub {
    margin-top: -6px
}

.tdul-field {
    display: block;
    margin-bottom: 16px
}

.tdul-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px
}

.tdul-field input[type=text], .tdul-field input[type=email], .tdul-field input[type=tel], .tdul-field input[type=password] {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    margin-bottom: 0;
    border: 1px solid rgba(15, 23, 42, .2);
    border-radius: calc(var(--tdul-radius) - 4px);
    background: #fff;
    color: #111827;
    font-size: 15px;
    box-shadow: none;
    outline: 0;
    transition: border-color .15s, box-shadow .15s
}

.tdul-field input:focus {
    border-color: var(--tdul-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--tdul-primary) 20%, transparent)
}

.tdul-pass {
    position: relative;
    display: block
}

.tdul-pass input {
    padding-right: 64px !important
}

.tdul-eye {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--tdul-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px
}

.tdul-otp {
    text-align: center;
    letter-spacing: .5em;
    font-size: 22px !important;
    font-weight: 700
}

.tdul-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 2px 0 18px;
    font-size: 14px
}

.tdul-row a, .tdul-link {
    color: var(--tdul-primary);
    text-decoration: none;
    font-weight: 600;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-size: 14px
}

.tdul-row a:hover, .tdul-link:hover {
    text-decoration: underline
}

.tdul-link[disabled] {
    opacity: .5;
    cursor: default;
    text-decoration: none
}

.tdul-check {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer
}

.tdul-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: calc(var(--tdul-radius) - 4px);
    background: var(--tdul-primary);
    color: var(--tdul-btn-text) !important;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: filter .15s, transform .05s
}

.tdul-btn:hover {
    filter: brightness(1.08)
}

.tdul-btn:active {
    transform: translateY(1px)
}

.tdul-btn[disabled] {
    opacity: .65;
    cursor: wait
}

.tdul-btn-ghost {
    background: transparent;
    color: var(--tdul-primary) !important;
    border: 1px solid var(--tdul-primary);
    margin-top: 10px
}

.tdul-loggedin .tdul-sub {
    margin-bottom: 22px
}

.tdul-captcha {
    margin-bottom: 16px
}

.tdul-captcha .tdul-field {
    margin: 0
}

.tdul-math {
    display: flex;
    align-items: center;
    gap: 10px
}

.tdul-math-q {
    font-size: 18px;
    font-weight: 700;
    min-width: 70px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(15, 23, 42, .06);
    text-align: center;
    white-space: nowrap
}

.tdul-math-eq {
    font-size: 18px;
    font-weight: 700
}

.tdul-math input {
    flex: 1
}

.tdul-muted {
    opacity: .65;
    font-size: 12px
}

.tdul-hp {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.tdul-captcha-widget {
    min-height: 20px;
    overflow: hidden
}

@media (max-width: 480px) {
    .tdul-card {
        padding: 24px 18px
    }

    .tdul-title {
        font-size: 21px
    }
}

.tdul-pwhelp {
    margin: -6px 0 16px
}

.tdul-meter {
    margin-bottom: 8px
}

.tdul-meter[hidden] {
    display: none !important
}

.tdul-meter-bar {
    height: 6px;
    border-radius: 99px;
    background: rgba(15, 23, 42, .1);
    overflow: hidden
}

.tdul-meter-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    transition: width .2s, background .2s
}

.tdul-meter-bar span.tdul-s1 {
    background: #dc2626
}

.tdul-meter-bar span.tdul-s2 {
    background: #f59e0b
}

.tdul-meter-bar span.tdul-s3 {
    background: #84cc16
}

.tdul-meter-bar span.tdul-s4 {
    background: #16a34a
}

.tdul-meter-label {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px
}

.tdul-rules {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12.5px
}

.tdul-rules li {
    position: relative;
    padding-left: 20px;
    margin: 0 !important;
    opacity: .7
}

.tdul-rules li::before {
    content: "\2022";
    position: absolute;
    left: 5px
}

.tdul-rules li.is-ok {
    opacity: 1;
    color: #15803d
}

.tdul-rules li.is-ok::before {
    content: "\2713";
    left: 3px;
    font-weight: 700
}

.tdul-pass input {
    padding-right: 48px !important
}

.tdul-eye {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0 !important;
    line-height: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--tdul-text);
    opacity: .6;
    font-size: 0
}

.tdul-eye:hover {
    opacity: 1;
    color: var(--tdul-primary)
}

.tdul-eye svg {
    display: block;
    pointer-events: none;
    width: 22px;
}

.tdul-eye .tdul-ico-hide,.tdul-eye.is-on .tdul-ico-show {
    display: none
}

.tdul-eye.is-on .tdul-ico-hide {
    display: block
}
