body p {
    margin: 0px;
}

.gap-12 {
    gap: 12px;
}

body .text-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: var(--line-clamp);
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

body #things-to-do ul li::before {
    content: none !important;
}

body #things-to-do ul {
    list-style-type: disc;
    /* Đảm bảo ul đầu có dấu chấm đậm */
    list-style-position: outside;
    margin-left: 20px;
}

body #things-to-do ul>ul {
    list-style-type: circle;
    /* Hình tròn trống cho danh sách con */
    margin-left: 30px;
    /* Thụt vào danh sách con */
}

body #modal-noti-creator .modal-dialog-centered {
    justify-content: center;
}

body #modal-noti-creator .modal-content {
    border-radius: 16px;
    padding: 20px;
    max-width: 343px;
}

body #modal-noti-creator .modal-content .title-modal {
    color: #1f2230;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

body #modal-noti-creator .modal-content .desc-modal {
    color: var(--Neutral-Colors-N800, #51545f);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

body #modal-noti-creator .modal-content>div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body #modal-noti-creator .modal-content>div button {
    width: 100%;
    border-radius: 32px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    height: 42px;
}

body #modal-noti-creator .modal-content>div button.btn-cancel {
    border: 1px solid var(--Neutral-Colors-N400, #e3e4ec);
    background: var(--Neutral-Colors-N200, #f3f4f5);
    color: var(--Neutral-Grey-700, #434343);
}

body #modal-noti-creator .modal-content>div button.btn-join {
    border: none;
    color: var(--Neutral-Colors-N0, #fff);
    background: var(--primary-600-main, #d7002b);
}

body #modal-noti-creator .modal-content>div a {
    display: block;
    width: 100%;
    text-decoration: none;
}

body #modal-noti-join-campaign .modal-dialog {
    margin: 0 auto;
    max-width: 460px;
    display: flex;
    align-items: end;
    min-height: 100%;
    transform: translateY(100%);
    animation: slideUp 0.2s forwards;
}

body #modal-noti-join-campaign .modal-dialog .modal-content {
    border-radius: 16px 16px 0px 0px;
}

body #modal-noti-join-campaign .modal-dialog .modal-content .top-modal-content {
    padding: 24px 16px;
}

body #modal-noti-join-campaign .modal-dialog .modal-content .top-modal-content>div:first-child {
    margin-bottom: 20px;
}

body #modal-noti-join-campaign .modal-dialog .modal-content .top-modal-content>div:first-child .title-modal {
    color: #1f2230;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}

body #modal-noti-join-campaign .modal-dialog .modal-content .top-modal-content>div:first-child .desc-modal {
    color: var(--Neutral-Grey-600, #767676);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

body #modal-noti-join-campaign .modal-dialog .modal-content .top-modal-content>div:last-child {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body #modal-noti-join-campaign .modal-dialog .modal-content .top-modal-content>div:last-child .label-modal {
    color: #000;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
}

body #modal-noti-join-campaign .modal-dialog .modal-content .top-modal-content>div:last-child .link-not-address p {
    color: var(--Neutral-800, #383838);
    font-weight: 400;
    line-height: 20px;
    font-size: 14px;
}

body #modal-noti-join-campaign .modal-dialog .modal-content .top-modal-content>div:last-child .link-change-contact {
    color: var(--primary-600-main, #d7002b);
    font-size: 14px;
    font-weight: 510;
    line-height: 20px;
    text-decoration: none;
}

body #modal-noti-join-campaign .modal-dialog .modal-content .top-modal-content>div:last-child .address-contact,
body #modal-noti-join-campaign .modal-dialog .modal-content .top-modal-content>div:last-child .phone-contact {
    color: var(--Neutral-800, #383838);
    font-weight: 400;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    max-width: 300px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

body #modal-noti-join-campaign .modal-dialog .modal-content .top-modal-content>div:last-child .quantity-campaign {
    padding: 14px;
    border-radius: 12px;
    background: var(--Neutral-Grey-100, #f5f5f5);
    color: #888;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

body #modal-noti-join-campaign .modal-dialog .modal-content .top-modal-content>div:last-child .custom-checkbox-bg {
    display: flex;
    align-items: center;
    gap: 8px;
}

body #modal-noti-join-campaign .modal-dialog .modal-content .top-modal-content>div:last-child .custom-checkbox-bg>input[type="checkbox"] {
    appearance: none;
    width: 16px;
    min-width: 16px;
    height: 16px;
    border: 2px solid #a7a7a7;
    border-radius: 4px;
}

