@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');



#bodyinicial {
    background-color: #101628;
    color: white;
}

  

.dialog-fila-digital {
    position: relative;
    overflow: hidden;
}

    .dialog-fila-digital::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("/images/logo.png"); /* coloque o caminho certo */
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.2; /* marca d'água bem leve */
        pointer-events: none;
        z-index: 0;
        background-size: 98% 98%; /* preenche tudo */
    }

    /* garante que o conteúdo fique acima da marca d’água */
    .dialog-fila-digital > * {
        position: relative;
        z-index: 1;
    }

.floating-green-dot {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 9999;
    min-height: 16px;
    border-radius: 50%;
    padding: 0;
}

.blur-overlay {
    backdrop-filter: blur(8px);
    background-color: rgba(0,0,0,0.25);
}

.product-card:focus,
.product-card:focus-visible {
    outline: none !important;
}

.gestao-pedido-page:focus,
.gestao-pedido-page:focus-visible {
    outline: none !important;
}

.produto-selecionado {
    border: 2px solid var(--mud-palette-primary);
    background-color: rgba(var(--mud-palette-primary-rgb), 0.12);
}

.mesa-card {
    position: relative;
}

.menu-icone {
    position: absolute;
    bottom: 2px;
    right: 2px;
    z-index: 10;
    padding: 4px;
}

/* para o diálogo de pagamento */
.dialog-pagamento-responsivo {
    width: 50vw; /* metade da tela em desktops */
    height: 100vh; /* ocupa 80% da altura da tela */
}

.dialog-pagamento-responsivo-edicao-valor {
    width: 30vw; /* metade da tela em desktops */
    height: 30vh; /* ocupa 80% da altura da tela */
}

.dialog-pagamento-responsivo-edicao-valor-fechamento {
    width: 30vw; /* metade da tela em desktops */
    height: 70vh; /* ocupa 80% da altura da tela */
}

/* em telas menores (tablets e celulares), ocupa tudo */
@media (max-width: 960px) {
    .dialog-pagamento-responsivo {
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
    .dialog-pagamento-responsivo-edicao-valor {
        width: 100vw !important;
        height: 50vh !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
}

.wait-cursor {
    cursor: wait !important;
}

#conteudoPdfRelatorioPedidos table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

#conteudoPdf table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.page-break {
    page-break-before: always;
}

/* força uma quebra depois do elemento */
.page-break-after {
    page-break-after: always;
}

.pagina-home {
    position: relative; /* referência para o overlay */
}

.product-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(16,24,40,0.12);
}

.novo-pedido-dialog .mud-dialog {
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    border-radius: 0;
    max-width: 100%;
    height: 100%;
    background-color: var(--mud-palette-background);
    overflow-y: hidden;
}

/* cobre só a área da página */
.overlay-blur {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: all;
}

.overlay-conteudo {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    max-width: 400px;
}

nav a {
    text-decoration: none !important;
}

.nav-menu a {
    text-decoration: none !important;
}

.overlay-fullscreen {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999; /* certifique-se de estar acima de outros elementos */
}
.full-height-container {
    position: relative;
    height: 100vh; /* ou 100% se o pai já controla a altura */
}

.dashboard-card {
    background-color: var(--mud-palette-surface);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.login-container {
    background: linear-gradient(135deg, #101628 0%, #0f172a 50%, #241f1e 100%);
    color: #1e293b;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 600;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: bold;
}


html, body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: normal;
    background-color: var(--mud-palette-background);
    color: var(--mud-palette-TextPrimary);
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: #F88113;
    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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTU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zYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: black;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.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: #F88113;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    margin-top: 0px;
    text-align: center;
    font-weight: bold;
    color: white;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Carregando");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


.card-complemento-hover {
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.card-complemento:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    background-color: var(--mud-palette-surface); /* ou outra cor */
}

/** --------------------------------- login ----------------------------------------------------*/
:root {
    --sophos-orange: #f97316;
    --sophos-orange-dark: #ea580c;
    --sophos-orange-light: #fed7aa;
}

body {
    /* background: linear-gradient(135deg, #fff7ed 0%, #ffffff 50%, #eff6ff 100%);*/
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.logo-container {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--sophos-orange), var(--sophos-orange-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.company-title {
    font-size: 2rem;
    font-weight: 900;
    color: #ffff;
    margin-bottom: 0.25rem;
}

.company-subtitle {
    color: var(--sophos-orange);
    font-weight: 600;
    margin-bottom: 2rem;
}

.login-card {
    background-color: #192436;
    backdrop-filter: blur(10px);
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.card-header {
    background: transparent;
    border: none;
    padding: 2rem 2rem 1rem;
}

.card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffff;
    margin-bottom: 0.5rem;
}

.card-description {
    color: #64748b;
    margin-bottom: 0;
}

.form-label {
    color: #ffff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.input-group {
    position: relative;
    margin-bottom: 1rem;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    z-index: 10;
}

.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px 12px 44px;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--sophos-orange);
        box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.25);
    }

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}

    .password-toggle:hover {
        color: var(--sophos-orange);
    }

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-check-input:checked {
    background-color: var(--sophos-orange);
    border-color: var(--sophos-orange);
}

