@import "tailwindcss";
@config "../../tailwind.config.js";

/* scan all Razor files in VineDesk.UI project */
@source "../../**/*.razor";

/* optional */
@source "../../**/*.html";
@source "../../**/*.js";

/* DialogHost.razor */
@source inline("max-w-3xl max-w-lg"); 
/* FilterDropdown.razor */
@source inline("block hidden");
@source inline("absolute -right-4 top-[14px] mt-[14px] min-w-[191px] overflow-hidden rounded-lg border border-brand-light bg-white px-[13px] pb-[15px] pt-[6px] xl:right-0 [box-shadow:2px_2px_8px_rgba(43,45,65,0.08)]"); /* FilterDropdown.razor */
/* SearchField.razor */
@source inline("rounded-[5px] rounded-md rounded-2xl");
/* Dropdown.razor */
@source inline("flex cursor-pointer select-none items-stretch justify-between overflow-hidden rounded-md border border-brand-light bg-white text-xs font-semibold text-brand-dark");
@source inline("absolute left-0 z-10 mt-3 w-full overflow-hidden rounded-lg border border-brand-light bg-white [box-shadow:2px_2px_8px_rgba(43,45,65,0.08)]");
@source inline("inline-flex w-full cursor-pointer items-center gap-2 px-3 py-[7px] text-xs first:rounded-t-lg last:rounded-b-lg hover:bg-gray-100");
@source inline("font-bold");
/* Stepindicator.razor */
@source inline("block h-[6px] w-full rounded-[60px] bg-neutral-mobilebg-[#ECECEC]");
/* OrderCard.razor */
@source inline("bg-blue-50 text-blue-700 border-blue-700 bg-green-100 text-green-700 border-green-700 bg-yellow-100 text-yellow-800 border-yellow-800");
/* _Order.razor */
@source inline("flex items-center justify-center rounded-full border-[1px] px-2.5 py-0.5 text-[12px]");
@source inline("");
@source inline("");
@source inline("");
@source inline("");
@source inline("");
@source inline("");
@source inline("");
@source inline("");
@source inline("");
@source inline("");
@source inline("");

@source inline("pl-[16px] pl-[32px]");
@source inline("flex items-center justify-center rounded-full border-[1px] px-2.5 py-0.5 text-[12px]");
@source inline("border-border-icon text-[#292D32] bg-white border-border-icon bg-[#292D32] text-white"); /* _Order.razor */
@source inline("w-1 h-1 w-2 h-2 w-3 h-3 w-4 h-4 w-5 h-5 w-6 h-6"); /* _Order.razor */
@source inline("pr-[56px] pr-[16px]"); /* TextField.razor */
@source inline("block h-[6px] w-full rounded-[60px] bg-neutral-mobile bg-[#ECECEC] grid-cols-1 grid-cols-2 grid-cols-3 grid-cols-4 grid-cols-5 grid-cols-6"); /* StepIndicator.razor */
@source inline("flex cursor-pointer select-none items-stretch justify-between overflow-hidden rounded-md border border-brand-light bg-white text-xs font-semibold text-brand-dark absolute left-0 z-10 mt-3 w-full overflow-hidden rounded-lg border border-brand-light bg-white [box-shadow:2px_2px_8px_rgba(43,45,65,0.08)] inline-flex w-full cursor-pointer items-center gap-2 px-3 py-[7px] text-xs first:rounded-t-lg last:rounded-b-lg hover:bg-gray-100 font-bold"); /* Dropdown.razor */
@theme {
    --font-work-sans: "Work Sans", sans-serif;
}

h2 {
    @apply font-medium text-[18px] text-black transition-all md:text-[24px];
}

h3 {
    @apply font-medium text-[14px] text-neutral transition-all md:text-[16px];
}

p {
    @apply font-normal text-[12px] text-neutral;
}

/* hide scrollbar but allow scroll */
.scrollbar-hide,
.no-scrollbar {
    -ms-overflow-style: none; /* IE/Edge legacy */
    scrollbar-width: none; /* Firefox */
}

    .scrollbar-hide::-webkit-scrollbar,
    .no-scrollbar::-webkit-scrollbar {
        display: none; /* Chrome/Safari/WebKit */
    }

/* defined by manik */
.active-ft span {
    @apply font-semibold text-white;
}

.active-ft svg path {
    fill: white !important;
    stroke: white !important;
    opacity: 1 !important;
}

.active-ft .footer-bar {
    @apply opacity-100;
}

.footer-bar {
    @apply opacity-0 transition-opacity duration-300;
}

.shaper {
    background: linear-gradient(180deg, #7168cd 0%, #786edb 100%);
}

.loginbox {
    border: 1px solid #f6f5fa;
    box-shadow: 4px 3px 32px rgba(204, 202, 223, 0.26);
}

.inputshadow {
    box-shadow: 0px 2px 50px rgba(104, 96, 193, 0.07);
}

.loginbg {
    background: linear-gradient(180deg, #5d55b2 0%, #746bd2 100%);
}

.whitetrans {
    background: linear-gradient( 180deg, rgba(255, 255, 255, 0.8) 0%, #ffffff 117.86% );
}

.shadow-ma {
    box-shadow: 4px 3px 32px rgba(204, 202, 223, 0.26);
}

.popupbg {
    background: rgba(16, 16, 16, 0.3);
    backdrop-filter: blur(1px);
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* show tooltips */

.tooltip {
    position: relative;
    /*cursor: help;*/
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 0.65rem;
    transition: opacity 0.2s;
    z-index: 1000;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }