﻿.tabs-container {
    display: flex;
    width: 60%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    /*    position: sticky;*/
    top: 0;
    z-index: 1;
}

#tienich-tooltip {
    position: absolute;
    background: var(--bg-color);
    color: black;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 14px;
    pointer-events: none;
    /*    display: none;*/
    border: 1px solid black;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 10;
}

.plan-popup-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
    background-color: var(--bg-color);
}

.plan-register {
    cursor: pointer;
    border-radius: 5px;
    color: white;
    background-color: var(--bs-teal);
    padding: 0.25rem;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    margin-top: 1rem;
    align-self: center;
    position: relative; /* Not fixed! */
}

.plan-register > * {
    position: relative;
    z-index: 1;
}

.plan-register:hover {
    transform: scale(1.1);
}

.plan-register:hover::before {
    width: 100%;
}

.plan-register-form {
    height: 100vh;
    width: 100vw;
    background-color: var(--bg-color);
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
}

.plan-register-form-logo {
    position: absolute;
    aspect-ratio: 181/164;
    width: 90px;
    top: 3%;
    left: 5%;
}

.plan-register-form-close-btn {
    border-radius: 50%;
    background-color: #C89369;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 30px;
    padding: 10px;
    position: absolute;
    right: 4rem;
    top: 2rem;
    cursor: pointer;
    border: 0;
    z-index: 3;
    color: white;
}

.plan-register::before {
    content: '';
    position: absolute;
    border-radius: 5px;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: orange;
    transition: all 0.3s ease-in-out;
    z-index: 0;
}

.plan-popup-img {
    display: none;
    width: 100%;
}

#tongthe-tooltip {
    position: absolute;
    background: var(--bg-color);
    color: black;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 14px;
    pointer-events: none;
    /*    display: none;*/
    border: 1px solid black;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 10;
}

.tab {
    padding: 5px 8px;
    font-weight: bold;
    flex: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    margin: 12px 2px;
}

    .tab.left.active {
        text-align: right;
        background: linear-gradient(to left, var(--text-title-color), #bd995c, var(--bg-color));
        color: white;
    }

    .tab.right.active {
        text-align: left;
        background: linear-gradient(to right, var(--text-title-color), #bd995c, var(--bg-color));
        color: white;
    }

    .tab.inactive {
        background-color: #f0f0f0;
        color: #666;
    }

    .tab.left.inactive {
        text-align: right;
    }

    .tab.right.inactive {
        text-align: left;
    }

.content-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.site-plan-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    /*    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
}

.site-plan-img {
    width: 100%;
    /*    height: auto;*/
    /*    transition: transform 0.3s ease;*/
}

/*    .site-plan-img:hover {
        transform: scale(1.01);
    }*/

.description-container {
    padding: 10px 1rem;
    text-align: left;
    background-color: #f6f2e6;
    height: auto
    /*width: 80%;
    position: relative;
    left: 11%;*/
}

.description-content {
    display: flex;
    padding: 0 2rem;
}

    .description-content.tienichwellness, description-content.group1, description-content.group2, description-content.group3, description-content.group4 {
        width: 25%;
        height: 10vh;
    }

.heading-container {
    width: 100%;
}

.collection {
    margin-bottom: 2%;
    /*    height: auto;*/
    width: 15rem;
    padding: 1rem
}

.description-text {
    font-size: 12px;
    line-height: normal;
    align-content: center;
    padding: 0 2rem;
}

.property-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.legend-item {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .legend-item:hover {
        transform: scale(1.05);
        transition: 0.75s;
    }

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}

.green {
    background-color: #59917d;
}

.brown {
    background-color: #7d5c50;
}

.gold {
    background-color: #d4a14b;
}

.green, .brown, .gold {
    cursor: pointer;
}

.legend-text {
    font-size: 14px;
    font-weight: 500;
}

.legend-quantity {
    font-size: 12px;
    color: #777;
    display: block;
    font-style: italic;
}

.img-content {
    height: 6.5rem;
}

.note-container {
    width: 163%;
    padding: 0 2rem;
}

.circle-number {
    border: 2px solid #3c8c3d;
    color: #3c8c3d;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

.item-title {
    font-size: 12px;
    font-weight: bold;
}

.item-subtitle {
    font-size: 0.6rem;
    font-style: italic;
    color: #555;
}

.item-box {
    display: flex;
    align-items: flex-start;
}

.plan-content {
    padding: 1rem;
    align-content: center
}

.mb-item-desktop {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 1rem;
}

.mb-item-mobile {
    display: none;
}

/* Fade in animation for content */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*.content-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}*/

/* responsiveness */
@media (max-width: 1024px) {
    .content-section {
        max-width: 100%;
    }

    .note {
        padding: 0;
    }

    .note-container {
        width: 151%;
        position: relative;
        margin: 3% 0;
    }

    .h-50vh {
        height: 23vh;
    }

    .h-105vh {
        height: 65vh;
    }

    .description-text {
        font-size: 12px;
        line-height: normal;
        position: absolute;
        bottom: 7%;
        margin: 0% 1%;
    }

    .property-legend {
        position: relative;
        top: 57%;
        left: 0%;
        gap: 1rem;
    }

    .description-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .heading-container {
        margin-bottom: 10px;
    }

    /*    .img-content {
        position: relative;
        left: 27%;
        height: 0%;
        margin: 1% 0;
        transform: scale(1);
        width: 45%;
    }*/

    /* .note {
        padding: 1% 9.5%;
    }*/

    .item-box {
        margin-bottom: 1%;
    }
}

@media (min-width: 1200px) {
    .plan-popup-img {
        height: 90%;
    }
}

@media (max-width: 912px) {
    .note-container {
        width: 151%;
        position: relative;
        margin: 3% 0;
    }

    .description-text {
        bottom: 0;
    }

    .h-105vh {
        height: 30vh;
    }
}

@media(max-width:820px) {
    .note-container {
    }

    .description-text {
        bottom: -1%;
        text-align: justify;
        padding: 0 3%;
    }

    h-105vh {
        height: 30vh;
    }
}

@media (max-width: 768px) {
    .tab {
        font-size: 15px;
        padding: 10px 5px;
        margin: 10px 2px;
        border-radius: 5px;
        /* text-align: left; */
    }

    .note {
        padding: 0;
    }

    .note-container {
        width: 153%;
        position: relative;
    }

    .content-section {
        padding: 0;
    }

    .site-plan-container {
        box-shadow: none;
    }

    .description-content {
        flex-direction: column;
        align-items: center;
        padding: 0
    }

    .heading-image {
        max-width: 100%;
        height: auto;
    }

    .h-50vh {
        height: 25vh;
    }

    .h-105vh {
        height: 30vh;
    }

    .description-text {
        font-size: 10px;
        line-height: 1.8;
        position: absolute;
        bottom: 0%;
        margin: 1% 0;
    }

    .property-legend {
        position: relative;
        top: 55%;
        left: 0%;
        gap: 0;
    }

    .green {
        margin-left: -7px;
    }

    .nhapho {
        margin-left: 30px;
    }

    /*        .img-content {
            position: relative;
            left: 28%;
            height: 0%;
            margin: 1% 0;
        }*/

    .circle-number {
        margin: 0;
        width: 24px;
        height: 24px;
    }

    .tf-098 {
        transform: scale(0.98);
    }

    .item-title {
        font-size: 10px;
    }

    .item-subtitle {
        font-size: 9px;
    }

    .circle-number {
        margin-right: 1%;
    }

    .legend-text {
        font-size: 10px;
    }

    .mb-item-desktop {
        display: none;
    }

    .mb-item-mobile {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        padding: 1rem;
    }

    .tabs-container {
        width: 100%;
        transform: scale(0.85)
    }
}

@media (max-width: 580px) {

    .note-container {
        width: auto;
        position: relative;
    }
    /*
        .img-content {
            position: relative;
            left: 13%;
            height: 0%;
            margin: 1% 0;
            width: 70%;
        */
}

.h-50vh {
    height: 40vh;
}

.h-105vh {
    height: 100vh;
}

.property-legend {
    position: relative;
    top: 46%;
    left: 0%;
    gap: 0.5rem;
}

.description-text {
    /*font-size: 1rem;*/
    position: absolute;
    bottom: 9%;
    margin: 1% 0;
}

}

