﻿:root {
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.dswipper .header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px; 
}

    .dswipper .header-controls .title {
        color: #333;
        padding-right: 0.75rem;
        border-right: 4px solid #e88301;
    }

    .dswipper .header-controls .controls {
        display: flex;
        gap: 0.5rem; /* space-x-2 */
    }

    .dswipper  .nav-btn {
        padding: 0.5rem;
        border-radius: 9999px;
        background-color: #1c7cb5;
        color: #fff;
        box-shadow: var(--shadow-md);
        border: none;
        cursor: pointer;
        transition: all 300ms ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .dswipper .nav-btn:hover {
            background-color: #fff;
            color: white;
            color: #1c7cb5;
        }

.card-carousel {
    display: flex;
    overflow-x: scroll;
    gap: 5px; 
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none; 
}

    .card-carousel::-webkit-scrollbar {
        display: none;
    }



    .card-carousel .card-item {
        flex-shrink: 0;
        width: 215px;
        overflow: hidden;
        transition: box-shadow 300ms ease;
        position: relative;
    }

        .card-carousel .card-item:hover {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* hover:shadow-xl */
        }


        .card-carousel .card-item::before {
            content: "";
            position: absolute;
            bottom: 85px;
            left: 25px;
            width: 25px;
            z-index: 2;
            --r: 2px;
            --_g: calc(tan(60deg) * var(--r)) bottom var(--r), red 98%, #0000 101%;
            aspect-ratio: 1 / cos(30deg);
            -webkit-mask: conic-gradient(from -30deg at 50% calc(200% - 3 * var(--r) / 2), #000 60deg, #0000 0) 0 100% / 100% calc(100% - 3 * var(--r) / 2) no-repeat, radial-gradient(var(--r) at 50% calc(2 * var(--r)), #000 98%, #0000 101%), radial-gradient(var(--r) at left var(--_g)), radial-gradient(var(--r) at right var(--_g));
            clip-path: polygon(50% 0, 100% 100%, 0 100%);
            transform: rotate(90deg);
            background: #fff;
            transition: all .2s;
            pointer-events: none;
        }
        .card-carousel .card-item::after {
            content: "";
            position: absolute;
            bottom: 76px;
            left: 15px;
            z-index: 1;
            background: linear-gradient(45deg, #e88301, #c05429);
            width: 40px;
            height: 40px;
            border-radius: 50px;
            transition: all .3s;
            pointer-events: none;
        }

        .card-carousel .card-item a {
            text-decoration: none;
            color: inherit;
            display: block;
        }

            .card-carousel .card-item a img {
                width: 100%;
                height: 9rem; /* h-48 */
                object-fit: cover;
            }

    .card-carousel .card-content {
        padding: 2px; /* p-4 */
    }

    .card-carousel .card-title {
        font-size: 12px; /* text-lg */
        font-weight: 600; /* font-semibold */
        color: #1f2937;
        line-height: 1.375;
        text-align: center;
    }

    .card-carousel .card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.875rem; /* text-sm */
        color: #6b7280; 
        margin-top: 0.75rem; 
    }

/*card-item-reels*/
.card-carousel .card-item-reels {
    flex-shrink: 0;
    width: 165px;
    background-color: white;
    overflow: hidden;
    transition: box-shadow 300ms ease;
}

        .card-carousel .card-item-reels:hover {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* hover:shadow-xl */
        }

        .card-carousel .card-item-reels a {
            text-decoration: none;
            color: inherit;
            display: block;
            position: relative;
        }

            .card-carousel .card-item-reels a img {
                width: 100%;
                height: 260px;
                object-fit: inherit;
            }


        .card-carousel .card-item-reels .card-reels-view {
            position: absolute;
            bottom: 0;
            left: 0;
            color: #fff;
            font-size: 11px;
            margin: 0 0px 5px 10px;
        }

            .card-carousel .card-item-reels .card-reels-view svg {
                width: 15px;
                fill: #fff;
            }




        .card-carousel .card-item-reels .layerg {
            background-image: linear-gradient(0deg, var(--always-dark-overlay), transparent);
        }
/*card-item-reels*/



/*card important teams-leages*/
.importantSwip {
    position: relative;
    margin: 5px 0 0 !important;
    padding: 0 4px 15px 3px !important;
    direction: rtl;
    display: block;
    width: 100%;
}
    .importantSwip .card-carousel {
        margin: 0 25px;
    }

    .importantSwip a {
        text-align: center;
        text-decoration: none !important;
        display: block;
        color: #333 !important;
    }

        .importantSwip a img {
            width: 40px !important;
            height: 40px !important;
            margin: 0 auto !important;
        }

        .importantSwip a h3 {
            font-size: 13px;
            font-weight: 600;
            margin-top: 5px;
        }

    .importantSwip .card-team {
        flex-shrink: 0;
        width: 128px;
        overflow: hidden;
        transition: box-shadow 300ms ease;
        position: relative;
        background: #fff;
        border-radius: 4px;
        border-bottom: 2px solid #4c9ce1 !important;
        -ms-touch-action: pan-y;
        touch-action: pan-y;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        float: right;
        background: #fff;
        height: 100px;
        padding: 10px;
    }


    .importantSwip button#nextBtn {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 999;
        height: 100px;
        border-radius:0;
 }

    .importantSwip button#prevBtn {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 999;
        height: 100px;
        border-radius: 0;
    }
/*card important teams-leages*/
