﻿:root {
    --clr-bg-senary: linear-gradient(90deg, #FC9D81 0%, #D50656 100%);
    --clr-bg-white: #FFFFFF;
    --clr-text-white: #FFFFFF;
    --clr-bg-brand-primary-200: #F8A6A8;
    --clr-bg-brand-primary-700: #920B11;
    --clr-border-brand-primary-500: #E9242B;
}

.paging-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 16px;
    width: auto;
    height: 42px;
    flex-shrink: 0;
}

.paging-control {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 2px;
    gap: 16px;
    height: 100%;
    aspect-ratio: 1 / 1;
    border: 0;
    border-radius: 100%;
    position: relative;
    overflow: hidden;
    z-index: 0;
    background: var(--clr-bg-white);
    cursor: pointer;
    box-shadow: 0px 0px 4.5px 0.75px rgba(77, 77, 77, 0.25);
}

    .paging-control::before {
        content: "";
        position: absolute;
        inset: 0;
        padding: 2px;
        background: var(--clr-bg-senary);
        border-radius: 42px;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        z-index: -2;
    }

    .paging-control::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        transform: translate(-50%, -50%);
        background: var(--clr-bg-senary);
        border-radius: 50%;
        transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
        z-index: -1;
        aspect-ratio: 1 / 1;
    }

    .paging-control:hover::after {
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .paging-control:hover > svg > path {
        fill: var(--clr-text-white);
        transition: fill 0.3s ease-in-out;
    }

.paging-page-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 16px;
    width: auto;
    height: 28px;
}

.paging-page {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 10px;
    width: 12px;
    height: 12px;
    border-radius: 12px;
    background: var(--clr-bg-brand-primary-200);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

    .paging-page.active {
        border: 1px solid var(--clr-border-brand-primary-500);
        border-radius: 16px;
        height: 100%;
        width: 52px;
        background-color: var(--clr-bg-white);
        padding: 12px;
    }

        .paging-page.active::before {
            content: "";
            position: absolute;
            padding: 2px;
            background: var(--clr-bg-brand-primary-700);
            border-radius: 12px;
            height: 12px;
            width: calc(100% - 16px);
            z-index: -2;
            box-sizing: border-box;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

.drag-scroll {
    scroll-behavior: smooth;
    overflow-x: auto;
}


@media (max-width: 1200px) {
    .paging-container {
        width: 100%;
        justify-content: center;
    }
}

/* Tablets (portrait) and small laptops */
@media (max-width: 992px) {
}
/* Phones (landscape) */
@media (max-width: 768px) {
}
/* Phones (portrait) */
@media (max-width: 576px) {
    .paging-container {
        padding: 0 16px;
    }
}
