.layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.image {
    border-radius: 4px;
    object-fit: contain;
}

.header_service {
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid #dfe2e7;
    display: flex;
    height: 61px;
    justify-content: space-between;
    padding: 0 12px;
}

.header_service__left {
    grid-gap: 12px;
    display: flex;
    align-items: center;
}

.header_service__left>svg {
    width: 32px;
}

.header_service__left>img {
    cursor: pointer;
}

.header_service__right {
    align-items: center;
    display: flex;
}

.dropdown {
    cursor: pointer;
    display: inline-block;
    height: -webkit-fit-content;
    height: fit-content;
    padding: 8px 0;
    position: relative;
}

.header_service__right__profile {
    align-items: center;
    display: inline-flex;
}

.header_service__right__profile__avatar {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.header_service__right__profile__name {
    display: none;
}

.dropdown__content {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 6px #0d0d0d24;
    display: none;
    margin-top: 8px;
    padding: 4px 0;
    position: absolute;
    right: 0;
    width: 208px;
    z-index: 9;
}

.header_service__right__profile__down-arrow {
    margin-left: 6px;
}

.dropdown__content__item {
    cursor: pointer;
    padding: 12px 16px;
}

.dropdown__content__item--selected .text,
.dropdown__content__item--selected:hover .text {
    color: var(--color-main);
}

.dropdown__content__item span {
    font-size: 14px;
    line-height: 18px;
}

.dropdown__content__item:hover .text {
    color: #081c36;
}

.dropdown__content__item:hover {
    background: #f3f5f6;
}

.dropdown__content--open {
    display: block;
}

.layout__container {
    flex: 1 1;
}

.tabs {
    display: flex;
    flex-wrap: nowrap;
}

.tabs__sidebar {
    background-color: #fff;
    min-height: 100vh;
    width: 240px;
    animation-duration: .3s;
    animation-fill-mode: forwards;
}

.tabs__sidebar--open {
    animation-name: sidebar-open;
}

.tabs__sidebar--close {
    animation-name: sidebar-close;
}

.tabs__sidebar__link__right-chevron {
    height: 16px;
    margin-right: 8px;
    width: 16px;
}

.tabs__sidebar__link img {
    background-color: var(--color-main);
    width: 30px;
    height: 30px;
    border-radius: 5px;
    padding: 5px;
}

.tabs__sidebar__link .tabs__sidebar__link__text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hotline-main a,
.tabs__sidebar__link_s {
    background-color: var(--color-main);
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    display: block;
    padding: 5px 10px;
    border: 1px solid transparent;
    transition: all 0.5s;
}

.hotline-main a:hover,
.tabs__sidebar__link_s:hover {
    background-color: #fff;
    color: var(--color-main);
    border-color: var(--color-main);
}

.text--3xlg {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 20px;
    display: block;
}

.tabs__content {
    flex: 1 1;
    overflow-y: auto;
    padding: 16px;
}

.tabs__sidebar__link {
    align-items: center;
    cursor: pointer;
    display: flex;
    height: 48px;
    padding-left: 4px;
}

.tabs__sidebar__link.active,
.tabs__sidebar__link:hover {
    color: #D42027;
}

.tabs__sidebar__link__right-chevron {
    height: 16px;
    margin-right: 8px;
    width: 16px;
}

.tabs__sidebar__link.active-s .tabs__sidebar__link__right-chevron {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='17' viewBox='0 0 16 17' fill='none'%3E%3Cpath d='M7.75 13.378L11.9167 9.04466L7.75 4.71132' stroke='%23000' stroke-width='1.2' stroke-miterlimit='10'/%3E%3C/svg%3E");
    width: 16px;
    height: 17px;
    display: inline-block;
}

.tabs__sidebar__link.active .tabs__sidebar__link__right-chevron {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='17' viewBox='0 0 16 17' fill='none'%3E%3Cpath d='M7.75 13.378L11.9167 9.04466L7.75 4.71132' stroke='%23D42027' stroke-width='1.2' stroke-miterlimit='10'/%3E%3C/svg%3E");
    width: 16px;
    height: 17px;
    display: inline-block;
}

.text--lg {
    font-size: 16px;
    line-height: 24px;
}

.text--primary {
    color: var(--color-main);
    cursor: pointer;
}

.overlay-ss {
    background-color: #00000080;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99;
    animation-duration: .3s;
    animation-fill-mode: forwards;
    transform: translateX(-100%);
}

.overlay-ss.active {
    display: block;
}

.overlay--open {
    animation-name: sidebar-open;
}

.overlay--close {
    animation-name: overlay-close
}


.text--strong {
    font-weight: 600;
}

.service-btn-status {
    font-weight: 500;
    background: #d9f3cb;
    padding: 5px 15px;
    border-radius: 5px;
    min-width: 112px;
    text-align: center;
    margin-right: auto;
    /* margin-left: 10px; */
}

.service-btn-status.status-in {
    background: orange;
    color: #fff;
}

.service-btn-status.status-cancel,
.service-btn-status.status-off {
    background: red;
    color: #fff;
}

.service-btn-status.status-on {
    position: relative;
    padding-left: 28px;
}

.service-btn-status.status-on::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 10px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    z-index: 2;
    transform: rotate(45deg);
}

