/*#region common */
.ht-page {
    padding: 0;
}

.home-page {
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.42857143;
    color: #181D27;
}

.home-page .ht-container, .home-page .container {
    max-width: 1310px;
    width: 100%;
}

.home-page a {
    color: inherit;
    text-decoration: none;
}

.nowrap {
    white-space: nowrap;
}

.section-p {
    padding: 50px 0;
}

.text-bold {
    font-family: Inter Bold, Arial, sans-serif;
}

.text-semibold {
    font-family: Inter SemiBold, Arial, sans-serif;
}

.text-center {
    text-align: center;
}

.default-title {
    font-family: Inter SemiBold, Arial, sans-serif;
    font-size: 36px;
    text-align: center;
}

@media (max-width: 979px) {
    .default-title {
        font-size: 28px;
    }

    .section-p {
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    .default-title {
        font-size: 24px;
    }

    .section-p {
        padding: 30px 0;
    }
}

/*#endregion */

/*#region agent-search*/
.site-header__search {
    display: none;
}

.agent-search {
    padding: 0;
    background: url('/amis-kho-hang/sites/help/images/pages/front-page/bg-header.webp') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.agent-search-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px 60px;
    max-width: 1040px;
    margin: 0 auto;
    text-align: center;
}

.agent-search-avatar img {
    width: 50%;
    margin-bottom: 22px;
}

.agent-search-title {
    font-family: 'Inter Bold', sans-serif;
    font-size: 42px;
    color: #fff;
    margin: 0 0 28px;
    line-height: 54px;
}

.agent-search-box {
    width: 100%;
    max-width: 930px;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0px 2px 20px 0px rgba(131, 43, 255, 0.24);
    background-image: linear-gradient(#fff, #fff),
        linear-gradient(97.76deg, #50BEFF 8.87%, #EE5DFF 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 3px solid transparent;
}

.agent-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 16px;
    flex-shrink: 0;
    pointer-events: none;
}

.agent-search-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.agent-search-form {
    display: flex;
    align-items: center;
    flex: 1;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

input.agent-search-input {
    flex: 1;
    background: transparent;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 16px;
    color: #1F1F1F;
    padding: 18px 16px 18px 8px !important;
    border-radius: 50px !important;
    min-width: 0;
    line-height: 20px;
}

.agent-search-input::placeholder {
    color: #9DA2AC;
    font-size: 16px;
}

.agent-search-btn {
    display: none;
}

@media (max-width: 979px) {
    .agent-search-title {
        font-size: 24px;
    }

    .agent-search-inner {
        padding: 40px 20px 48px;
    }
}

@media (max-width: 767px) {
    .agent-search {
        min-height: unset;
    }

    .agent-search-title {
        font-size: 22px;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .agent-search-inner {
        padding: 36px 16px 40px;
    }

    .agent-search-avatar {
        width: 64px;
        height: 64px;
        margin-bottom: 24px;
    }

    .agent-search-avatar img {
        width: 100%;
        height: 100%;
    }

    .agent-search-input {
        font-size: 14px;
        padding: 12px 12px 12px 10px;
    }

    .agent-search-icon img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 479px) {
    .agent-search-title {
        font-size: 18px;
    }
}

/*#endregion*/

/*#region agent-banner*/
.agent-banner {
    background: url(/amis-kho-hang/sites/help/images/pages/front-page/bg-agent-banner.webp) center center / cover no-repeat;
    padding: 64px 0;
}

.agent-banner-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.agent-banner-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-text {
    color: #1F1F1F;
    font-size: 32px;
    font-family: 'Inter SemiBold';
}

.title-highlight {
    font-size: 32px;
    font-family: 'Inter SemiBold';
    background: linear-gradient(97.76deg, #1482FF 8.87%, #CF11FF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #245FDF;
    color: #245FDF !important;
    font-size: 14px;
    font-family: 'Inter Medium';
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
}

.agent-banner-stats {
    display: flex;
    align-items: center;
    gap: 48px;
}

.stats-label {
    color: #1F1F1F;
    font-size: 32px;
    font-family: 'Inter SemiBold';
    white-space: nowrap;
}

.stats-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.stats-number {
    color: #3794FF;
    font-size: 64px;
    font-family: 'Inter ExtraBold';
    background: linear-gradient(97.76deg, #3794FF 8.87%, #D52BFF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-desc {
    color: #1F1F1F;
    font-size: 24px;
    font-family: 'Inter';
    width: max-content;
}

@media (max-width: 979px) {
    .agent-banner-top {
        flex-direction: column;
        align-items: center;
    }

    .agent-banner-title {
        text-align: center;
    }

    .agent-banner-stats {
        gap: 24px;
        width: 100%;
    }

    .stats-label {
        font-size: 22px;
    }

    .stats-number {
        font-size: 40px;
    }

    .stats-desc {
        font-size: 18px;
        width: auto;
    }
}

@media (max-width: 767px) {
    .agent-banner {
        padding: 40px 0;
    }

    .agent-banner-title, .title-text, .title-highlight {
        font-size: 24px;
    }

    .agent-banner-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        text-align: center;
    }
}

/*#endregion*/

/*#region agent-overview*/
.agent-overview {
    padding: 64px 0;
}

.agent-overview-inner {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.overview-card {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.overview-card-image {
    width: 100%;
    aspect-ratio: 296/200;
    border-radius: 12px;
    box-shadow: 0 0 32px 0 #D5DEF4;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.overview-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.overview-card:hover .overview-card-image {
    transform: translateY(-8px);
}

.overview-card-title {
    font-family: 'Inter SemiBold', Arial, sans-serif;
    font-size: 20px;
    line-height: 28px;
    color: #181D27;
    text-align: center;
}

@media (max-width: 979px) {
    .agent-overview-inner {
        flex-wrap: wrap;
    }

    .overview-card {
        flex: 0 0 calc(50% - 16px);
    }
}

@media (max-width: 767px) {
    .agent-overview {
        padding: 40px 0;
    }

    .overview-card {
        flex: 1 1 100%;
    }

    .overview-card-title {
        font-size: 16px;
        line-height: 24px;
    }
}

/*#endregion*/

/*#region user-guide*/
.user-guide {
    background: #F4F7FF;
    padding: 64px 0 74px;
}

.user-guide-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.user-guide-title {
    font-family: 'Inter Bold', Arial, sans-serif;
    font-size: 32px;
    line-height: 40px;
    color: #181D27;
    text-align: center;
    margin: 0;
}

.user-guide-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-bottom: 1px solid #D5D7DA;
}

.user-guide-tab {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-bottom: 4px solid transparent;
    font-family: 'Inter SemiBold', Arial, sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #10141B;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
}

.user-guide-tab:hover {
    color: #245FDF;
}

.user-guide-tab.active {
    color: #245FDF;
    border-bottom-color: #245FDF;
}

.user-guide-panel {
    display: none;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.user-guide-panel.active {
    display: flex;
}

.user-guide-card {
    width: 162px;
    min-height: 162px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #fff;
    border: 1px solid #B2DDFF;
    border-radius: 16px;
    box-shadow: 0 0.5px 0.5px 0 rgba(25, 33, 61, 0.04);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.user-guide-card:hover {
    border: 1.5px solid #3990FF;
    box-shadow: 0 5px 7.5px 0 rgba(74, 58, 255, 0.06);
}

.user-guide-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.5px solid #99C5F7;
    border-radius: 12px;
    background: linear-gradient(205.82deg, #FAFAFA 16.3%, #F0F6FE 86.5%);
    box-shadow: inset 0 -1.17px 1.17px 0 rgba(150, 161, 172, 0.12);
    box-sizing: border-box;
    flex-shrink: 0;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.user-guide-card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    transition: filter 0.2s ease;
}

.user-guide-card-icon--logo {
    border: none;
    background: none;
    box-shadow: 0 0.92px 1.83px 0 rgba(0, 0, 0, 0.1);
}

.user-guide-card-icon--logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.user-guide-card:hover .user-guide-card-icon {
    background: linear-gradient(180deg, #3990FF 0%, #2662FF 100%);
    box-shadow: 0 2px 2.5px 0 rgba(74, 58, 255, 0.25),
        inset 0 -2px 2px 0 rgba(0, 66, 137, 0.15),
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 3px 4px 0 rgba(223, 238, 255, 0.1);
}

.user-guide-card:hover .user-guide-card-icon img {
    filter: brightness(0) invert(1);
}

.user-guide-card:hover .user-guide-card-icon--logo {
    background: none;
    box-shadow: 0 0.92px 1.83px 0 rgba(0, 0, 0, 0.1);
}

.user-guide-card:hover .user-guide-card-icon--logo img {
    filter: none;
}

.user-guide-card-label {
    font-family: 'Inter Medium', Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #717680;
    text-align: center;
}

.user-guide-card:hover .user-guide-card-label {
    font-family: 'Inter SemiBold', Arial, sans-serif;
    color: #245FDF;
}

@media (max-width: 979px) {
    .user-guide {
        padding: 40px 0 48px;
    }

    .user-guide-title {
        font-size: 28px;
        line-height: 36px;
    }

    .user-guide-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .user-guide-tabs::-webkit-scrollbar {
        display: none;
    }

    .user-guide-tab {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .user-guide {
        padding: 30px 0 40px;
    }

    .user-guide-inner {
        gap: 24px;
    }

    .user-guide-title {
        font-size: 24px;
        line-height: 32px;
    }

    .user-guide-panel {
        gap: 12px;
    }

    .user-guide-card {
        width: calc(50% - 6px);
        min-height: 140px;
        gap: 12px;
        padding: 12px;
    }

    .user-guide-card-icon {
        width: 48px;
        height: 48px;
    }

    .user-guide-card-icon img {
        width: 32px;
        height: 32px;
    }

    .user-guide-card-label {
        font-size: 14px;
        line-height: 18px;
    }
}

/*#endregion*/

/*#region video-guides*/
.video-guides {
    background: #fff;
    padding: 64px 0;
}

.video-guides-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.video-guides-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.video-guides-title {
    font-family: 'Inter Bold', Arial, sans-serif;
    font-size: 32px;
    line-height: 40px;
    color: #181D27;
}

.video-guides-btn-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 36px;
    min-width: 96px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #2E90FA;
    border-radius: 8px;
    color: #1570EF !important;
    font-family: 'Inter Medium', Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
    box-sizing: border-box;
    flex-shrink: 0;
}

.video-guides-btn-all:hover {
    background: #F0F6FE;
}

.video-guides-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.video-card {
    flex: 1 1 300px;
    max-width: 300px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-card-thumb {
    position: relative;
    display: block;
}

.video-card-thumb-img {
    display: block;
    width: 100%;
    aspect-ratio: 300/169;
    border: 1px solid #EBECF2;
    border-radius: 12px;
    background: #F7F6FA;
    overflow: hidden;
    box-sizing: border-box;
}

.video-card-thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    transition: transform 0.2s ease;
}

.video-card-play img {
    width: 100%;
    height: 100%;
    display: block;
}

.video-card:hover .video-card-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 8px 12px 8px 16px;
    background: #fff;
    border: 1px solid #C5CBDE;
    border-radius: 12px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.video-card-btn-title {
    flex: 1;
    min-width: 0;
    font-family: 'Inter SemiBold', Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #19213D;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.video-card:hover .video-card-btn {
    border-color: #2E90FA;
}

@media (max-width: 979px) {
    .video-guides {
        padding: 40px 0;
    }

    .video-guides-title {
        font-size: 28px;
        line-height: 36px;
    }

    .video-guides-grid {
        flex-wrap: wrap;
    }

    .video-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 767px) {
    .video-guides {
        padding: 30px 0;
    }

    .video-guides-inner {
        gap: 24px;
    }

    .video-guides-header {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .video-guides-title {
        font-size: 24px;
        line-height: 32px;
    }

    .video-card {
        flex: 1 1 100%;
        max-width: none;
    }
}

/*#endregion*/