.compare-container {
    width: 100vw;
    height: 100vh;

    background: var(--background-color-secondary);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;

    .compare-wrapper {
        min-width: 312px;
        min-height: 363px;
        background: var(--background-color);
        padding: 20px;
        border-radius: 24px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        backdrop-filter: blur(50px);
        outline: 1px solid var(--border-color);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
        position: relative;

        .grid-wrapper {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 100%;
            border-radius: 20px;
            position: relative;

            background-size: 52px 52px;
            background-repeat: repeat;



            >* {
                position: relative;
                z-index: 2;
            }

            .header {
                text-align: center;
                font-size: var(--font-size-small);
                margin-bottom: 8px;
            }

            .cards-container {
                margin-top: 30px;
                display: flex;
                justify-content: center;
                align-items: center;

                .card {
                    background: var(--background-color);
                    backdrop-filter: blur(20px);
                    width: 100px;
                    height: 100px;
                    margin: 10px;
                    border-radius: 10px;
                    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                    position: absolute;


                }


            }

            .card-layout-wrapper {
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 10px;

                background: var(--background-color);
                backdrop-filter: blur(20px);
                border-radius: 20px;
                outline: 1px solid var(--border-color);
            }

            .card-layout-container {
                width: 130px;
                height: 130px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
                display: flex;
                flex-direction: column;
                justify-content: space-around;

                align-items: center;
                padding: 10px;

                outline: 1px solid var(--border-color);
                outline-offset: -1px;
                border-radius: 12px;
                background: var(--background-color);

                .tab-header {
                    display: flex;
                    justify-content: space-between;
                    width: 100%;

                    .label-tab {
                        font-size: var(--font-size-small);
                    }

                    .status {
                        width: 10px;
                        height: 10px;
                        border-radius: 50%;
                        background-color: #5a33a3;
                    }

                }



                .skeleton-wrapper {

                    width: 100%;
                    display: flex;
                    flex-direction: column;
                    gap: 6px;
                    justify-content: center;
                    align-items: center;

                    .skeleton {
                        height: 2.662480115890503px;

                        &:nth-child(1) {
                            width: 40%;
                        }

                        &:nth-child(2) {
                            width: 70%;
                        }

                        &:nth-child(3) {
                            width: 40%;
                        }
                    }

                }
            }

            .button-wrapper {
                margin-top: 20px;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 12px;

                .button-group {
                    display: flex;
                    gap: 8px;

                    .btn {
                        padding: 10px 16px;
                        font-size: var(--font-size-small);
                        border-radius: 30px;
                        cursor: pointer;
                        transition: all 0.3s ease;
                        user-select: none;
                    }

                    .save {
                        background-color: #6f42c1;
                        color: white;
                        box-shadow: 0px 2px 8px rgba(111, 66, 193, 0.4);

                        &:hover {
                            background-color: #5a33a3;
                        }
                    }

                    .replace {
                        border: 1px solid #6f42c1;
                        color: #6f42c1;
                        background: transparent;

                        &:hover {
                            background-color: rgba(111, 66, 193, 0.08);
                        }
                    }
                }

                .cancel {
                    color: red;
                    font-size: var(--font-size-small);
                    cursor: pointer;
                }
            }
        }

        .footer {
            font-size: var(--font-size-small);
            opacity: 0.7;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
    }


}




.cards-container {
    margin-top: 30px;
    position: relative;
    width: 100%;
    height: 150px;

    .card {
        position: absolute;
        width: 100px;
        height: 100px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1;

        &:nth-child(1) {
            left: -10px;
            transform: scale(0.8);
        }

        &:nth-child(2) {
            right: -10px;
            transform: scale(0.8);
        }

        &:nth-child(4) {
            left: 20px;
            transform: scale(1);
        }

        &:nth-child(5) {
            right: 20px;
            transform: scale(1);
        }
    }

    .card-layout-wrapper {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        z-index: 2;

        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;

        background: var(--background-color);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        outline: 1px solid var(--border-color);
    }
}