.service-btn-status.status-on::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: #4CAF50;
    border-radius: 50%;
}

@keyframes sidebar-open {
    0% {
        transform: translateX(-100%)
    }

    to {
        transform: translateX(0)
    }
}

@keyframes sidebar-close {
    0% {
        transform: translateX(0)
    }

    to {
        transform: translateX(-100%)
    }
}

@keyframes overlay-close {
    to {
        background-color: initial;
        z-index: -9
    }
}

.tabs__sidebar__header {
    align-items: center;
    border-bottom: 1px solid #dfe2e7;
    display: flex;
    height: 72px;
    margin-bottom: 24px;
    padding-left: 16px;
}


.service-management>p {
    font-size: 16px;
    margin-bottom: 14px;
}

.service-management h4 {
    font-size: 16px;
    margin-bottom: 14px;
    font-weight: 700;
}

.service-item {
    row-gap: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 14px;
    width: 100%;
    max-width: 900px;
    margin-bottom: 30px;
}

.service-item>h2 {
    flex-basis: 100%;
    font-size: 20px;
    font-weight: 700;
}

.service-info {
    flex-basis: 35%;
    max-width: 35%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-expiry {
    flex-basis: 40%;
    max-width: 40%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-details-link {
    /* flex-basis: 25%; */
    max-width: 25%;
    width: max-content;
    cursor: pointer;
    color: var(--color-main);
}

.service-details-link:hover {
    color: #333;
}

.service-item .service-icon {
    background-color: var(--color-main);
    width: 50px;
    height: 50px;
    border-radius: 5px;
    padding: 5px;
}

.service-details {
    max-width: calc(100% - 60px);
    /* padding-left: 10px; */
}

.service-details h3 {
    font-weight: 700;
}

.tab__item {
    display: none;
}

.tab__item.active {
    display: block;
}

.tab-home img {
    width: 100%;
}

.service-details-price {
    font-weight: 600;
    color: var(--color-main);
}

.data-item label {
    font-weight: 600;
}

.data-edit svg {
    width: 20px;
    height: 20px;
}

.data-edit {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-weight: 700;
    cursor: pointer;
}

.data-edit:hover path,
.data-edit:hover {
    fill: var(--color-main);
    color: var(--color-main);
}

.tab_data>h2 {
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 20px;
}

.data-input {
    display: none;
    flex-wrap: wrap;
    margin: 0 -10px;
    margin-top: 20px;
}

.data-input.active {
    display: flex;
}

.data-input>* {
    flex-basis: 50%;
    max-width: 50%;
    padding: 0 10px 20px;
}

.data-input input {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-top: 5px;
    color: #000;
    padding: 10px 20px;
}

.data-input-btn {
    max-width: max-content;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-top: 5px;
    color: #fff;
    margin-left: 10px;
    padding: 10px 20px;
    background: #333;
    cursor: pointer;
    border: 1px solid #333;
    transition: all 0.5s;
}

.data-input-btn:hover {
    background-color: transparent;
    color: #333;
}

.hotline-main a {
    font-size: 16px;
    font-weight: 700;
    margin-right: 20px
}

@media (min-width: 769px) {


    .header_service {
        height: 71px;
        padding: 0 40px;
    }

    .header_service__right__profile__name {
        display: inline-flex;
        margin-left: 12px;
    }

    .header_service__left>svg {
        display: none;
    }

    .tabs__sidebar {
        min-height: 0;
        min-height: auto;
        padding-top: 24px;
        width: 258px;
    }

    .tabs__sidebar__link {
        padding-left: 16px;
    }

    .tabs__content {
        padding: 32px;
    }

    .tabs__sidebar__header {
        display: none;
    }
}

@media (max-width: 768px) {
    .header_service__left img {
        max-width: 150px;
    }

    .tabs__sidebar {
        transform: translateX(-100%);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        z-index: 9999;
    }

    .hotline-main a {
        display: none;
    }
}

@media (max-width: 575px) {
    .service-info {
        flex-basis: 100%;
        max-width: 100%;
    }

    .service-expiry {
        max-width: 70%;
        font-size: 14px;
        flex-basis: 70%;
    }

    .service-management>p {
        font-size: 12px;
    }
}