body #modal-noti-join-campaign .modal-dialog .modal-content .top-modal-content>div:last-child .custom-checkbox-bg>input[type="checkbox"]:checked {
    border: 2px solid #de0026;
    background-color: #de0026;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

body #modal-noti-join-campaign .modal-dialog .modal-content .top-modal-content>div:last-child .custom-checkbox-bg p {
    color: #5a5a5a;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

body #modal-noti-join-campaign .modal-dialog .modal-content .bottom-modal-content {
    padding: 16px 20px;
}

body #modal-noti-join-campaign .modal-dialog .modal-content .bottom-modal-content button {
    width: 100%;
    border-radius: 1000px;
    color: var(--DarkOverlayElement-100, #fff);
    background: var(--primary-600-main, #d7002b);
    color: var(--DarkOverlayElement-100, #fff);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    padding: 12px 20px;
    border: none;
    outline: none;
}

.main-content-container {
    background-color: #f5f5f5 !important;
    height: 100vh;
    max-width: 460px !important;
}

.top-page {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    max-width: 460px;
    margin: 0 auto;
    z-index: 11;
}

.top-page .current-top-page {
    background: var(--Neutral-Grey-100, #F5F5F5);
    padding: 16px;
}

.top-page .title-page {
    color: #000;
    font-size: 20px;
    font-weight: 600;
    line-height: 120%; 
}

.top-page .scroll-top-page {
    background: var(--Neutral-Grey-100, #F5F5F5);
}

.top-page .scroll-top-page >div:first-child {
    padding: 16px;
}

.top-page .scroll-top-page .tabs-top-page .tab {
    color: var(--Neutral-Grey-600, #767676);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%; 
    padding: 10px 0px;
}

.top-page .scroll-top-page .tabs-top-page .active-tab {
    color: var(--primary-600-main, #D7002B);
    font-size: 16px;
    font-weight: 500;
    line-height: 140%; 
    border-bottom: 1px solid var(--primary-600-main, #D7002B);
}

.body-content-page {
    padding: 70px 14px 100px 14px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    background-color: #f5f5f5;
    max-width: 460px;
    margin: 0 auto;
}

.body-content-page .content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.body-content-page .content>div {
    background-color: #fff;
    border-radius: 16px;
}

.body-content-page .info-campaign {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.body-content-page .info-campaign .avatar-shop img {
    width: 86px;
    height: 86px;
    border-radius: 12px;
    object-fit: cover;
}

.body-content-page .info-campaign .info-shop-name-campaign {
    flex: 1;
}

.body-content-page .info-campaign .info-shop-name-campaign .name-shop {
    color: var(--Neutral-Grey-500, #767676);
    font-family: "SF Pro Display";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    max-width: 200px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 6px;
}

.body-content-page .info-campaign .info-shop-name-campaign .name-cp {
    color: var(--Neutral-Grey-900, #1A1A1A);
    font-family: "SF Pro Display";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Số dòng muốn hiển thị */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.body-content-page .info-campaign .hr-info-campaign {
    height: 1px;
    border: 0.5px dashed var(--Neutral-Grey-200, #E6E6E6);
}

.body-content-page .info-campaign .label-info {
    color: var(--text-secondary, #4D5761);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 166%;
}

.body-content-page .info-campaign .price-cp {
    color: var(--primary-600-main, #D7002B);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 166%; 
}

.body-content-page .info-campaign .sample-product,
.body-content-page .info-campaign .commission-cp {
    color: var(--text-primary, #111927);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 166%; 
}

.body-content-page .info-campaign .time-cp {
    color: var(--Neutral-Dark-60, #7A7A7A);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; 
}

.card-mcn {
    display: block;
    width: 100%;
    text-decoration: none
}

.card-mcn .card-item {
    border-radius: 20px;
    background: #FFF;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.card-mcn .card-item .title-section {
    color: var(--Neutral-Grey-700, #434343);
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
}

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

.card-mcn .header .logo {
    display: flex;
    align-items: center;
    justify-content: center
}

.card-mcn .header .logo .logo-inner {
    flex: 1;
    border-radius: 1000px;
    border: 1px solid var(--Neutral-Grey-100, #F5F5F5)
}

.card-mcn .header .logo .logo-inner img {
    border-radius: 1000px;
    width: 56px;
    height: 56px;
    -o-object-fit: cover;
    object-fit: cover
}

.card-mcn .mcn-info {
    display: flex;
    flex-direction: column;
    flex: 1
}

.card-mcn .mcn-info .mcn-name {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 245px
}

.card-mcn .mcn-info .mcn-category-count {
    margin-top: 8px;
    color: var(--Neutral-Grey-500, #767676);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px
}

.card-mcn .mcn-info .mcn-category-count .mcn-category {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px
}

.card-mcn .mcn-hr-line {
    width: 100%;
    border: 1px dashed #f0f0f0
}

.card-mcn .details {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.card-mcn .details .creator {
    display: flex;
    flex-direction: column
}

.card-mcn .details .creator .creator-label {
    color: var(--text-secondary, #4D5761);
    font-size: 13px;
    font-weight: 400;
    line-height: 166%
}

.card-mcn .details .creator .follower-count {
    color: var(--text-primary, #111927);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px
}

.card-mcn .details .show-detail {
    padding: 6px 12px;
    color: var(--Neutral-Grey-800, #292929);
    font-size: 14px;
    font-weight: 600;
    line-height: 166%;
    border-radius: 24px;
    background: var(--Neutral-Grey-100, #F5F5F5);
}

.body-content-page .commission-campaign {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.body-content-page .commission-campaign .cm-cp-label {
    color: var(--text-secondary, #4d5761);
    font-size: 12px;
    font-weight: 400;
    line-height: 166%;
}

.body-content-page .commission-campaign .cm-cp-value {
    color: var(--text-primary, #111927);
    font-size: 14px;
    font-weight: 500;
    line-height: 166%;
}

.body-content-page .participation-conditions {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
}

.body-content-page .participation-conditions .title-section {
    color: var(--Neutral-Grey-700, #434343);
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
}

.body-content-page .participation-conditions>div>div>div {
    width: 200px;
    max-width: 50%;
}

.body-content-page .participation-conditions .list-item-join-conditions {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.body-content-page .participation-conditions .list-item-join-conditions .item-join-conditions {
    text-wrap: nowrap;
    width: fit-content;
    max-width: 200px;
    padding: 2px 12px;
    border-radius: 1000px;
    background: var(--Neutral-Grey-100, #f5f5f5);
    color: var(--Neutral-Grey-700, #434343);
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
}

.body-content-page .participation-conditions .label-info {
    color: var(--Neutral-Grey-600, #767676);
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.body-content-page .participation-conditions .label-info-condition {
    color: var(--Neutral-Grey-600, #767676);
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

.body-content-page .participation-conditions .value-info-condition {
    color: var(--Neutral-Grey-800, #292929);
    font-size: 14px;
    font-weight: 500;
    line-height: 19.6px;
}

.body-content-page .product-campaign {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 16px;
}

.body-content-page .product-campaign>.title-section {
    color: var(--Gray-700, #2e2e2e);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
}

.body-content-page .product-campaign>.product-campaign-item {
    display: block;
    padding: 16px 8px;
    border-radius: 8px;
    background: var(--Neutral-Grey-100, #f5f5f5);
    display: flex;
    gap: 12px;
}

.body-content-page .product-campaign>.product-campaign-item>img {
    width: 47.314px;
    height: 47.314px;
    border-radius: 4px;
}

.body-content-page .product-campaign>.product-campaign-item>div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.body-content-page .product-campaign>.product-campaign-item>div .name-product {
    color: var(--Neutral-Grey-700, #434343);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.body-content-page .product-campaign>.product-campaign-item>div .price-product {
    color: var(--Neutral-Grey-600, #767676);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.body-content-page .things-to-do {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
}

.body-content-page .things-to-do>.title-section {
    color: var(--Neutral-Grey-700, #434343);
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
}

.body-content-page .things-to-do>div:nth-child(2):not(.script-campaign-content-a),
.body-content-page .things-to-do>div:nth-child(3):not(.script-campaign-content-a),
.body-content-page .things-to-do>div:nth-child(4):not(.script-campaign-content-a) {
    padding: 8px;
    border-radius: 8px;
    background: var(--Neutral-Grey-100, #f5f5f5);
}

.body-content-page .things-to-do>div:nth-child(2):not(.script-campaign-content-a)>.label-info,
.body-content-page .things-to-do>div:nth-child(3):not(.script-campaign-content-a)>.label-info,
.body-content-page .things-to-do>div:nth-child(4):not(.script-campaign-content-a)>.label-info {
    color: var(--Neutral-Grey-600, #767676);
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 4px;
}

.body-content-page .things-to-do>div:nth-child(2):not(.script-campaign-content-a) li,
.body-content-page .things-to-do>div:nth-child(3):not(.script-campaign-content-a) li,
.body-content-page .things-to-do>div:nth-child(4):not(.script-campaign-content-a) li {
    color: var(--Neutral-Grey-800, #292929);
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
}

.body-content-page .things-to-do>div:nth-child(2):not(.script-campaign-content-a) a,
.body-content-page .things-to-do>div:nth-child(3):not(.script-campaign-content-a) a,
.body-content-page .things-to-do>div:nth-child(4):not(.script-campaign-content-a) a {
    color: var(--Neutral-Grey-800, #292929);
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
}

.body-content-page .things-to-do .script-campaign-content {
    color: var(--Neutral-Grey-600, #767676);
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
    word-break: break-word;
    max-height: 9999px;
    transition: max-height 0.3s ease-out;
}

.body-content-page .things-to-do .script-campaign-content.hide {
    max-height: 196px;
    overflow: hidden;
}

.body-content-page .things-to-do .see_more {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    color: var(--Brand-Primary, #de0026);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.body-content-page .suggestions-for-suitable-work {
    margin-top: 16px;
    background: var(--Neutral-Grey-100, #f5f5f5);
}

.body-content-page .suggestions-for-suitable-work>p {
    padding: 8px 0px;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    /* 144.444% */
}

.body-content-page .suggestions-for-suitable-work .suggestions-for-suitable-work-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-campaign {
    max-width: 460px;
    margin: 0 auto;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #fff;
    box-shadow: 0px -4px 14px 0px rgba(0, 0, 0, 0.04);
    gap: 14px;
}

.action-campaign .btn-join-campaign {
    width: 100%;
    border: none;
    outline: none;
    padding: 12px var(--inset-lg, 16px);
    border-radius: 1000px;
    border-radius: 1000px;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    /* 142.857% */
}

.action-campaign .btn-join-campaign:not(.bg-wait) {
    background: var(--primary-600-main, #d7002b);
    color: var(--DarkOverlayElement-100, #fff);
}

.action-campaign .disabled-slots-remaining-full {
    border: 1px solid var(--Neutral-Grey-200, #e6e6e6) !important;
    background: var(--Neutral-Grey-100, #f5f5f5) !important;
    color: var(--Neutral-Grey-700, #434343) !important;
}

.action-campaign .btn-join-campaign.bg-wait {
    border: 1px solid var(--Neutral-Grey-200, #e6e6e6);
    background: var(--Neutral-Grey-100, #f5f5f5) !important;
    color: var(--Neutral-Grey-700, #434343);
}

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

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.address-contact {
    max-width: 300px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.btn-svg-loading {
    border-radius: 5px;
    gap: 10px;
}

.btn-svg-loading .spinner {
    width: 20px;
    height: 20px;
    animation: rotate 1s linear infinite;
}

.btn-svg-loading .path {
    stroke: white;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -125;
    }
}

.form-group-code {
    position: relative;
}

.check-code-cam {
    position: absolute;
    top: 0;
    right: 10px;
    height: 100%;
    align-items: center;
    display: flex;
    cursor: pointer;
}

.price-code {
    margin-top: 6px;
}

.red-price {
    color: red;
    font-weight: bold;
}

.action-join-campaign-disabled {
    border: 1px solid var(--Neutral-Grey-200, #e6e6e6);
    background: var(--Neutral-Grey-100, #f5f5f5) !important;
    color: var(--Neutral-Grey-700, #434343) !important;
}

.custom-input-code {
    display: flex;
    padding: 14px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 12px;
    background: var(--Neutral-Grey-100, #F5F5F5);
    margin-top: 8px;

}

.custom-input-code:focus {
    border-color: #F5F5F5;
    outline: none;
    box-shadow: 0 0 0 3px #F5F5F5;
}

.lable-code {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.note-code {
    margin-top: 12px;
    color: var(--Neutral-Grey-600, #767676);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}