.zing-pointer-event-none {
    pointer-events: none !important;
}
.zing-cursor-pointer {
    cursor: pointer;
}
.zing-hidden {
    display: none !important;
}
.zing-icon-loading {
    animation: rotate 0.5s linear infinite;
    height: 20px;
    width: 20px;
}
/* Button  */
.zing-btn {
    font-size: 14px;
    font-weight: 450;
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 48px;
    cursor: pointer;
    text-decoration: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    outline: none;
    box-shadow: none;
    transition: all 0.15s ease-in-out;
    pointer-events: all;
}
.zing-btn .zing-btn__text {
    display: block;
    font-size: 14px;
    font-weight: 450px;
}
.zing-btn.disabled {
    opacity: 0.56;
    pointer-events: none;
}
.zing-btn.zing-btn--copy {
    justify-content: space-between;
    border: 0.66px solid #8a8a8a;
    background: #fff;
    gap: 20px;
    cursor: default;
    color: #303030;
}
.zing-btn.zing-btn--copy .zing-btn__text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: -webkit-fill-available;
}
.zing-btn.zing-btn--copy .zing-btn__copy-icon {
    height: 20px;
    width: 20px;
    cursor: pointer;
}
.zing-btn .zing-icon-loading {
    display: none;
}
.zing-btn.loading {
    pointer-events: none;
}
.zing-btn.loading .zing-icon-loading {
    display: inline-block;
}

.zing-btn.loading .zing-btn__text {
    display: none;
}
.zing-btn:hover {
    opacity: 0.8;
}
.zing-btn.zing-btn--copy:hover {
    opacity: 1;
}
/* Toast */
.zing-toast {
    position: absolute;
    z-index: 1000000000;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 16px;
    font-weight: 450;
    border-radius: 8px;
    line-height: 24px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    text-align: center;
    padding: 8px;
    min-width: 180px;
    max-width: 100%;
    width: fit-content;
    animation: slideUp 0.3s ease-out;
}
/* Loading  */
.zing-spinner {
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    border-left: 2px solid rgba(0, 0, 0, 0.2);
    border-right: 2px solid rgba(0, 0, 0, 0.2);
    border-top: 2px solid rgba(0, 0, 0, 0.5);
    border-radius: 100%;
    height: 40px;
    width: 40px;
    animation: spin 0.6s infinite linear;
    text-indent: 999em;
    display: block !important;
}
.zing-skeleton {
    background-color: #e2e5e7;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    background-size: 40px 100%;
    background-repeat: no-repeat;
    background-position: left -40px top 0;
    animation: shine 1s ease infinite;
    min-height: 72px;
    width: 100%;
    display: block !important;
    border-radius: 8px;
}
/* Flex */
.zing-flex {
    display: flex;
}
.zing-align-center {
    align-items: center;
}
.zing-justify-center {
    justify-content: center;
}
.zing-flex-direction-collumn {
    flex-direction: column;
}
.zing-justify-between {
    justify-content: space-between;
}
.zing-gap-8 {
    gap: 8px;
}
.zing-gap-16 {
    gap: 16px;
}
.zing-flex-wrap {
    flex-wrap: wrap;
}
/* Height && Width */
.zing-h-full {
    height: 100%;
}
.zing-w-full {
    width: 100%;
}
/* Padding */
.zing-padding-16 {
    padding: 16px;
}
/* Text */
.zing-text-underline {
    text-decoration: underline;
}
/* Tab */
.zing-tabs-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px !important;
    flex-wrap: wrap;
}
.zing-tab {
    padding: 4px 12px;
    color: rgba(74, 74, 74, 1);
    font-size: 12px;
    font-weight: 550;
    cursor: pointer;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zing-tab:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    color: rgba(74, 74, 74, 1);
}
.zing-tab.active {
    background-color: rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    color: rgba(48, 48, 48, 1);
}
/* table */
.zing-scroll {
    overflow: auto;
    scrollbar-width: thin;
}
.zing-table {
    width: 100%;
    border-collapse: collapse;
}
.zing-table th,
.zing-table td {
    border-bottom: 1px solid #ddd; /* chỉ có border ngang */
    padding: 12px;
    text-align: left;
}

.zing-table th {
    background-color: #f8f8f8;
    font-weight: bold;
}
.zing-table tr:last-child td,
.zing-table tr:last-child th {
    border-bottom: none !important;
}

