#ticket-wrapper {
    --ticket-w: 1024px;
    position: relative;
    z-index: 1;
}

.navigation-wrapper {
    border-bottom: none !important;
}

.main-content {
    margin: 0;
    padding: 0;
}

.myTicketContent {
    padding: 28px 0;
}

.main-content~#product-viewed-content {
    display: none;
}

.loading-ticket {
    position: relative;
}

.my-ticket {
    margin: 0 auto;
}

.ticket-loading-icon {
    width: 48px;
    height: 48px;
    position: absolute;
    top: 50%;
    right: 10px;
    background-color: #fff;
    transform: translateY(-50%);
}

.ticket-loading-icon::before {
    content: "";
    width: 32px;
    height: 32px;
    position: absolute;
    top: 8px;
    left: 8px;
    border: 3px solid #e1e1e1;
    border-right-color: #d6d6d6;
    border-bottom-color: #c8c8c8;
    border-left-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 750ms linear infinite;
}

.submit-loading {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 16px;
    position: relative;
    border: 2px solid #e1e1e1;
    border-right-color: #d6d6d6;
    border-bottom-color: #c8c8c8;
    border-left-color: transparent;
    background-color: transparent;
    animation: rotation 750ms linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.ticket-loading-wrapper {
    z-index: 4;
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading-header {
    font-size: 36px;
    font-weight: 500;
    margin: 90px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-header span {
    width: 420px;
    height: 40px;
}

.text-loading {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.text-loading .loading-action {
    margin: 0 auto 5px auto;
    height: 23px;
    min-height: 1px;
    display: block;
    width: 100%;
}

.quick-link .loading-action {
    min-height: 54px;
}

.loading-action {
    border-radius: 4px;
    background: linear-gradient(45deg, rgba(209, 209, 209, 0.35), rgba(11, 11, 11, 0.1), rgba(209, 209, 209, 0.1), rgba(209, 209, 209, 0.15));
    background-size: 400% 400%;
    animation: gradient 3000ms ease infinite;
    user-select: none;
    display: block;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.nav-tabs {
    border-bottom: 1px solid #ddd;
}

.nav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

ol,
ul {
    margin-top: 0;
    margin-bottom: 10px;
}

.content-tab .nav-tabs {
    border-bottom: 0;
    display: inline-block;
}

.ticket-title {
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 9;
    color: #fff;
    /* overflow: hidden; */
    background: linear-gradient(135deg, rgba(252 215 171 / 20%) 10.94%, #fddfbc 33.73%, #fddfbc 46.1%, rgba(252 215 171 / 10%) 72.4%);
}

.hero-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.hero2 {
    position: absolute;
    bottom: 0;
    right: 0;
}

.ticket-title::after {
    content: "";
    padding-bottom: 25%;
    display: block;
}

.content-header-ticket {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 36px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.packing-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: auto;
    z-index: 1;
}

.ticket-title .how {
    font-size: calc(31px + (45 - 31) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0;
    color: #ff6600;
}

.ticket-title p {
    font-size: 18px;
    line-height: 22px;
    margin: 0
}

.ticket-search-box {
    width: 100%;
    max-width: var(--ticket-w);
    padding-left: 32px;
    padding-right: 32px;
    margin: 10px auto;
    position: relative;
    z-index: 5;
}

.search-result-title {
    margin-bottom: 0;
}

.search-result-content {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    color: #595959;
}

.searchbox-wrap {
    position: relative;
    z-index: 1;
}

.breadcrumbs-search-results li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 14px;
}

.breadcrumbs-search-results li+li {
    margin-left: 10px;
    position: relative;
    color: #999;
}

.breadcrumbs-search-results li+li::before {
    content: "/";
    margin-right: 10px;
}

.ticket-search-box-background {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(11 11 11 / 1%);
}

#ticket-search {
    max-width: 780px;
    margin: 10px auto;
    outline: 2px solid transparent;
    transition: all 300ms ease-in-out;
    background-color: #fff;
    position: relative;
    z-index: 9;
    border-radius: 16px;
    border: 1px solid #E5E5E5;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.06);
}

.searchbox-wrap.selected #ticket-search {
    outline-color: rgba(255 255 255 / 20%);
}

.search-box-suggestion {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 8;
}

.search-box-suggestion-list {
    background-color: #fff;
    border: 2px solid var(--primary-lt);
    border-top: none;
    margin: 0;
    padding: 0;
    list-style: none;
    border-radius: 0 0 7px 7px;
    box-shadow: 0 6px 36px rgb(0 0 0 / 10%);
    max-height: 318px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.search-box-suggestion-item {
    display: block;
}

.search-box-suggestion-item a {
    display: block;
    padding: 10px 16px;
    cursor: pointer;
    user-select: none;
}

.search-box-suggestion-item.selected a {
    color: #470090;
    background-color: #ffffe0;
}

.search-box-suggestion-item+.search-box-suggestion-item {
    border-top: 1px solid rgba(11 11 11 / 8%);
}

.popular-articles-list {
    width: 100%;
    max-width: var(--ticket-w);
    margin: 0 auto;
    padding: 24px 32px 64px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 8px 32px;
    position: relative;
    z-index: 1;
}

.ticket-search-form {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.ticket-control-input {
    border: none;
    background-color: transparent;
    outline: none;
    font-size: 18px;
    font-weight: 500;
    width: 100%;
    line-height: 24px;
    padding: 16px 16px;
    transition: all 300ms ease-in-out;
}

.ticket-control-btn {
    border: none;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    min-width: 50px;
    color: #595959;
}

.ticket-container-inner {
    flex-direction: column;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    text-align: center;
    padding: 48px 16px;
    border-bottom: 1px solid #d1d1d1;
}

.ticket-container-inner::after {
    content: "";
    width: 100%;
    /* height: 300%; */
    display: block;
    background-color: #fef4ea;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.main-content~.topic-link-wrapper {
    margin-top: 32px;
    position: relative;
}

.popular-searchers {
    margin: 16px auto 0;
    font-weight: 500;
}

.popular-searchers-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    grid-gap: 6px;
    width: fit-content;
    margin: 0 0 0 10px;
}

.quick-link .searchers-title {
    grid-column-start: span 3;
}

.popular-searchers-item {
    padding: 4px 16px;
    border-radius: 32px;
    color: #fff;
    font-size: 14px;
    background-color: rgba(255 255 255 / 20%);
    display: block;
}

.popular-searchers {
    margin: 16px auto 0;
    font-weight: 500;
}

.popular-searchers-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    grid-gap: 6px;
    width: fit-content;
    margin: 0 0 0 10px;
}

.popular-articles-wrapper {
    padding-top: 32px;
}

.searchers-by-category {
    background-color: #fff;
    background: url('/modules/ticket/images/searchers/header_background.png') no-repeat;
    background-position: bottom center;
    background-size: cover;
    padding: 32px 24px 100px;
}

.popular-articles-item-link {
    position: relative;
}

.popular-articles-item-link {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px;
}

.search-result-link::after,
.search-result-link::before,
.popular-articles-item-link::after,
.popular-articles-item-link::before {
    content: "";
    opacity: 0;
    transition: all 300ms ease-in-out;
}

.search-result-link::after,
.popular-articles-item-link::after {
    width: 16px;
    height: 16px;
    display: block;
    background: url('/modules/ticket/images/searchers/arrow-right.svg') no-repeat;
}

.search-result-link::before,
.popular-articles-item-link::before {
    content: "";
    width: 106%;
    height: 140%;
    background-color: rgba(11 11 11 / 4%);
    position: absolute;
    border-radius: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.searchers-title {
    color: var(--primary);
    font-size: calc(25px + (35 - 25) * ((100vw - 300px) / (1920 - 300)));
    margin: 0 auto;
    text-align: center;
    font-weight: 500;
}

.topic-link-wrapper .topic-title {
    text-align: center;
}

.searchers-category-list {
    width: 100%;
    max-width: var(--ticket-w);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    list-style: none;
    margin: 24px auto;
    padding: 0 16px;
}

.searchers-category-item {
    border-radius: 13px;
    outline: 2px solid transparent;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(11 11 11 / 11%);
    position: relative;
    transition: all 250ms ease-in-out;
}

.searchers-category-item::after {
    content: "";
    padding-bottom: 80%;
    display: block;
}

.searchers-category-item,
.searchers-category-item-link {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.searchers-category-item-link {
    padding: 16px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.searchers-category-item-link img {
    width: 50px;
    height: 50px;
    transition: all 300ms ease-in-out;
}

.searchers-category-item-txt {
    text-align: center;
    font-weight: 500;
    color: var(--primary);
    margin-top: 12px;
}

.footer-button-group {
    margin: 10px auto;
    width: fit-content;
}

.footer-contact-btn,
.footer-submit-ticket-btn {
    outline: none;
    border: 2px solid #FF596F;
    background-color: #FF596F;
    border-radius: 3em;
    color: #fff;
    cursor: pointer;
    user-select: none;
    padding: 14px 8px;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    margin: 0 8px;
    min-width: 240px;
    font-weight: 500;
}

.footer-contact-btn {
    background-color: transparent;
    color: #FF596F;
}

.footer-submit-ticket-title {
    font-size: calc(25px + (35 - 25) * ((100vw - 300px) / (1920 - 300)));
    color: var(--primary);
    display: block;
    margin: 0 auto 10px;
}

.footer-contact-btn svg,
.footer-submit-ticket-btn svg {
    margin-right: 6px;
    width: 20px;
    height: 20px;
    min-width: 20px;
}

.ticket-container-inner-txt {
    font-weight: 400;
}

.ticket-container-inner small {
    font-size: 13px;
}

.pagination-wrap {
    margin-top: 32px;
}

.pagination-wrap .pagination {
    padding: 24px 0;
    width: 100%;
    max-width: var(--ticket-w);
    margin: 24px auto 0;
    border-top: 1px solid #d1d1d1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    grid-gap: 6px;
    list-style: none;
}

.pagination-wrap .page-item {
    display: block;
}

.pagination-wrap .page-link {
    border: 1px solid #d1d1d1;
    border-radius: 3px;
    padding: 3px;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.page-item.active .page-link {
    background-color: #fff;
    color: var(--secondary);
    border-color: var(--secondary);
}

.pagination-wrap .page-item.disabled .page-link {
    opacity: .45;
    cursor: not-allowed;
}

.pagination-wrap .page-item-nav .page-link {
    width: auto;
    padding: 3px 12px;
}

.pagination-wrap .pagination-summary {
    text-align: center;
    font-size: 13px;
    color: #6b6b6b;
    margin-bottom: 8px;
}

.pagination-wrap .pagination-total {
    color: #9b9b9b;
}

.pagination-wrap .page-item-gap .page-link {
    border: none;
    cursor: default;
}

.result-article.result-skeleton .search-result-link {
    display: block;
    cursor: default;
}

.result-skeleton .skeleton-title {
    height: 14px;
    width: 55%;
    margin-bottom: 10px;
}

.result-skeleton .skeleton-text {
    height: 10px;
    width: 100%;
    margin-bottom: 6px;
}

.result-skeleton .skeleton-text-short {
    width: 72%;
    margin-bottom: 0;
}

.ticket-result-wrapper {
    padding: 32px 16px;
}

.search-results-list {
    list-style: none;
    max-width: var(--ticket-w);
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
}

.search-result-link {
    position: relative;
    padding: 4px 34px 4px 4px;
    display: block;
}

.search-result-link::before {
    width: 102%;
}

.search-result-link::after {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.result-article {
    margin: 0;
    padding: 0;
}

.result-article+.result-article {
    margin-top: 16px;
}

.breadcrumbs-search-results {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.btn-hilight-color,
.button-simple {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    margin: 0;
    padding: 1rem 20px;
    border: none;
    border-radius: 32px;
    transition: background-color .25s ease-out, color .25s ease-out;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    outline: none;
    background-color: var(--pr-color-gray);
    color: #fff;
    font-weight: 500;
    min-width: 170px;
    max-height: 48px;
    font-size: var(--pr-font-size-body);
}

.btn-hilight-color {
    background-color: var(--pr-color-information-600);
    border: 1px solid var(--pr-color-information-600);
    color: #fff !important;
}

.button-simple {
    margin-right: 8px;
}

.content-tab .nav-tabs>li.active>a::after,
.content-tab .nav-tabs>li:hover>a::after {
    transform: scale(1);
}

.content-tab .nav-tabs>li>a::after {
    content: "";
    background: #006CBE;
    height: 4px;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -6px;
    transition: all 250ms ease 0s;
    transform: scale(0);
}

.empty-ticket {
    padding: 0 0;
    font-size: 14px;
    color: #6f6f6f;
    font-weight: 500;
    text-align: center;
}

.item-time span {
    color: var(--darkness);
    font-weight: 400;
    font-size: 14px;
}

.ticket-label {
    font-size: calc(var(--pr-font-size-display3) + (22 - 20) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 500;
    color: var(--pr-color-title);
    margin: 0 0 10px;
    user-select: none;
    justify-content: flex-start;
    user-select: none;
}

.ticket-label svg {
    margin-right: 8px;
    color: var(--secondary)
}

.note-warning {
    font-size: 13px;
    margin: 0 0 8px;
    color: var(--pr-color-warning-700);
    background: #fffce9;
    padding: 8px;
    border-radius: 5px;
    max-width: 600px;
}

.new-ticket-close {
    width: 36px;
    height: 36px;
    position: absolute;
    top: 8px;
    right: 8px;
    border-radius: 36px;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 19px;
    cursor: pointer;
    user-select: none;
    color: var(--pr-color-dark, #999);
}

.new-ticket-close:hover {
    color: var(--primary, #0a0a0a);
}

.ticket-item {
    position: relative;
    font-size: 16px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 12px 0;
    transition: var(--pr-trans-standard);
    cursor: pointer;
    border-bottom: 1px solid #ccc;
}

.ticket-item:first-child {
    border-top: 1px solid #ccc;
}

.item-user a {
    display: block;
    font-size: 14px;
    padding: 4px 0;
    color: #006CBE;
    line-height: 1
}

.item-user {
    width: 20%;
}

.item-subject {
    width: 30%;
    line-height: 1.3;
    user-select: none;
}

.item-ticket-right {
    width: 50%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-content: flex-end;
    grid-gap: 24px;
}

.item-ticket-right .item-time {
    font-size: 14px;
    white-space: nowrap;
}

.reply-form-site {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.reply-form-site .answer-name {
    white-space: nowrap;
}

.reply-form-site svg {
    width: 16px;
    min-width: 16px;
    height: 16px;
    margin-right: 6px;
    color: #ff7300;
}

.reply-form-site+.item-content {
    padding-left: 22px;
}

.reply-form-site strong {
    font-weight: 500;
}

.reply-form-site .answer-time {
    width: max-content;
    margin-left: auto;
    font-size: 14px;
}

.item-subject span {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 400;
    margin-bottom: 8px;
    cursor: pointer;
}

.item-subject small {
    font-size: 14px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.item-status span {
    min-width: 100px;
    padding: 6px 16px;
    border-radius: 24px;
    cursor: pointer;
    user-select: none;
}

.ticket-user {
    width: calc(100% - 48px);
    padding: 0 12px;
}

.user-email {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
}

.status-open,
.status-close,
.status-pending,
.status-solved {
    padding: 6px 12px;
    color: #fff;
    font-size: 14px;
    border-radius: 32px;
    min-width: 70px;
    text-align: center;
    display: inline-block;
    user-select: none;
}

.status-close {
    background-color: #dc3545;
}

.status-open {
    background-color: #007bff;
    background-color: #28a745;
}

.status-pending {
    background-color: #6c757d;
}

.status-solved {
    background-color: #1c7430;
}

.ticket-avata span {
    min-width: 40px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    user-select: none;
    background-color: #f1f1f1;
    color: #444;
    border-radius: 40px;
}

.item-ordercode {
    font-weight: 500;
    color: var(--pr-color-secondary);
    min-width: 150px;
    text-align: center;
}

.item-assignee {
    min-width: 150px;
    text-align: center;
}

.ticket-heading {
    font-weight: 500;
    background-color: #fff;
    position: sticky;
    top: 62px;
    left: 0;
    width: 100%;
    margin-bottom: 16px;
    z-index: 1;
    text-align: left;
}

.ticket-button {
    padding: 8px 12px;
    border: 2px solid transparent;
    background: none;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 32px;
    min-width: fit-content;
    min-width: -moz-fit-content;
    text-transform: capitalize;
    background-color: #f1f1f1;
    margin-right: 8px;
}

.ticket-button svg {
    margin-right: 7px;
}

.ticket-button:hover {
    color: #0d6efd;
}

.create-ticket {
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    color: var(--pr-color-information-600);
    line-height: 1;
    background-color: #fff;
    border: 1px solid var(--pr-color-information-600);
    min-width: 180px;
    text-align: center;
    transition: var(--pr-trans-standard);
    width: fit-content;
}

.create-ticket:hover {
    border-color: var(--pr-color-secondary);
    color: var(--pr-color-secondary);
}

.ticket-navigation {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    padding-bottom: 24px;
}

.pagination-list {
    margin-left: auto;
}

.pagination-list li {
    display: inline-block;
}

.pagination-list a {
    display: block;
    padding: 6px 12px;
    border-radius: 3px;
    background-color: #fff;
    color: #666;
}

[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
    display: none !important;
}

.load-animation[ng-cloak] {
    display: block !important;
    opacity: 0;
}

.pagination-list a:hover {
    color: #0d6efd;
}

.ticket-content {
    margin-bottom: 24px;
}

.new-ticket {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: flex-start;
    z-index: 143456789;
}

body:has(.new-ticket.show) {
    overflow: hidden;
}

.new-ticket.show {
    display: flex;
}

.new-ticket.show .new-ticket-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    background-color: rgba(11, 11, 11, 0.7);
    display: block;
}

.new-ticket-content {
    max-width: 600px;
    max-height: 92vh;
    width: 100%;
    margin: 4vh auto;
    background-color: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 8px 10px -5px rgb(0 0 0 / 20%), 0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 10%);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.request-form {
    max-height: 100%;
    overflow-y: auto;
}

.group-two-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 12px;
}

.request-form .form-control {
    display: block;
    width: 100%;
    padding: 10px 16px 10px;
    line-height: 1.2857143;
    background-color: var(--pr-color-white);
    background-image: none;
    border-radius: var(--pr-radius-small);
    border: var(--pr-size-border-width-small) solid var(--pr-color-neutral-100);
    transition: border 150ms ease-out;
    font-weight: 400 !important;
}

textarea {
    resize: none;
}

.product-variant-box,
.form-group {
    margin-bottom: 12px;
    position: relative;
}

.product-variant-box label:not(.ticket-file-selector) {
    font-weight: 400;
    display: block;
}

.product-variant-box .product-variant-heading,
.product-variant-heading {
    display: none !important;
}

.product-variant-box input,
.form-text-area textarea {
    border-radius: 5px;
    outline: 0;
    box-shadow: none;
}

.form-text-area textarea {
    border-width: 2px;
}

.product-variant-box input:focus,
.form-text-area textarea:focus {
    outline: 0;
    border-color: #a397e1;
}

.product-variant-box select.form-control {
    background-color: var(--white);
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%);
    background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%, calc(100% - var(--middle-padding));
    background-size: 5px 5px, 5px 5px, 1px calc(100% - var(--middle-padding));
    background-repeat: no-repeat;
}

.product-variant-box select.form-control:focus {
    background-image: linear-gradient(45deg, var(--primary-lt) 50%, transparent 50%), linear-gradient(135deg, transparent 50%, var(--primary-lt) 50%);
    background-position: calc(100% - 14px) 50%, calc(100% - 19px) 50%;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    outline: 0;
    border-color: var(--primary-lt);
}

.ticket-file-selector {
    align-items: stretch;
    cursor: pointer;
    border-radius: 5px;
}

.ticket-file-selector .select-images-note {
    padding: 0 0 0 var(--middle-padding);
    border: 2px solid var(--flash);
    border-right: none;
    border-radius: 7px 0 0 7px;
    width: 100%;
    text-align: left;
    justify-content: flex-start;
    transition: all 300ms ease-in-out;
}

#selectImagesButton {
    white-space: nowrap;
    border-radius: 0 8px 8px 0;
    padding: 14px 20px;
    background-color: var(--pr-color-information-600);
    outline: none;
    border: none;
    min-width: fit-content;
}

.small {
    margin: 0;
    display: block;
    padding: 8px;
    font-size: 14px;
}

.error {
    color: red;
    top: 0;
    right: 0;
    padding: 0;
}

[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
    display: none !important;
}

.ticket-filter-wrapper {
    position: relative;
}

.ticket-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    grid-gap: 12px;
}


.ticket-filter-item {
    padding: 8px 24px;
    display: block;
    cursor: pointer;
    user-select: none;
    position: relative;
    border: 1px solid #ccc;
    border-radius: 24px;
}

.ticket-filter-item.active {
    color: #f60;
    background: #fef1d3;
    border-color: #fef1d3;
    font-weight: 600;
}

.ticket-filter-current {
    border-radius: 32px;
    background-color: var(--light);
    padding: 8px 24px;
    cursor: pointer;
    user-select: none;
    min-width: 160px;
    text-align: center;
}

.breadcrumb {
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.breadcrumb li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.back-filter-list span {
    cursor: pointer;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.back-filter-list svg {
    margin-right: 6px;
}

.ticket-filter-current::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-radius: 3px;
    border-top: 6px solid var(--dark);
    margin-left: 6px;
}

.ticket-filter-item.disable,
.ticket-filter-item.disable:hover {
    color: var(--dark);
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
}

.ticket-filter-item.article {
    color: var(--primary);
    cursor: default;
}

.ticket-detail {
    margin-top: 12px;
    margin-bottom: 24px;
}

/* ticket details */
.question {
    padding: 12px 0;
    width: 100%;
    background: #fff;
    margin-bottom: 12px;
}

.question-head {
    font-weight: 500;
    font-size: 1.4rem;
}

.ticket-content-wrapper {
    display: grid;
    grid-template-areas: 'tSidebar tList';
    grid-template-columns: 350px calc(100% - 382px);
    grid-gap: 32px;
    align-items: flex-start;
}

.ticket-status-wrapper {
    background: #FAFAFA;
    padding: 16px;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 32px;
    grid-area: tSidebar;
}

.list-answer {
    grid-area: tList;
}

.ticket-status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 8px;
    border-bottom: 1px solid #E4E4E4;
}

.ticket-status-item:last-child {
    border-bottom: none;
}

.ticket-status-item.ticket-id span {
    font-weight: 500;
}

.ticket-status .label-close {
    padding: 3px 16px;
    border-radius: 12px;
    background-color: #dc3545;
    color: #fff;
    font-size: 14px;
}

.ticket-status .label-open {
    padding: 3px 16px;
    border-radius: 12px;
    background-color: #28a745;
    color: #fff;
    font-size: 14px;
}

.ticket-status-item.ticket-product span {
    font-weight: 500;
    color: var(--pr-color-secondary);
}

.ticket-status-item span {
    display: block;
    font-weight: 400;
    text-transform: capitalize;
}

.ticket-status-item.ticket-id span {
    font-weight: 500;
}

.ticket-item-content .question-title {
    font-weight: 500;
    margin-bottom: 4px;
}

.child-question-item+.child-question-item {
    margin-top: 24px;
    border-top: 1px dashed #d1d1d1;
    padding-top: 24px;
}

.child-answer-item {
    margin: 12px 0 0;
    position: relative;
    background-color: #f8f8f8;
    padding: 12px 24px 12px 12px;
    border-radius: 7px;
}

.child-answer-item .ticket-item-content {
    padding: 0;
    width: 100%;
}

.answer-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.answer-item+.answer-item.child-question-item {
    margin-top: 16px;
    padding-top: 16px
}

.ticket-item-avatar {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    font-weight: 500;
    background-color: #ff6600;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
    flex-shrink: 0;
}

.item-answer-user {
    display: flex;
    grid-gap: 8px;
    margin: 8px 0;
}

.printerval-avatar img {
    width: 30px;
    height: 30px;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.customer-avatar {
    background: #f1f1f1;
    font-size: 16px;
    color: #444;
    line-height: 1;
    font-weight: 500;
}

.ticket-item-content {
    width: calc(100% - 80px);
}

.child-question-item:last-child {
    padding-bottom: 0;
    margin-bottom: 24px;
}

.answer-name,
.question .item-user {
    font-weight: 400;
    color: var(--black);
}

.answer-email {
    white-space: nowrap;
    font-weight: 500;
}

.answer-time,
.question .item-time {
    font-size: 16px;
    width: 100%;
    max-width: 100%;
}

.answer-time {
    margin: 0 10px;
}

.item-content {
    font-size: 1rem;
    color: var(--darkness);
    font-weight: 400;
}

.item-content>* {
    margin: 12px 0;
}

.item-content>*:last-child {
    margin-bottom: 0;
}

.answer-item img {
    max-width: 400px;
    height: auto;
    width: 100%;
}

.question-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    min-width: 60px;
    height: 60px;
    border-radius: 40px;
    font-weight: 500;
    margin: 0 8px 0 0;
    background-color: var(--light);
    color: var(--black);
    overflow: hidden;
}

.question-avatar+.question-content {
    width: calc(100% - 60px);
    padding-left: 1rem;
    position: relative;
}

.question-content {
    width: 100%;
    position: relative;
}

.question-content .item-time {
    margin-left: 6px;
    font-size: 0.9rem;
}

.question-content .item-user {
    width: 100%;
}

.answer-wrapper {
    border: 1px solid transparent;
    padding: 15px;
    border-radius: 4px;
    margin-top: 2rem;
}

.answer-wrapper.active {
    background: #F0F9FF;
    padding: 48px 0;
    position: relative;
}

.answer-wrapper.active .ticket-file-selector {
    background: #fff;
    align-items: stretch;
}

.answer-wrapper.active #selectImagesButton {
    margin: 0;
    border-radius: 0 var(--pr-radius-small) var(--pr-radius-small) 0;
    background-color: var(--pr-color-information-600);
    border-color: var(--pr-color-gray);
    line-height: 52px;
    padding: 0 16px;
    text-align: center;
}

.question-heading {
    font-weight: 500;
    display: none;
    border-color: transparent;
    color: #333;
    border-radius: 48px;
    padding: 8px 16px;
    font-size: 19px;
    cursor: default;
    user-select: none;
}

.question-buton {
    font-weight: 400;
    display: inline-flex;
    border-color: #0d6efd;
    background-color: #0d6efd;
    color: #fff;
    border-radius: 48px;
    padding: 8px 16px;
    font-size: 17px;
    cursor: pointer;
    user-select: none;
}

.question-buton:hover {
    background-color: #1e80b8;
}

.answer-wrapper.active .question-buton {
    display: none;
}

.answer-wrapper.active .question-heading {
    display: inline-block;
    text-align: center;
    font-weight: 500;
    color: var(--pr-color-primary);
    font-size: 24px;
}

.ticket-images {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-gap: 8px;
    margin-bottom: 6px;
}

.img-item {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    transition: all 300ms ease-in-out;
}

.img-item.active-box .image-box {
    position: relative;
    z-index: 13;
}

.img-item.active-box .image-close-box {
    height: 100%;
    width: 100%;
    display: block;
    background: rgba(11, 11, 11, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 12;
}

#recaptchaElement {
    margin-bottom: 16px;
}

.img-item::before {
    content: "";
    padding-top: 100%;
    display: block;
}

.img-item img {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--pr-trans-standard);
}

.img-item span {
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    color: var(--pr-color-white);
    background: var(--pr-color-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.answer-wrapper .button {
    border-radius: 6px;
    margin-right: 8px;
    padding-left: 16px;
    padding-right: 16px;
    min-width: 110px;
    background-color: var(--pr-color-information-600);
}

.answer-wrapper .button:hover {
    background-color: var(--pr-color-secondary);
}

.customer-question-wrapper {
    display: none;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.customer-question-wrapper small {
    margin-bottom: 5px;
}

.close-ticket-btn {
    background: #dc3545;
    padding: 8px 16px;
    border: none;
    outline: 0;
    cursor: pointer;
    user-select: none;
    position: absolute;
    top: 6px;
    right: 0;
    color: #fff;
    border-radius: 48px;
    transition: var(--trans)
}

.close-ticket-btn:not(.status-closed):hover {
    background-color: #b92230
}

.status-closed {
    background-color: #fff;
    color: var(--primary);
    cursor: default;
}

#close-wrapper {
    position: fixed;
    bottom: 48px;
    right: 36px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 6px 24px rgba(11 11 11 / 18%);
    z-index: 99;
    padding: 12px 16px;
}

.question-heading.status-closed {
    pointer-events: none;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
    line-height: 1;
    color: #f00
}

.question-heading.status-closed svg {
    margin-right: 8px;
}

.question-heading.status-closed small {
    display: block;
    padding: 4px 0;
    color: #575757;
    font-weight: 400;
}

#toast-container {
    z-index: 2147483647;
}

.quick-link-wrapper {
    background-color: transparent;
    background: url('/modules/ticket/images/searchers/white_overlay_waves.svg') no-repeat;
    background-position: top center;
    background-size: cover;
    padding-top: 120px;
}

.any-tickets {
    padding: 32px 0;
    background-color: #f7f7f7;
}

.any-tickets p {
    font-size: 21px;
    color: #595959;
    letter-spacing: 1px;
}

.quick-link-list {
    width: 100%;
    max-width: var(--ticket-w);
    margin: 48px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    position: relative;
    z-index: 1;
}

.quick-link-block {
    background-color: #FFF;
    color: var(--pr-color-primary);
    border-radius: 5px;
    width: 100%;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    grid-gap: 16px;
    box-shadow: 0 4px 12px rgba(11 11 11 / 11%);
    position: relative;
    z-index: 2;
}

.quick-link-block:hover {
    box-shadow: var(--pr-shadow-500);
}

#recaptchaElement.error>div {
    border: 1px solid red;
}

.link-title {
    color: #006CBE;
}

.ticket-pagination-list {
    display: flex;
    margin: 0 0 0 auto;
    justify-content: end;
    align-items: center;
}

.btn-create-ticket {
    padding: 10px 16px;
    background-color: violet;
    color: #fff;
}

.ticket-pagination-item {
    display: block;
    margin: 0 6px;
}

.ticket-pagination-item span {
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #f8f8f8;
    user-select: none;
}

.ticket-pagination-item:hover span {
    color: #ff6600;
}

.pagination-disable {
    pointer-events: none;
}

.pagination-disable span {
    background-color: transparent;
}

.ticket-pagination-item.active span {
    background-color: transparent;
    color: #ff6600;
    cursor: default;
}

.action-button button {
    border-radius: 6px;
    padding: 12px 20px;
}

.ticket-search-info {
    width: 100%;
    max-width: 780px;
    position: absolute;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 0 0 16px 16px;
    border: 1px solid var(--Orange-600, #F60);
    box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.11);
    padding: 24px 16px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 300ms ease-in-out;
}

.searchbox-wrap.selected .ticket-search-info {
    opacity: 1;
    visibility: visible;
}

.searchbox-wrap.selected #ticket-search {
    border-color: #F60;
    border-radius: 16px 16px 0 0;
}

.ticket-search-title {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 16px;
}

.ticket-search-article-item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 24px;
    grid-gap: 10px;
    text-align: left;
    align-items: center;
    font-size: 16px;
    color: #404040;
}

.ticket-search-article-item:hover {
    color: var(--secondary);
}

.ticket-search-article-item+.ticket-search-article-item {
    margin-top: 14px;
}

.ticket-search-article-item>span {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.ticket-search-ai-txt {
    color: #262626;
    text-align: left;
    margin-bottom: 14px;
}

.ticket-search-info-right {
    border-radius: 7px;
    background: #F8F4FD;
    padding: 24px 16px;
}

.ticket-search-info-right .ticket-search-title {
    margin-bottom: 12px;
}

.ticket-search-ai-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 10px;
    background: #F60;
    color: #fff;
    border: 0;
    border-radius: 7px;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    padding: 10px;
    cursor: pointer;
}

.ticket-search-ai-note {
    color: #737373;
    text-align: center;
    font-size: 14px;
    margin-top: 8px;
}

.ticket-search-ai-btn:hover {
    opacity: 0.9;
}

body:has(#close-wrapper) #product-viewed-content,
body:has(#close-wrapper) .subscribe-wrapper,
body:has(#close-wrapper) .site-footer {
    z-index: 0;
}

.show-rating-modal #main-header {
    z-index: 1 !important;
}

.show-rating-modal #product-viewed-content,
.show-rating-modal .subscribe-wrapper,
.show-rating-modal .site-footer {
    z-index: 0;
    position: relative;
}

@media (min-width: 768px) and (max-width: 1366px) {
    .ticket-title::after {
        padding-top: 25%;
    }
}

@media (max-width: 998px) {
    .ticket-user {
        width: 100%;
        white-space: nowrap;
        padding-left: 0;
    }

    .packing-image {
        opacity: 0.5;
    }

    .item-ordercode {
        min-width: 0;
    }

    .item-status span {
        min-width: 0;
    }

    .item-assignee {
        min-width: 0;
    }

    .item-time {
        text-align: right;
    }

    .answer-wrapper.active .site-w {
        position: relative;
        z-index: 2;
    }

    .ticket-content-wrapper {
        grid-template-columns: 300px calc(100% - 332px);
    }
}

@media (max-width: 780px) {
    .item-assignee {
        display: none;
    }

    .group-two-row {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 0;
    }

    .action-button {
        justify-content: space-between;
    }

    .btn-hilight-color,
    .button-simple {
        min-width: calc(50% - 12px);
    }
}

@media (min-width: 760px) {
    .searchers-category-item-link:hover img.text-primary.fill-current {
        filter: brightness(1) invert(1);
    }

    .search-box-suggestion-item a:hover {
        color: #470090;
        background-color: rgba(11 11 11 / 2%);
    }

    .ticket-control-btn:hover {
        color: var(--primary);
    }

    .popular-searchers-item:hover {
        color: #fff;
        background-color: rgba(255 255 255 / 10%);
    }

    .search-result-link:hover::after,
    .search-result-link:hover::before,
    .popular-articles-item-link:hover::after,
    .popular-articles-item-link:hover::before {
        opacity: 1;
    }

    .searchers-category-item:hover {
        outline-color: var(--primary-lt);
        border-color: transparent;
        box-shadow: none;
    }

    .footer-submit-ticket-btn:hover {
        background-color: #e2404b;
        border-color: #e2404b;
    }

    .footer-contact-btn:hover {
        border-color: #e2404b;
        color: #e2404b;
    }

    .btn-hilight-color:hover,
    .button-simple-2:hover,
    .button-simple:hover {
        opacity: 0.7;
    }

    .ticket-content .item-subject:hover span {
        color: #006CBE;
    }

    .form-text-area:hover textarea {
        border-color: var(--pr-color-information-600);
    }

    .ticket-file-selector:hover .select-images-note {
        border-color: var(--pr-color-information-600);
        padding-left: 20px;
        color: var(--pr-color-information-600);
    }

    .ticket-filter-wrapper:hover .ticket-filter-current::after {
        transform: rotate(180deg);
    }

    .ticket-filter-item:hover {
        color: var(--secondary);
        border-color: #fef1d3;
        background-color: #fef1d3;
    }

    .view-ticket-small {
        display: none !important;
    }
}

@media (max-width: 760px) {
    #ticket-wrapper {
        border-top: 1px solid #d1d1d1;
    }

    .item-ordercode {
        display: none;
    }

    .ticket-title {
        flex-wrap: wrap;
    }

    .ticket-title::after {
        padding-bottom: 50%;
    }

    .quick-link {
        grid-template-columns: repeat(1, 1fr);
        position: relative;
        margin-top: 16px;
        margin-bottom: 24px;
        transform: none;
    }

    .searchers-category-list {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
    }

    .searchers-category-item-link img {
        width: 40px;
        height: 40px;
    }

    .popular-articles-list,
    .quick-link-list {
        padding-left: 16px;
        padding-right: 16px;
    }

    .popular-articles-list,
    .quick-link-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .searchers-by-category {
        padding-top: 24px;
    }

    .ticket-title p {
        font-size: 16px;
    }

    .packing-image {
        display: none;
    }

    .ticket-id {
        display: none;
    }

    body:has(.new-ticket.show) #main-header {
        z-index: 1;
    }

    .new-ticket-content {
        width: 100%;
        bottom: 0;
        top: auto;
        margin: 0;
        position: fixed;
        z-index: 999;
        border-radius: 21px 21px 0 0;
    }

    .ticket-images {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .ticket-item .item-time {
        max-width: 100%;
        width: fit-content;
        margin: 0px;
        font-size: 12px;
        text-align: center;
        justify-content: center;
    }

    .item-status {
        padding-right: 0;
    }

    .ticket-content .ticket-item {
        flex-wrap: wrap;
        font-size: 15px;
        padding: 12px 16px;
    }

    .item-ticket-right {
        width: 100%;
        grid-gap: 8px;
        justify-content: space-between;
        grid-template-columns: repeat(2, 1fr);
    }

    .item-user {
        width: 40%;
        padding-bottom: 5px;
    }

    .item-ordercode {
        padding-right: 16px;
        min-width: 0;
    }

    .item-subject {
        width: 60%;
        text-align: right;
        padding: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

    .item-status span {
        min-width: 0;
        padding: 3px 16px;
        border-radius: 12px;
    }

    .item-time {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .item-time svg {
        margin-right: 8px;
    }

    .item-status {
        margin-left: auto;
        text-align: center;
        order: 3;
    }

    .pagination-list {
        display: none;
    }

    .ticket-heading {
        top: 50px
    }

    .view-ticket-large {
        display: none !important;
    }

    .view-ticket-small {
        margin-left: auto;
        font-weight: 500;
        font-size: 14px;
        margin-left: auto;
        font-weight: 500;
        font-size: 14px;
        padding: 8px 4px 4px;
        color: #007bff
    }

    .list-answer .ticket-images {
        grid-template-columns: repeat(3, 1fr);
        overflow-x: auto;
        overflow-y: hidden;
    }

    .question {
        margin: 0 -16px 12px -16px;
        width: auto;
        padding: 0 12px 12px 12px;
    }

    .list-answer .ticket-images .img-item {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .list-answer .ticket-images .img-item:nth-of-type(2),
    .list-answer .ticket-images .img-item:nth-of-type(4),
    .list-answer .ticket-images .img-item:nth-of-type(5) {
        margin-right: 0;
    }

    .list-answer .ticket-images .img-item:nth-of-type(5) {
        width: 100%;
    }

    .customer-question-wrapper .error {
        top: -24px;
        left: 0;
        right: auto;
    }

    .customer-question-wrapper .ticket-images {
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
    }

    .list-answer .item-answer-user {
        flex-wrap: wrap;
    }

    .list-answer .answer-time {
        margin: 0 0 0 auto !important;
        width: auto;
    }

    #selectImagesButton {
        min-width: 1px;
    }

    .customer-question-wrapper {
        max-width: calc(100vw - 60px);
    }

    .ticket-item-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .printerval-avatar img {
        width: 24px;
        height: 24px;
    }

    .ticket-content-wrapper {
        display: block;
    }

    .ticket-status-wrapper {
        position: relative;
        top: 0;
        grid-area: tSidebar;
        margin-bottom: 32px;
    }

    .ticket-navigation {
        flex-direction: column;
        grid-gap: 12px;
    }

    .ticket-search-box {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ticket-control-input {
        font-size: 16px;
    }

    .footer-button-group {
        flex-wrap: wrap;
    }

    .footer-button-group>* {
        width: 90%;
        margin: 8px auto;
    }

    .ticket-search-info {
        grid-template-columns: 1fr;
        padding: 16px;
        grid-gap: 16px;
    }

    .ticket-search-info-right {
        padding: 16px;
    }

    .ticket-title .hero2 {
        max-width: 330px;
    }
}

@media (min-width: 760px) {
    .ticket-item-content .img-item:hover img {
        transform: scale(1.3) translate(-40%, -40%);
    }
}

.other-country .myTicketContent {
    background-color: transparent;
}

.other-country .ticket-title::after {
    padding-bottom: 20%;
}

.other-country .content-header-ticket {
    text-align: center;
    color: #111;
    ;
}

.other-country.ticket-title::after {
    padding-bottom: 20%;
}

.other-country .content-header-ticket *+* {
    margin-top: 10px;
}

.other-country strong {
    font-weight: 600;
    font-size: 23px;
}

.quick-link-for-other-country {
    max-width: 1024px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    /* margin âm cũ (-30px) vẽ cho bố cục khối này nằm ngay dưới hero; từ khi có
       thẻ "Help with an order" và "Browse by topic" ở trên thì nó đè lên thẻ */
    margin: 0 auto 28px;
}

.myTicketContent .quick-link-for-other-country {
    margin: 0 auto;
}

.other-country small {
    color: #f00;
    display: block;
    border-radius: 5px;
    background-color: rgba(255 255 255 / 22%);
    padding: 4px 12px;
}

.other-country .any-tickets {
    background-color: transparent;
}

.other-country .ticket-container-inner {
    border: none;
    padding-top: 24px;
    padding-bottom: 24px;
}

.other-country .ticket-container-inner::after {
    display: none;
}

@media (max-width: 760px) {
    .quick-link-for-other-country {
        grid-template-columns: repeat(1, 1fr);
        padding: 16px;
    }

    .other-country .ticket-title::after {
        padding-bottom: 75%;
    }

    .other-country .hero-dot {
        display: none;
    }
}

@media (min-width: 760px) and (max-width: 900px) {
    .quick-link-for-other-country {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px 16px;
    }

    .quick-link-for-other-country .quick-link-block:last-child {
        grid-column-start: span 2;
    }
}

.feedback-btn:hover {
    background-color: #fff7ed;
    border-color: #ff6600;
    color: #ff6600;
}

.feedback-btn.selected {
    background-color: #fff7ed;
    border-color: #ff6600;
    color: #ff6600;
    font-weight: 600;
}

.ai-need-more-help {
    font-size: 14px;
    color: #64748b;
}

.create-ticket-link {
    color: #ff6600;
    font-weight: 600;
    margin-left: 6px;
    text-decoration: underline;
}

.create-ticket-link:hover {
    color: #cc5200;
}

/* Floating AI Chat Widget Popup Styling */
.ticket-ai-chatbox-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    width: 380px;
    max-width: calc(100vw - 32px);
    font-family: inherit;
    text-align: left;
}

.ai-chatbox-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 540px;
    max-height: calc(100vh - 100px);
    animation: chatboxSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes chatboxSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ai-chatbox-header {
    background: #ff4d15;
    color: #ffffff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(255, 77, 21, 0.15);
}

.ai-chatbox-header .header-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-avatar-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.ai-chatbox-header .chat-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbox-header-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    opacity: 0.9;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbox-header-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}

.ai-chatbox-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 14px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.ai-chatbox-body::-webkit-scrollbar {
    display: none;
}

.chat-message-item {
    display: flex;
    max-width: 88%;
    animation: messageAppear 0.25s ease-out;
}

@keyframes messageAppear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message-item.ai-msg {
    align-self: flex-start;
}

.chat-message-item.user-msg {
    align-self: flex-end;
}

.msg-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    max-width: 100%;
}

.user-msg .msg-content-wrapper {
    align-items: flex-end;
}

.msg-content {
    background: #ffffff;
    padding: 11px 15px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.55;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    position: relative;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
}

.user-msg .msg-content {
    background: linear-gradient(135deg, #ff6600 0%, #ff4d15 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 3px 10px rgba(255, 102, 0, 0.2);
}

.msg-text-body {
    word-break: break-word;
    overflow-wrap: break-word;
}

.msg-text-body a,
.ai-answer-text a,
.chat-message-item a {
    color: #ff6600;
    text-decoration: underline;
    font-weight: 500;
    word-break: break-all;
    transition: color 0.2s ease;
}

.msg-text-body a:hover,
.ai-answer-text a:hover,
.chat-message-item a:hover {
    color: #e05500;
    text-decoration: underline;
}

.user-msg .msg-text-body a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.user-msg .msg-text-body a:hover {
    color: #fff3eb;
}

.msg-text-body p {
    margin: 0 0 6px 0;
}

.msg-text-body p:last-child {
    margin-bottom: 0;
}

.msg-text-body ul, .msg-text-body ol {
    margin: 6px 0;
    padding-left: 18px;
}

.msg-text-body pre {
    white-space: pre-wrap;
    word-break: break-all;
    max-width: 100%;
    overflow-x: auto;
    background: #f1f5f9;
    padding: 8px;
    border-radius: 6px;
}

.msg-text-body code {
    white-space: pre-wrap;
    word-break: break-all;
    background: #f1f5f9;
    padding: 2px 4px;
    border-radius: 4px;
    font-family: monospace;
}

.user-msg .msg-text-body code, .user-msg .msg-text-body pre {
    background: rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.msg-time {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    margin-top: 5px;
    text-align: right;
}

.user-msg .msg-time {
    color: rgba(255, 255, 255, 0.85);
}

.msg-audio-action {
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
    padding: 2px 4px;
    display: inline-flex;
    align-items: center;
}

.msg-audio-action:hover {
    color: #ff6600;
}

.loading-content {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 18px;
    min-height: 38px;
}

.typing-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #ff6600;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.3); opacity: 0.4; }
    40% { transform: scale(1.0); opacity: 1; }
}

/* Suggestion Chips styling */
.ai-chatbox-suggestions-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    width: 100%;
}

.ai-suggestion-chip {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    text-align: left;
    max-width: 100%;
}

.ai-suggestion-chip:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.ai-chatbox-footer {
    padding: 12px 16px 8px 16px;
    background: #f8fafc;
}

.chat-input-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease-in-out;
}

.chat-input-card:focus-within {
    border-color: #ff4d15;
    box-shadow: 0 4px 16px rgba(255, 77, 21, 0.1);
}

.chat-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #334155;
}

.chat-action-btn {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.chat-action-btn:hover {
    opacity: 0.8;
}

.chat-footer-right-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-submit-action-btn {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.chat-submit-action-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.chat-submit-action-btn:not(:disabled):hover {
    transform: scale(1.1);
}

.chat-powered-by {
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 8px;
    font-weight: 500;
}

/* Chat Image Upload & Message Previews */
.chat-uploaded-images-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    padding: 4px;
}

.img-preview-item {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.img-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    background: rgba(15, 23, 42, 0.6);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s;
}

.img-preview-remove:hover {
    background: rgba(239, 68, 68, 0.9);
}

.chat-message-images {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.chat-msg-img-item {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.3);
    cursor: pointer;
    transition: transform 0.2s;
}

.chat-msg-img-item:hover {
    transform: scale(1.05);
}

.chat-msg-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* AI Answer Item */
.ai-answer-item-collapsible .search-result-link {
    padding: 4px 34px 4px 4px;
    transition: all 0.2s ease-in-out;
}

/* Hide link background overlay & arrow for AI answer item */
.ai-answer-item-collapsible .search-result-link::before,
.ai-answer-item-collapsible .search-result-link::after {
    display: none !important;
}

.ai-answer-badge {
    display: inline-block;
    background: #4a6cf7;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 3.5px 7px;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: middle;
}

.expanded-ai-content {
    color: #334155;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    display: block;
}

.ai-answer-text {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    margin-top: 10px;
    user-select: text; /* Allow text selection */
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Source references inside expanded view */
.ai-answer-item-collapsible .ai-sources-section {
    border-top: 1px dashed #e2e8f0;
    padding-top: 12px;
    margin-top: 12px;
}

.ai-answer-item-collapsible .ai-sources-title {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.ai-answer-item-collapsible .ai-sources-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-answer-item-collapsible .ai-source-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 14px;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.ai-answer-item-collapsible .ai-source-pill:hover {
    border-color: #3b82f6;
    color: #2563eb;
    background: #eff6ff;
}

.ai-answer-item-collapsible .ai-source-pill .source-index {
    background: #f1f5f9;
    color: #475569;
    width: 14px;
    height: 14px;
    font-size: 9px;
    font-weight: 700;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ai-answer-item-collapsible .ai-source-pill .source-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 150px;
}

/* Collapse action inside ticket */
.collapse-action-btn {
    background: transparent;
    border: 1px solid #cbd5e1;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #64748b;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.collapse-action-btn:hover {
    background: #f1f5f9;
    color: #334155;
    border-color: #94a3b8;
}

/* Pulse animation for loader badge */
.ai-header-badge.loading-pulse {
    animation: pulseGlow 1.5s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Shimmer animation for skeleton */
.ai-skeleton-line {
    height: 10px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@media (max-width: 767px) {
    .ticket-ai-chatbox-wrapper {
        left: 50%;
        transform: translateX(-50%);
        right: unset;
    }
}
/* ===== Customer Service: 6 chủ đề (bước 2 gom một cửa) ===== */
.support-topic-box {
    width: 100%;
    max-width: var(--ticket-w);
    margin: 0 auto 28px;
    padding: 24px;
    background-color: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
}

.support-box-title {
    color: var(--primary);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 6px;
}

.support-box-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 16px;
}





.support-topic-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.support-topic-link {
    display: block;
    padding: 14px 16px;
    border: 1px solid #ececec;
    border-radius: 6px;
    color: var(--primary);
    font-size: 15px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.support-topic-link:hover {
    border-color: #FF596F;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    color: #FF596F;
}

.ai-followup-row {
    margin-top: 12px;
}

.ai-followup-btn {
    outline: none;
    border: 1px solid #FF596F;
    background-color: transparent;
    border-radius: 3em;
    color: #FF596F;
    cursor: pointer;
    padding: 8px 18px;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
}

.ai-followup-btn:hover {
    background-color: #FF596F;
    color: #fff;
}

.ticket-footer-note {
    max-width: 700px;
    color: #666;
}

@media (max-width: 767px) {
    .support-topic-list {
        grid-template-columns: 1fr;
    }

    .support-topic-box {
        padding: 18px;
        border: 0;
        margin-bottom: 0;
    }
}

.search-still-need-help {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 8px;
    padding: 16px 0 4px;
    font-size: 15px;
    color: #666;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
}

.search-contact-link {
    color: #FF596F;
    font-weight: 500;
}

.search-contact-link:hover {
    text-decoration: underline;
}
