@tailwind base;
@tailwind components;
@tailwind utilities;

/* fonts  */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com");
@import url("https://fonts.gstatic.com");
@import url("https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

.poppins {
    font-family: "Poppins", sans-serif;
}

/* input filed css  */
.public {
    font-family: "Public Sans", sans-serif;
    font-optical-sizing: auto;
}

.text-color {
    color: #333333;
}

.text-color2 {
    color: #2c2c2c;
}

.text-color3 {
    color: #6f6c90;
}

.instrument {
    font-family: "Instrument Sans", sans-serif;
    font-optical-sizing: auto;
}

.inter {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
}

.poppins {
    font-family: "Poppins", sans-serif;
}

.hero-title {
    background: radial-gradient(
        50% 50% at 50% 50%,
        #941ddc 79.5%,
        rgba(0, 0, 0, 0.8) 100%
    );
    color: transparent;
    background-clip: text;
}

.Features-card {
    background: radial-gradient(50% 239.54% at 50% 50%, #ead2f9 0%, #efecf0 100%);
    /* border: 1px solid var(--200, #D5A5F3); */
}

.values-card {
    background: radial-gradient(50% 239.54% at 50% 50%, #ead2f9 0%, #efecf0 100%);
}

/* priceing css  */
.instrument-sans {
    font-family: "Instrument Sans", sans-serif;
    font-optical-sizing: auto;
}

.poppins {
    font-family: "Poppins", sans-serif;
}

.public-sans {
    font-family: "Public Sans", sans-serif;
    font-optical-sizing: auto;
}

/* pricing cards */
.card-border {
    border-radius: 22px;
    border: 2px solid rgba(15, 3, 23, 0.8);
}

.offer-bg {
    border-radius: 5px;
    background: rgba(25, 28, 31, 0.25);
}

.pricing-li {
    color: #000;
    font-family: "Public Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    /* 28px */
    display: flex;
    align-items: center;
    /* gap: 14px; */
}

/* faq */
.question {
    color: #170f49;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: start;
}

.answer {
    color: #6f6c90;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    text-align: start;
}

.contact-p {
    color: #2c2c2c;
    font-family: "Public Sans", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.contact-title {
    color: #000;
    font-family: "Public Sans", sans-serif;
    font-optical-sizing: auto;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.see-more {
    color: #941ddc;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.swiper-pagination-bullet {
    background: rgba(0, 0, 0, 0.3) !important;
}

/* index page  */
.indexPage {
    .swiper-pagination-bullet {
        width: 16px !important;
        height: 16px !important;
        background: black !important;
    }

    .swiper-pagination-bullet-active {
        opacity: var(--swiper-pagination-bullet-opacity, 1);
        background: #941ddc !important;
        width: 54px !important;
        height: 16px !important;
        border-radius: 10px !important;
    }

    .swiper-horizontal > .swiper-pagination-bullets,
    .swiper-pagination-bullets.swiper-pagination-horizontal {
    }

    .swiper {
        width: 100%;
        height: 100%;
    }

    .mySwiper {
        padding-bottom: 70px;
    }

    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
    }

    .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .swiper-slide {
        width: 45%;
    }
}

.rotate-90 {
    transform: rotate(90deg);
    transition: transform 0.3s ease-in-out;
}

/* forget password page  */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 20px;
    box-sizing: border-box;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #941ddc;
}

input:focus + .slider {
    box-shadow: 0 0 1px #941ddc;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* marketplace page  */
.marketPage {
    .swiper-button-next:after {
        display: none;
    }

    .swiper-button-prev:after {
        display: none;
    }

    .swiper-button-prev {
    }

    .swiper-button-next {
    }
}

/* order page  */
.SellEzipizy {
    background: linear-gradient(94.74deg, #be73ed 15.12%, #941ddc 84.88%);
}

.orderPage {
    .useracount {
        background: radial-gradient(
            50% 239.54% at 50% 50%,
            #ead2f9 0%,
            #efecf0 100%
        )
        /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
    }

    .hidden {
        display: none;
    }

    .options-menu {
        border: 1px solid #941ddc;
        background-color: white;
        padding: 6px 14px;
        border-radius: 5px;
        position: absolute;
        margin-top: 7px;
        z-index: 9999px;
    }
}

@media screen and (min-width: 768px) {
    .about-slider {
        .swiper-button-prev {
            position: absolute;
            left: 50%;
            background-color: #941ddc;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            transform: translateX(-50%);
            font-size: 5px !important;
            color: white;
            z-index: 3 !important;
        }

        .swiper-button-prev:after {
            font-size: 24px !important;
        }
    }
}

@media screen and (max-width: 767px) {
    .about-slider {
        .swiper-button-prev {
            position: absolute;
            left: 50%;
            background-color: #941ddc;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            transform: translateX(-50%);
            color: white;
        }

        .swiper-button-prev:after {
            font-size: 18px !important;
        }
    }
}

.custom-nav {
    color: #6b21a8;
    /* purple shade */
    font-size: 30px;
    z-index: 20;
}

.swiper-slide {
    width: 300px;
    /* width of each slide */
    opacity: 0.5;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.swiper-slide-active {
    transform: scale(1);
    opacity: 1;
    z-index: 10;
}

.swiper-slide-prev {
    opacity: 0.7;
    transform: scale(0.6) translateX(-50%);
    z-index: 5;
}

.swiper-slide-next {
    opacity: 0.5;
    transform: scale(0.5);
}

.custom-slide {
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .swiper-slide {
        width: 400px;
    }

    .swiper-slide-active .custom-slide {
        max-height: 600px;
    }

    .swiper-slide-prev .custom-slide {
        max-height: 400px;
    }
}
.setting-pay {
    border-radius: 5px;
    border: 1px solid var(--400, #a946e7);
    background: radial-gradient(
        244.71% 70.71% at 50% 50%,
        #ead2f9 0%,
        #efecf0 100%
    );
}

#successModal:target,
#warningModal:target,
#dangerModal:target {
    display: block;
}

#successModal,
#warningModal,
#dangerModal {
    display: none;
}

.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #BE73ED #f1f1f1; /* Firefox */
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #BE73ED;
    border-radius: 4px;
    border: 2px solid #f1f1f1;
}