.form-check-label {
    color: #ffff;
    font-size: 14px;
}



.btn-login {
    background: linear-gradient(135deg, var(--sophos-orange), var(--sophos-orange-dark));
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

    .btn-login:hover {
        background: linear-gradient(135deg, var(--sophos-orange-dark), #c2410c);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
        color: white;
    }

.signup-link:hover {
    color: var(--sophos-orange-dark);
}



.barcode {
    font-family: 'Libre Barcode 39', cursive;
    font-size: 48px;
}


.custom-striped tbody tr:nth-of-type(odd) {
    /*background-color: var(--mud-palette-primary) !important; /* azul claro, por exemplo */
}

@media (max-width: 576px) {
    .login-card {
        margin: 1rem;
    }

    .company-title {
        font-size: 1.75rem;
    }

    .mud-stepper .mud-stepper-step-title {
        display: none;
    }

    #merchantName {
        visibility:collapse;
    }

    #ProgramName {
        width: 100%;
    }
}







/*------------------------------------------Pagina em Construção-----------------------------------------------*/








.card {
    width: min(100%, 980px);
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00)), var(--card);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: clamp(24px, 3vw, 40px);
}

.title {
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.1;
    margin: 0;
    letter-spacing: .3px;
}

.subtitle {
    color: var(--muted);
    margin: 8px 0 0;
    font-size: clamp(14px, 1.7vw, 18px);
}

.content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: center;
}

@media (max-width: 800px) {
    .content {
        grid-template-columns: 1fr;
    }
}

.illustration {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)), linear-gradient(135deg, rgba(34,211,238,.08), rgba(245,158,11,.08));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

/* Faixa zebrada (obras) */
.tape {
    position: absolute;
    inset: 0 auto auto 0;
    width: 130%;
    height: 48px;
    transform: rotate(-8deg) translateY(0);
    background: repeating-linear-gradient(45deg, var(--brand) 0 24px, #1f2937 24px 48px);
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
    animation: tape-bob 3.5s ease-in-out infinite;
}

@keyframes tape-bob {
    0%,100% {
        transform: rotate(-8deg) translateY(0);
    }

    50% {
        transform: rotate(-8deg) translateY(-8px);
    }
}

/* Grua simples em SVG animada */
.crane {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.arm {
    transform-origin: 10% 50%;
    animation: arm-swing 3s ease-in-out infinite;
}

@keyframes arm-swing {
    0%,100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

.hook {
    animation: hook-bob 2.6s ease-in-out infinite;
    transform-origin: 50% 0%;
}

@keyframes hook-bob {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* Engrenagens girando */
.gear {
    opacity: .9;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
}

    .gear.small {
        animation: spin 10s linear infinite;
    }

    .gear.big {
        animation: spin 18s linear infinite reverse;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.progress {
    height: 8px;
    background: rgba(255,255,255,.08);
    border-top: 1px solid rgba(255,255,255,.08);
    position: relative;
    overflow: hidden;
}

    .progress::before {
        content: "";
        position: absolute;
        inset: 0;
        width: 35%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
        animation: shimmer 1.8s linear infinite;
    }

@keyframes shimmer {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(300%);
    }
}

.footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    color: var(--muted);
    font-size: 14px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34,211,238,.12);
    border: 1px solid rgba(34,211,238,.35);
    color: #000000;
    padding: 6px 12px;
    border-radius: 999px;
}

.btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    letter-spacing: .2px;
    transition: transform .1s ease, box-shadow .2s ease;
    color: #0b1220;
    background: linear-gradient(180deg, #f8fafc, #e2e8f0);
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

    .btn:hover {
        transform: translateY(-1px);
    }

    .btn:active {
        transform: translateY(0);
    }

/* A11y helpers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}