/* Pagination */
.zing-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    gap: 8px;
}
.zing-pagination__prev,
.zing-pagination__next {
    cursor: pointer;
    height: 24px;
    width: 24px;
    overflow: hidden;
}
.zing-pagination__prev img,
.zing-pagination__next img {
    height: 100%;
    width: 100%;
}
.zing-pagination__prev img {
    transform: rotate(180deg);
}
.zing-pagination__prev.disabled {
    opacity: 0.5;
    pointer-events: none;
}
.zing-pagination__next.disabled {
    opacity: 0.5;
    pointer-events: none;
}
/* Select */
.zing-select-label {
    font-weight: 400;
    color: rgba(97, 97, 97, 1);
    font-weight: 400;
    font-size: 13px;
    margin-bottom: 8px;
    display: inline-block;
}
.zing-select {
    appearance: none; /* bỏ style mặc định */
    width: 100%;
    padding: 10px 40px 10px 12px;
    border: 1px solid rgba(227, 227, 227, 1);
    border-radius: 6px;
    background-color: #fff;
    font-size: 13px;
    font-weight: 400;
    color: #000;
    cursor: pointer;
    background-image: url("https://d6xjbs2ch3cnt.cloudfront.net/public/images/dcb33d41-8d0d-4500-af1d-a75e860e82f9.svg");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    object-fit: cover;
    width: 100%;
    box-shadow: none;
}
.zing-select:focus {
    outline: none;
    border-color: #999;
}

/* Tag */
.zing-tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 4px;
}
.zing-tag {
    display: inline-flex;
    align-items: center;
    background-color: #707070;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    border-radius: 999px;
    padding: 5px 16px;
    width: fit-content;
    height: fit-content;
}

.zing-tag .zing-tag__text {
    margin-right: 12px;
}

.zing-tag .zing-tag__close {
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: rgba(138, 138, 138, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    width: 18px;
}

.zing-tag .zing-tag__close:hover {
    color: rgba(48, 48, 48, 1);
}

/* Card */
.zing-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Padding  */
.zing-pading-8 {
    padding: 8px;
}
.zing-pading-16 {
    padding: 16px;
}
.zing-pading-32 {
    padding: 32px;
}
.zing-pading-top-8 {
    padding-top: 8px;
}
.zing-padding-top-16 {
    padding-top: 16px;
}
.zing-padding-top-32 {
    padding-top: 32px;
}
.zing-pading-bottom-8 {
    padding-bottom: 8px;
}
.zing-padding-bottom-16 {
    padding-bottom: 16px;
}
.zing-padding-bottom-32 {
    padding-bottom: 32px;
}

/* Margin  */
.zing-margin-8 {
    margin: 8px;
}
.zing-margin-16 {
    margin: 16px;
}
.zing-margin-32 {
    margin: 32px;
}
.zing-margin-top-8 {
    margin-top: 8px;
}
.zing-margin-top-16 {
    margin-top: 16px;
}
.zing-margin-top-32 {
    margin-top: 32px;
}
.zing-margin-bottom-8 {
    margin-bottom: 8px;
}
.zing-margin-bottom-16 {
    margin-bottom: 16px;
}
.zing-margin-bottom-32 {
    margin-bottom: 32px;
}

/* Modal */
.zing-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 10000000000;
    line-height: initial;
}

.zing-modal-content {
    background: #fff;
    width: 478px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.zing-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
}

.zing-modal-title {
    font-size: 18px;
    font-weight: 600;
}

.zing-modal-close {
    cursor: pointer;
    height: 28px;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}
.zing-modal-close:hover {
    background-color: #f5f5f5;
}

.zing-modal-body {
    font-size: 16px;
    color: #333;
    padding: 14px;
    padding-top: 0px;
}
.zing-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px;
    border-top: 1px solid #ccc;
}

.zing-cancel-btn {
    padding: 6px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    color: #005bd1;
}

.zing-save-btn {
    padding: 6px 16px;
    border: none;
    border-radius: 4px;
    background: #005bd1;
    color: #fff;
    cursor: pointer;
}

.zing-modal.show {
    display: flex;
}

/* List item */
.zing-list {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 14px;
    color: #000;
}

.zing-li {
    margin-bottom: 8px;
}

/* Font weight */
.zing-font-thin {
    font-weight: 100;
}

.zing-font-extralight {
    font-weight: 200;
}

.zing-font-light {
    font-weight: 300;
}

.zing-font-regular {
    font-weight: 400;
}

.zing-font-medium {
    font-weight: 500;
}

.zing-font-semibold {
    font-weight: 600;
}

.zing-font-bold {
    font-weight: 700;
}

.zing-font-extrabold {
    font-weight: 800;
}

.zing-font-black {
    font-weight: 900;
}

/* Disabled */
.zing-disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}

/* Banner */
.zing-banner-warning {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
}

.zing-banner-warning .zing-banner-icon {
    height: 20px;
    width: 20px;
    overflow: hidden;
}
.zing-banner-warning .zing-banner-icon img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.zing-banner-warning .zing-banner-text {
    line-height: 1.4;
}

/* Animation styles */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
@keyframes loader {
    0% {
        rotate: 0deg;
    }
    100% {
        rotate: 360deg;
    }
}
@keyframes shine {
    to {
        background-position: right -40px top 0;
    }
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}
@keyframes zingZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes zingFadeIn {
    from {
        opacity: 0;
        z-index: -1;
    }
    to {
        opacity: 1;
    }
}

@keyframes zingPopupFadeIn {
    from {
        opacity: 0;
        z-index: -1;
    }
    to {
        opacity: 1;
        z-index: 9999999999;
    }
}
