/* Hiện/ẩn mật khẩu — icon khóa trên form login Tax3s (bên phải) */
.tc-input-wrap.tc-input-wrap-password {
    position: relative;
}

.tc-input-wrap .tc-pass-toggle,
.gopy-pass-wrap .tc-pass-toggle {
    position: absolute;
    right: 6px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    color: inherit;
    line-height: 0;
}

.gopy-pass-wrap {
    position: relative;
}

.gopy-pass-wrap .tc-pass-toggle {
    left: auto;
    right: 8px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}

.gopy-pass-wrap input.form-control {
    padding-right: 40px;
}

.tc-input-wrap .tc-pass-toggle:hover,
.gopy-pass-wrap .tc-pass-toggle:hover {
    background: rgba(15, 39, 64, 0.08);
}

.tc-input-wrap .tc-pass-toggle:focus-visible,
.gopy-pass-wrap .tc-pass-toggle:focus-visible {
    outline: 2px solid var(--tc-primary-light, #3b82f6);
    outline-offset: 1px;
}

.tc-input-wrap .tc-pass-toggle svg,
.gopy-pass-wrap .tc-pass-toggle svg {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 18px;
    height: 18px;
    fill: var(--tc-muted, #64748b);
    pointer-events: none;
}

.tc-input-wrap.tc-pass-visible .tc-pass-toggle svg,
.gopy-pass-wrap.tc-pass-visible .tc-pass-toggle svg {
    fill: var(--tc-primary, #0f2740);
}

html[data-theme="dark"] .tc-input-wrap .tc-pass-toggle:hover,
html[data-theme="dark"] .gopy-pass-wrap .tc-pass-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .tc-input-wrap .tc-pass-toggle svg,
html[data-theme="dark"] .gopy-pass-wrap .tc-pass-toggle svg {
    fill: #94a3b8;
}

html[data-theme="dark"] .tc-input-wrap.tc-pass-visible .tc-pass-toggle svg,
html[data-theme="dark"] .gopy-pass-wrap.tc-pass-visible .tc-pass-toggle svg {
    fill: #e2e8f0;
}

/* Cảnh báo + hướng dẫn App Tax3s Assistant trên form login */
/* Cảnh báo + hướng dẫn App Tax3s Assistant trên form login */
.tc-assistant-login-note {
    margin: 0.75rem 0 1rem;
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
    border: 1px solid #f59e0b;
    background: #fff7ed;
    color: #1f2937;
    font-size: var(--tx-fs-base);
    line-height: 1.5;
}

.tc-assistant-login-note .tc-assistant-mandatory {
    color: #c2410c;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.tc-assistant-howto {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    align-items: flex-start;
    margin: 1rem 0 0;
    padding: 0.75rem 0.9rem;
    border-radius: 8px;
    border: 1px solid #93c5fd;
    background: #eff6ff;
    color: #1e3a5f;
}

.tc-assistant-howto-text {
    flex: 1 1 220px;
    min-width: 0;
}

.tc-assistant-howto-title {
    margin: 0 0 0.4rem;
    font-weight: 700;
    font-size: var(--tx-fs-base);
    color: #1d4ed8;
}

.tc-assistant-howto-steps {
    margin: 0;
    padding-left: 1.15rem;
    font-size: var(--tx-chrome-fs);
    line-height: 1.5;
}

.tc-assistant-howto-steps li + li {
    margin-top: 0.35rem;
}

.tc-assistant-howto-figure {
    flex: 0 0 auto;
    margin: 0;
    max-width: 100%;
    text-align: center;
}

.tc-assistant-howto-figure img {
    display: block;
    max-width: min(280px, 100%);
    height: auto;
    border-radius: 8px;
    border: 1px solid #bfdbfe;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.12);
    background: #0f172a;
}

.tc-assistant-howto-figure figcaption {
    margin-top: 0.35rem;
    font-size: var(--tx-fs-sm);
    line-height: 1.35;
    color: #334155;
}

html[data-theme="dark"] .tc-assistant-login-note {
    background: rgba(245, 158, 11, 0.18);
    border-color: #f59e0b;
    color: #fef3c7;
}

html[data-theme="dark"] .tc-assistant-login-note .tc-assistant-mandatory {
    color: #fb923c;
}

html[data-theme="dark"] .tc-assistant-howto {
    background: rgba(59, 130, 246, 0.16);
    border-color: #3b82f6;
    color: #dbeafe;
}

html[data-theme="dark"] .tc-assistant-howto-title {
    color: #93c5fd;
}

html[data-theme="dark"] .tc-assistant-howto-figure figcaption {
    color: #94a3b8;
}

html[data-theme="dark"] .tc-assistant-howto-figure img {
    border-color: #1e40af;
}