@media (max-width: 480px) {
    .tab {
        font-size: 14px;
        padding: 8px 5px;
        margin: 10px 2px;
        border-radius: 5px;
    }

    .h-50vh {
        height: 50vh;
    }

    .h-105vh {
        height: 80vh;
    }

    .note {
        padding: 1% 9.5%;
    }

    .note-container {
        width: auto;
        position: relative;
    }

    .description-text {
        /*font-size: 0.9rem;*/
        position: absolute;
        bottom: 20%;
        margin: 1% 0;
    }

    .property-legend {
        position: relative;
        top: 28%;
        left: 0%;
        gap: 1rem;
    }

    /*      .legend-text {
            font-size: 13px;
        }*/

    .legend-quantity {
        font-size: 11px;
    }

    .legend-color {
        width: 16px;
        height: 16px;
    }

    .nhapho {
        margin-left: 25px;
    }

    .img-content {
        margin: 0;
    }

    .item-box {
        margin-bottom: 1%;
    }
}

@media (max-width: 375px) {
    .tab {
        font-size: 14px;
        padding: 10px 5px;
        margin: 5px 2px;
        border-radius: 5px;
    }

    .note {
        padding: 3% 0%;
    }

    .note-container {
        width: auto;
        position: relative;
    }

    .h-50vh {
        height: 50vh;
    }

    .h-105vh {
        height: 80vh;
    }

    .description-text {
        /*font-size: 0.9rem;*/
        position: absolute;
        bottom: 0%;
        margin: 1% 0;
    }

    .property-legend {
        position: relative;
        top: 32%;
        left: 0%;
        gap: 1rem;
    }
    /*
        .legend-text {
            font-size: 13px;
        }*/

    .legend-quantity {
        font-size: 11px;
    }

    .legend-color {
        width: 16px;
        height: 16px;
    }

    .nhapho {
        margin-left: 25px;
    }

    .img-content {
        margin: 0;
    }

    .item-box {
        margin-bottom: 1%;
    }

    /* .item-title {
            font-size: 0.85rem;
        }

        .item-subtitle {
            font-size: 0.65rem;
        }

        .circle-number {
            margin-right: 1%;
        }*/
}
