
/*:root {
    --primary-color: #ff4284;
    --secondary-color: #ff5691;
}*/

/*:root {
    --primary-color: #EA4C89;
    --secondary-color: #EA4C89;
}*/
/*
:root {
    --primary-color: #4c8bea;
    --secondary-color: #4c8bea;
}*/
/**/
/*:root {
    --primary-color: #ff4d97;
    --secondary-color: #ff4d97;
}*/

/*:root {
    --primary-color: #57d35c;
    --secondary-color: #d5ffd7;
}*/
:root {
    --primary-color: #7DFA02;
    --secondary-color: #d5ffd7;
    --app-bg: #010B03;
}

/*--box-color: #d5ffd7;*/
/*
:root {
    --primary-color: #4DD695;
    --secondary-color: #4DD695;
}*/
/*:root {
    --primary-color: #5443C9;
    --secondary-color: #5443C9;
}*/
/*
:root {
    --primary-color: #f44336;
    --secondary-color: #f44336;
}*/
/* For Webkit browsers (Chrome, Safari, newer Edge) */
::-webkit-scrollbar {
    width: 3px; /* Very thin scrollbar */
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #4caf50;
    border-radius: 2px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #4caf50; /* Slightly darker on hover */
    }

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #4caf50 transparent;
}

@font-face {
    font-family: 'Barlow';
    src: url('./fonts/Barlow-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html, body {
    /* font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    font-family: 'Barlow', sans-serif;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
    overflow-x: hidden;
    color: white;
    background : var(--app-bg);
    font-size : 14px;
}

button {
    cursor: pointer;
    color : white;
}

.app-bg{
    background : var(--app-bg) !important;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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;
    }

.landing-logo {
    border: 3px solid;
    border-color: white;
    border-radius: 50%;
    padding: 7px 5px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.6);
}


.landing-btn-arrowbox {
    background: var(--primary-color);
    position: absolute;
    right: 10px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50%;
    transform: rotate(130deg);
}

.fixedfullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loading-main-box {
    display: none;
    z-index: -100000;
    align-items: center;
    justify-content: center;
    background: rgb(63 63 63 / 71%);
    color: var(--primary-color);
}

.showloading .loading-main-box {
    display: flex;
    z-index: 100000;
}

    .showloading .loading-main-box .loading-content {
        animation: loading-ani;
        animation-duration: 1s;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
        animation-direction: alternate;
    }


@keyframes loading-ani {
    0% {
        transform: rotate(45deg);
    }

    25% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-45deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.splashscreen-container {
    position: fixed;
    display: none;
    z-index: -100000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: var(--app-bg);
    color: white;
}

.showsplashscreen .splashscreen-container {
    display: flex;
    z-index: 100000;
}

.splashscreen-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*.splload-box {
    height: 10px;
    width: 200px;
    background: white;
    display: flex;
    align-items: center;
    justify-items: center;
    border-radius: 7px;
    position: relative;
    margin-top: 15px;
}

    .splload-box .splload-bar {
        height: 12px;
        width: var(--blazor-load-percentage);
        transition: all ease-in-out 0.3s;
        border-radius: 7px;
        background: var(--primary-color);
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        box-shadow: rgb(53 53 73 / 52%) -1px 0px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    }*/

/* Circular loader using div only */
.circle-loader {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient( var(--primary-color) 0% calc(var(--blazor-load-percentage)), #2d3748 calc(var(--blazor-load-percentage)) 100% );
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* Inner circle (for ring/donut style) - remove this if you want full pie */
    .circle-loader::before {
        content: '';
        position: relative;
        width: 72px;
        height: 72px;
        background: var(--app-bg);
        border-radius: 50%;
    }

    .circle-loader svg {
        position : absolute;
    }

/* Smooth transition when percentage changes */
.circle-loader {
    transition: background 0.2s ease;
}

/* ==================== Order Page Css =========================*/
/* Container */
/* Items Grid - 2 items per row on small screens */
.items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
/* Menu Card */
.menu-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /*  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;*/
}

    .menu-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
/* Menu Image */
.menu-image-wrapper {
    background: #f5f5f5;
}

.menu-image {
    transition: transform 0.3s ease;
}

.menu-card:hover .menu-image {
    transform: scale(1.05);
}

.menu-info {
    background: #2f2f2f;
}

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* Add to Cart Button */
.add-to-cart-btn {
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

    .add-to-cart-btn:hover:not(:disabled) {
        transform: scale(1.02);
        opacity: 0.9;
    }

    .add-to-cart-btn:disabled {
        background: #ccc !important;
        cursor: not-allowed;
        opacity: 0.6;
    }
/* Floating Cart */
.cart-floating-btn {
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

    .cart-floating-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(243,64,117,0.4);
    }
/* Drawer */
.drawer-overlay {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
}

.cart-drawer {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}
/* Modal Center */
.translate-center {
    transform: translate(-50%, -50%);
}
/* Utilities */
.object-fit-cover {
    object-fit: cover;
}

.border-t-1px {
    border-top: 1px solid #e0e0e0;
}

.border-b-1px {
    border-bottom: 1px solid #e0e0e0;
}

.border-1px {
    border: 1px solid #e0e0e0;
}

.bg-gray-light {
    background: #f8f9fa;
}

.max-w-350px {
    max-width: 350px;
}

.max-w-380px {
    max-width: 380px;
}

.max-w-450px {
    max-width: 450px;
}

.flex-1 {
    flex: 1;
}

.line-height-1_3 {
    line-height: 1.3;
}
/* Desktop: 3-4 items per row */
@media (min-width: 640px) {
    .items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .items-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}
/* Small screen adjustments */
@media (max-width: 480px) {
    .items-grid {
        gap: 10px;
    }

    .menu-info {
        padding: 8px !important;
    }

    .f-s-14 {
        font-size: 12px !important;
    }

    .f-s-16 {
        font-size: 14px !important;
    }
}


/*.dd {
    background: #f9f9f9;
    border-bottom: 1px solid #cbcbcb;
}
*/

.adrbox {
    background: #e1e1e191;
    border-radius: 10px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.clickblocker {
    z-index: -100000;
    display: none;
    visibility: hidden;
    opacity: 0;
}

    .clickblocker.cbshow {
        z-index: 100000;
        display: block;
        visibility: visible;
        opacity: 1;
    }


/*============================== Car Moving Animation =======================*/

.car-container {
    position: relative;
    width: 130px;
    height: 30px;
    overflow: hidden;
}

/* Semi-transparent road */
.road-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: repeating-linear-gradient( 90deg, rgba(30, 30, 40, 0.7) 0px, rgba(30, 30, 40, 0.7) 25px, rgba(50, 50, 60, 0.7) 25px, rgba(50, 50, 60, 0.7) 50px );
    animation: slideRoad 1.5s linear infinite;
    border-radius : 7px;
}

/* Road dashed line */
.road-markings {
    position: absolute;
    bottom: 22%;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient( 90deg, rgba(255, 220, 100, 0.9), rgba(255, 220, 100, 0.9) 25px, transparent 25px, transparent 50px );
    animation: slideRoad 1.5s linear infinite;
}

/* Car on the right */
.car-wrapper {
    position: absolute;
    right: 5px;
    bottom: 5%;
    width: 30px;
    height: 30px;
    z-index: 10;
    animation: engineShake 0.25s ease-in-out infinite;
}

.car-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(3px 5px 8px rgba(0,0,0,0.4));
}

@keyframes slideRoad {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 0;
    }
}

@keyframes engineShake {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-1.5px) rotate(0.3deg);
    }

    75% {
        transform: translateY(1.5px) rotate(-0.3deg);
    }
}

/* Speed lines effect */
.speed-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

    .speed-lines::before,
    .speed-lines::after {
        content: '';
        position: absolute;
        top: 30%;
        width: 2px;
        height: 20px;
        background: rgba(255, 255, 255, 0.4);
        animation: speedLine 0.8s linear infinite;
    }

    .speed-lines::before {
        left: 10%;
        animation-delay: 0s;
    }

    .speed-lines::after {
        left: 30%;
        animation-delay: 0.4s;
    }

@keyframes speedLine {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateX(300%);
        opacity: 0;
    }
}

/*============================== Car Moving Animation =======================*/