/* pit-tax */
.pit-tax {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #0b0b0b;
    background: #ffffff;
    /* float: left; */
    /* margin-left: 177px; */
}

.red {
    color: red;
}
input[type=text], input[type=url], input[type=tel], input[type=email]{
    font-size: 16px;
}
input[type=text], input[type=url], input[type=tel], input[type=email] {
    border: unset;
}

.pit-field input[type="text"]:focus {
    border: unset !important;
}

.pit-tax__container {
    max-width: 995px;
    margin: 0 auto;
    /* padding: 20px 12px 28px; */
    position: relative;
    margin-bottom: 28px;
}

.pit-tax__header {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.pit-tax__title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.pit-tax__subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.pit-tax__tabs {
    background: #b1c9ff;
    border-radius: 24px;
    padding: 4px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    align-items: center;
    max-width: 680px;
    margin: 0 auto;
}

.pit-tax__tab {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 400;
    color: #0b0b0b;
    text-align: center;
    cursor: pointer;
    margin: unset;
}

.pit-tax__tab--active {
    background: #fcfdff;
    box-shadow: 1px 0px 10px rgba(33, 95, 233, 0.55);
    color: #0047fb;
    font-weight: 700;
}

.pit-tax__layout {
    display: grid;
    grid-template-columns: 468px 1fr;
    gap: 24px;
    align-items: start;
}

.pit-tax__panel {
    background: #ffffff;
    border: 1px solid #b3b3b3;
    border-radius: 19px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 18px;
}

.pit-panel__head {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.pit-panel__headicon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    text-decoration: none;
}

.pit-panel__headiconimg {
    width: 26px;
    height: 26px;
    display: block;
}

.pit-panel__title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pit-panel__titleiconimg {
    /* width: 24px; */
    /* height: 24px; */
    display: block;
}

.pit-form {
    display: grid;
    gap: 16px;
    margin-top: 10px;
}

.pit-field {
    display: grid;
    gap: 10px;
}

.pit-field__label {
    font-size: 16px;
    font-weight: 700;
}

.pit-field__label--withicon {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.pit-iconlink {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    text-decoration: none;
}

.pit-iconlink__img {
    width: 18px;
    height: 18px;
    display: block;
    cursor: pointer;
}

/* Tooltip styles */
.pit-iconlink--tooltip {
    position: relative;
    opacity: 1 !important;
}

/* Tooltip content element */
.pit-tooltip__content {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 518%;
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    padding: 10px 14px;
    border-radius: 8px;
    white-space: normal;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
    max-height: unset;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    font-style: italic;
}

/* Tooltip link style */
.pit-tooltip__link {
    color: #0066cc;
    text-decoration: underline;
    font-style: italic;
}

.pit-tooltip__link:hover {
    color: #004499;
}

/* Tooltip arrow */
.pit-iconlink--tooltip::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}

.pit-iconlink--tooltip:hover .pit-tooltip__content, .pit-iconlink--tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Tooltip riÃªng cho trÆ°á»ng "Thuáº¿ TNCN ná»™p thÃªm/Ä‘Æ°á»£c hoÃ n" */
.pit-iconlink--tooltip-left .pit-tooltip__content--left {
    left: -200px;
    transform: translateX(0);
}

.pit-field__inline {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px;
    align-items: center;
}

.pit-chip {
    background: #f9fbff;
    border: 1px solid #d0d7f0;
    border-radius: 9px;
    min-height: 32px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.pit-chip__text {
    font-size: 16px;
    font-weight: 400;
    color: #0b0b0b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pit-chip--active .pit-chip__text {
    font-weight: 600;
}

.pit-chip--date .pit-chip__text {
    /* font-weight: 400; */
}

.pit-chip__dot {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid #888888;
    background: #ffffff;
    flex: 0 0 auto;
}

.pit-chip__dot--on {
    border-color: #4376f9;
    background: radial-gradient(circle at center, #4377f9 0 6px, transparent 7px);
}

.pit-input {
    background: #f9fbff;
    border: 1px solid #d0d7f0;
    border-radius: 9px;
    min-height: 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 6px 12px;
    gap: 10px;
}

.pit-input__control {
    border: 0;
    outline: none;
    background: transparent;
    font-size: 16px;
    font-weight: 400;
    color: #0b0b0b;
    width: 100%;
    min-width: 0;
}

.pit-input__control::placeholder {
    color: #797979;
}

.pit-input__suffix {
    font-size: 13px;
    font-style: italic;
    color: #797979;
    white-space: nowrap;
}

.pit-radio {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    align-items: center;
}

.pit-radio__item {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.pit-radio__control {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pit-radio__fake {
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #888888;
    display: inline-block;
}

.pit-radio__control:checked+.pit-radio__fake {
    border-color: #4376f9;
    background: radial-gradient(circle at center, #4377f9 0 4px, transparent 5px);
}

.pit-radio__text {
    font-size: 15px;
    font-weight: 400;
    color: #0b0b0b;
    line-height: 1.3;
}

.pit-select {
    background: #f9fbff;
    border: 1px solid #d0d7f0;
    border-radius: 9px;
    min-height: 40px;
    padding: 6px 10px;
    display: grid;
    grid-template-columns: 1fr 28px;
    align-items: center;
    gap: 8px;
    position: relative;
}

.pit-select__value {
    font-size: 16px;
    font-weight: 400;
    color: #0b0b0b;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    cursor: pointer;
}

/* Ã¡ÂºÂ¨n mÃ…Â©i tÃƒÂªn mÃ¡ÂºÂ·c Ã„â€˜Ã¡Â»â€¹nh cÃ¡Â»Â§a select trÃƒÂªn trÃƒÂ¬nh duyÃ¡Â»â€¡t */
.pit-select__value::-ms-expand {
    display: none;
}

/* Custom width cho dropdown options */
.pit-select__value option {
    width: 100%;
    max-width: 400px;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 400;
    color: #0b0b0b;
}

.pit-select__caret {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    text-decoration: none;
    cursor: pointer;
}

.pit-select__caret:hover {
    background: #e8efff;
    border-radius: 6px;
}

.pit-select__caretimg {
    width: 20px;
    height: 20px;
    display: block;
}

.pit-qty {
    background: #f9fbff;
    border: 1px solid #d0d7f0;
    border-radius: 9px;
    min-height: 40px;
    padding: 6px 10px;
    display: grid;
    grid-template-columns: 34px 1fr 34px;
    align-items: center;
    gap: 10px;
}

.pit-qty--input {
    grid-template-columns: 34px 1fr auto;
}

.pit-qty__btn {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    text-decoration: none;
    border-radius: 8px;
}

.pit-qty__icon {
    width: 22px;
    height: 22px;
    display: block;
}

.pit-qty__value {
    font-size: 16px;
    font-weight: 400;
    color: #0b0b0b;
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
}

.pit-qty__unit {
    font-size: 14px;
    font-weight: 400;
    color: #797979;
    white-space: nowrap;
}

.pit-cta {
    background: #4377f9;
    border-radius: 21px;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
    min-height: 41px;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 700;
}

.pit-summary {
    background: #fef2f2;
    border: 1px solid #f39f9f;
    border-radius: 14px;
    padding: 18px 33px;
    display: grid;
    gap: 10px;
    margin: 10px 0 14px;
}

.pit-summary--refund {
    background: #ECFDF5;
    border: 1px solid #89FFD1;
}

.pit-summary__label {
    font-size: 14px;
    font-weight: 700;
    color: #797979;
    text-align: center;
    letter-spacing: 0.2px;
}

.pit-summary__value {
    font-size: 33px;
    font-weight: 700;
    color: #ff0505;
    text-align: center;
    line-height: 1.2;
}

.pit-summary__value--refund {
    color: #059669;
}

.pit-table {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #d0d7f0;
}

.pit-table__head {
    background: #1d4ed8;
    display: grid;
    grid-template-columns: 1fr 160px;
    gap: 10px;
    padding: 12px 12px;
}

.pit-table__hcell {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.pit-table__hcell--right {
    text-align: right;
}

.pit-table__row {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 10px;
    background: #ffffff;
    border-top: 1px solid #d0d7f0;
    padding: 10px 12px;
    align-items: center;
}

.pit-table__row.pit-table__row--net {
    background: #eff4ff;
}

.pit-table__row--strong .pit-table__cell {
    font-weight: 700;
    font-size: 18px;
}

.pit-table__row--section {
    background: #eff4ff;
}

.pit-table__row--tint {
    /* background: #eff4ff; */
}

.pit-table__row--pay {
    background: #ecfdf5;
}

.pit-table__row--net .pit-table__cell {
    font-weight: 700;
}

.pit-table__cell {
    font-size: 16px;
    font-weight: 400;
    color: #0b0b0b;
}

.pit-table__cell--right {
    text-align: right;
    white-space: nowrap;
}

.pit-table__cell--caps {
    /* text-transform: uppercase; */
    font-size: 18px;
    font-weight: 700;
}

.pit-table__cell--strong {
    font-weight: 700;
}

.pit-table__cell--withtooltip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pit-note {
    margin-top: 10px;
    font-size: 12px;
    font-style: italic;
    color: #797979;
    line-height: 1.4;
}

.pit-explain {
    margin-top: 16px;
    background: #eff6ff;
    border: 1px solid #cbe2fe;
    border-radius: 14px;
    padding: 14px;
    display: grid;
    gap: 10px;
}

.pit-explain__title {
    font-size: 22px;
    font-weight: 700;
    color: #0b0b0b;
}

.pit-explain__box {
    background: #ffffff;
    border: 1px solid #cbe2fe;
    border-radius: 14px;
    padding: 14px;
}

.pit-explain__text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: #0b0b0b;
}

.pit-explain__text ol {
    margin: 0;
    /* padding-left: 20px; */
}

.pit-explain__text li {
    margin-bottom: 8px;
}

.pit-explain__text .k {
    font-weight: 700;
    color: #000;
}

.pit-tax__panel--base {
    grid-column: 1 / 2;
}

.pit-tax__panel.pit-tax__panel--base {
    margin-top: 16px;
}

.pit-baseinfo {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.pit-baseinfo__content {
    font-size: 14px;
    line-height: 1.5;
    color: #0b0b0b;
}

.pit-baseinfo__content ol {
    margin: 0;
    /* padding-left: 20px; */
}

.pit-baseinfo__content li {
    margin-bottom: 8px;
}

.pit-baseinfo__content ul {
    margin: 4px 0 0 0;
    padding-left: 20px;
}

.pit-baseinfo__content ul li {
    margin-bottom: 0;
    font-size: 14px;
}

.pit-baseinfo__line {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #0b0b0b;
}

.pit-baseinfo__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
    margin-top: 4px;
}

.pit-baseinfo__item {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #0b0b0b;
}

@media (max-width: 979px) {
    input[type=text], input[type=url], input[type=tel], input[type=email]{
    font-size: 16px;
}
    .pit-table__cell--withtooltip{
        display: block;
    }
    .pit-iconlink--tooltip{
        position:unset;
    }
    .pit-tooltip__content{
        left:0;
    }
    
    #tooltip-gross-income {
        left: 0;
        transform: translateX(0);
    }
    
    #tooltip-region {
        left: 0;
        transform: translateX(0);
    }
    
    #tooltip-total-income-year {
        left: 0;
        transform: translateX(0);
    }
    
    #tooltip-tax-deducted {
        left: 0;
        transform: translateX(0);
    }
    
    #tooltip-tax-refund {
        left: 0;
        transform: translateX(0);
    }
    
    .pit-tax__layout {
        grid-template-columns: 1fr;
    }

    .pit-tax__tabs {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .pit-field__inline {
        grid-template-columns: 1fr;
    }

    .pit-radio {
        grid-template-columns: 1fr;
    }

    .pit-tax__panel--base {
        grid-column: auto;
    }

    .pit-table__head, .pit-table__row {
        grid-template-columns: 1fr 130px;
    }

    .pit-qty {
        grid-template-columns: 34px 1fr 34px;
    }

    .pit-qty--input {
        grid-template-columns: 34px 1fr auto;
    }
}

/* Class cho giÃƒÂ¡ trÃ¡Â»â€¹ cÃƒÂ³ dÃ¡ÂºÂ¥u gÃ¡ÂºÂ¡ch ngang khi chÃ†Â°a cÃƒÂ³ dÃ¡Â»Â¯ liÃ¡Â»â€¡u */
.strikethrough-value {
    text-decoration: line-through;
    color: #999999;
}

/* Class cho Ã„â€˜Ã†Â°Ã¡Â»Âng gÃ¡ÂºÂ¡ch ngang hiÃ¡Â»Æ’n thÃ¡Â»â€¹ khi chÃ†Â°a cÃƒÂ³ dÃ¡Â»Â¯ liÃ¡Â»â€¡u */
.line-tax {
    width: 20px;
    height: 100%;
    outline: black solid 1px;
    outline-offset: -0.5px;
    margin-left: auto;
}

/* Class cho text thÃƒÂ´ng tin mÃ¡Â»Â©c lÃ†Â°Ã†Â¡ng bÃ¡ÂºÂ£o hiÃ¡Â»Æ’m */
.pit-field__info {
    font-size: 14px;
    font-style: italic;
    color: #888;
    line-height: 1.4;
}

.md-tax2025 {
    width: 100%;
    /* max-width: 438px; */
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #000;
    margin-top: 14px;
}

.md-tax2025__panel {
    border: 1px solid #d0d7f0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.md-tax2025__header {
    background: #1d4ed8;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    padding: 12px 14px;
}

.md-tax2025__grid {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 1.3fr;
}

.md-tax2025__cell {
    padding: 10px 8px;
    font-size: 14px;
    line-height: 1.35;
    border-top: 1px solid #d0d7f0;
    background: #fff;
}

.md-tax2025__cell--head {
    font-weight: 700;
}

.md-tax2025__cell--right {
    text-align: right;
}

.md-tax2025__cell--center {
    text-align: right;
    white-space: nowrap;
}

.md-tax2025__row--highlight .md-tax2025__cell {
    background: #eff4ff;
}

@media (max-width: 979px) {
    .md-tax2025 {
        max-width: 100%;
    }

    .md-tax2025__grid {
        grid-template-columns: 1.4fr 0.6fr 1fr;
    }
}

/* Class cho text tÃ¡Â»Â± Ã„â€˜Ã¡Â»â„¢ng Ã†Â°Ã¡Â»â€ºc tÃƒÂ­nh bÃ¡ÂºÂ£o hiÃ¡Â»Æ’m */
.pit-field__autocalc {
    font-size: 14px;
    color: #3672FF;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 6px;
    display: inline-block;
    margin-left: auto;
    font-family: Inter SemiBold;
}

.pit-field__autocalc:hover {
    color: #004499;
}

.wrap-bar-post {
    position: relative;
    flex: 0 0 auto;
    margin-left: 24px;
    position: absolute;
    top: 185px;
    right: -236px;
    height: -webkit-fill-available;
}

.content-tax {
    max-width: 995px;
    background: #ffffff;
    border: 1px solid #b3b3b3;
    border-radius: 19px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 18px;
}

.bar-post {
}

/* end pit-tax */
/* bar-post */
.tax-amis {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 10px;
    margin-top: 70px;
}

.pit-tax {
    flex: 1 1 auto;
    max-width: 995px;
}

.bar-post {
    position: sticky;
    top: 73px;
    height: fit-content;
}

#td-outer-wrap {
    overflow: visible;
    /* width: fit-content; */
}

.td-pb-row {
    margin-right: 0;
    margin-left: 0;
}

.learnmore-card {
    width: 219px;
    background: #ffffff;
    border: 1px solid #b3b3b3;
    border-radius: 12px;
    overflow: hidden;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #000;
}

.learnmore-head {
    padding: 7px 8px;
    border-bottom: 1px solid #b3b3b3;
}

.learnmore-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    text-align: justify;
}

.learnmore-list {
    display: grid;
    grid-auto-rows: minmax(0, auto);
}

.learnmore-item {
    padding: 10px 8px;
    border-bottom: 1px solid #b3b3b3;
}

.learnmore-item:last-child {
    border-bottom: 0;
}

.learnmore-link {
    display: block;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-align: justify;
    word-break: break-word;
}

.learnmore-link:hover, .learnmore-link:focus-visible {
    text-decoration: underline;
    outline: none;
}

@media (max-width: 979px) {
    .bar-post {
        display: none;
    }

    .learnmore-card {
        width: 100%;
        max-width: 219px;
    }
}

/* end bar-post */
.content-tax {
    max-width: 995px;
    background: #ffffff;
    border: 1px solid #b3b3b3;
    border-radius: 19px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 18px;
    margin-bottom: 30px;
}
