/* _content/Wawi/Views/Components/ModalForm/ModalFormComponent.cshtml.rz.scp.css */
.wawi-modal[b-wjdghm5tnw] {
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}

.wawi-modal .modal-content[b-wjdghm5tnw] {
    max-height: calc(100vh - 4rem);
    padding: 0.5rem;

    form {
        overflow: auto;
    }
}

.wawi-modal .modal-body[b-wjdghm5tnw] {
    overflow: auto;
}

.wawi-modal .modal-dialog[b-wjdghm5tnw] {
    max-height: calc(100vh - 3rem);
    min-height: 180px;
}

.wawi-modal .modal-content[b-wjdghm5tnw] {
    max-height: calc(100vh - 4rem);
    min-height: 180px;
}

.wawi-modal .modal-content[b-wjdghm5tnw] {
    height: auto;
}
/* _content/Wawi/Views/Components/ModalForm/_BigTextModalField.cshtml.rz.scp.css */
.big-text-modal-field[b-syt33o4bzf] {
    position: relative;
}

.big-text-wrapper[b-syt33o4bzf] {
    position: relative;
    width: 100%;
    min-height: 38px;
}

.big-text-wrapper > label[b-syt33o4bzf] {
    z-index: 3002;
    pointer-events: none;
}

.big-text-counter[b-syt33o4bzf] {
    position: absolute;
    top: 0.35rem;
    right: 0.75rem;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    pointer-events: none;
    z-index: 3001;
    background: rgba(255, 255, 255, 0.85);
    padding: 0.05rem 0.35rem;
    border-radius: 0.35rem;
}

.big-textarea[b-syt33o4bzf] {
    width: 100%;
    resize: none;
    overflow: hidden;
    transition: height 0.2s ease-out, box-shadow 0.15s ease-out, z-index 0s;
    position: relative;
    z-index: 1;
    padding-right: 5.5rem;
}

/* When focused: expand for comfortable writing */
.big-textarea.expanded[b-syt33o4bzf] {
    height: 180px !important;
    overflow-y: auto;
    z-index: 2000;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    position: relative;
}
/* _content/Wawi/Views/Components/ModalForm/_CheckBoxModalField.cshtml.rz.scp.css */
.form-check[b-dsgpmxhqm9] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 8px 0;
}

.form-check-input[b-dsgpmxhqm9] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-check-label[b-dsgpmxhqm9] {
    cursor: pointer;
    user-select: none;
}
/* _content/Wawi/Views/Components/ModalForm/_DimensionsModalField.cshtml.rz.scp.css */
.dimensions-row[b-adcb2qa4p6] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    align-items: end;
}

    .dimensions-row > div[b-adcb2qa4p6] {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .dimensions-row label[b-adcb2qa4p6] {
        font-size: 0.85rem;
        color: var(--color-text-muted);
        font-weight: 500;
        white-space: nowrap;
    }

    .dimensions-row .form-control[b-adcb2qa4p6] {
        width: 100%;
        height: 38px;
    }

@media (max-width: 640px) {
    .dimensions-row[b-adcb2qa4p6] {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* _content/Wawi/Views/Components/ModalForm/_DropdownModalFieldItems.cshtml.rz.scp.css */
.search-dropdown-menu[b-dgnfzd1bjl] {
    display: block;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: var(--input-bg);
    border: 1px solid #ddd;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 2000;
}

.search-dropdown-item[b-dgnfzd1bjl] {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-text);
    transition: background 0.1s;
    min-height: 38px;
}

.search-dropdown-item:last-child[b-dgnfzd1bjl] {
    border-bottom: none;
}

.search-dropdown-item:hover[b-dgnfzd1bjl],
.search-dropdown-item:focus[b-dgnfzd1bjl] {
    background-color: #f0f0f0;
    color: var(--color-primary);
    outline: none;
}
/* _content/Wawi/Views/Components/ModalForm/_SearchDropdownModalField.cshtml.rz.scp.css */
/* Minimal positioning fixes for the HTMX-rendered dropdown-menu */

.search-dropdown-component[b-r3mnyc4pz8] {
    position: relative;
}

.search-dropdown-component .dropdown-menu[b-r3mnyc4pz8] {
    max-height: 250px;
    overflow-y: auto;
}

/* Keep the clear button the same height as inputs */
.sd-clear-btn[b-r3mnyc4pz8] {
    min-width: 38px;
}
/* _content/Wawi/Views/Components/Navbar.cshtml.rz.scp.css */
/* Sidebar Container */
.sidebar[b-3ijttn8suw] {
    width: var(--sidebar-width);
    height: 100%;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--sidebar-border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sidebar Header */
.sidebar-header[b-3ijttn8suw] {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--sidebar-border);
    position: relative;
}

    .sidebar-header h2[b-3ijttn8suw] {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--color-primary);
        margin: 0;
        letter-spacing: -0.025em;
    }

/* Sidebar Close Button (Mobile) */
.sidebar-close-btn[b-3ijttn8suw] {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid var(--sidebar-border);
    border-radius: 10px;
    color: #374151;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.08s ease;
}

    .sidebar-close-btn:hover[b-3ijttn8suw] {
        background-color: var(--nav-item-hover-bg);
        color: var(--color-primary);
        transform: translateY(-50%) translateY(-1px);
    }

    .sidebar-close-btn:focus-visible[b-3ijttn8suw] {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(122, 7, 229, 0.25);
        border-color: rgba(122, 7, 229, 0.55);
    }

/* Sidebar Menu Area */
.sidebar-menu[b-3ijttn8suw] {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    overflow-y: auto;
}

.sidebar-menu-top[b-3ijttn8suw] {
    flex: 1;
}

.sidebar-menu-bottom[b-3ijttn8suw] {
    margin-top: auto;
    padding-top: 0.5rem;
}

/* Navigation Links */
.nav-link[b-3ijttn8suw] {
    display: flex;
    align-items: center;
    width: calc(100% - 1.5rem);
    margin: 0.125rem 0.75rem;
    padding: 0.625rem 0.75rem;
    color: var(--nav-item-color);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.15s ease-in-out;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

    .nav-link:hover[b-3ijttn8suw] {
        background-color: var(--nav-item-hover-bg);
        color: #111827;
    }

    .nav-link.active[b-3ijttn8suw] {
        background-color: var(--nav-item-active-bg);
        color: var(--nav-item-active-color);
    }

.nav-link-logout[b-3ijttn8suw] {
    color: #ef4444;
}

    .nav-link-logout:hover[b-3ijttn8suw] {
        background-color: #fef2f2;
        color: #dc2626;
    }

/* Group Headers */
.nav-group[b-3ijttn8suw] {
    margin-bottom: 0.5rem;
}

.nav-group-header[b-3ijttn8suw] {
    padding: 0.75rem 1.5rem 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--nav-group-header-color);
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

/* Toggle Icon */
.nav-group-toggle-icon[b-3ijttn8suw] {
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%239ca3af" class="bi bi-chevron-down" viewBox="0 0 16 16"%3E%3Cpath fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease-in-out;
    margin-left: 0.5rem;
}

.nav-group.collapsed .nav-group-toggle-icon[b-3ijttn8suw] {
    transform: rotate(-90deg);
}

.nav-group.collapsed .nav-group-items[b-3ijttn8suw] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-in-out;
}

.nav-group .nav-group-items[b-3ijttn8suw] {
    max-height: 500px;
    transition: max-height 0.2s ease-in-out;
    overflow: hidden;
}

/* Sub Navigation Items */
.nav-link-sub[b-3ijttn8suw] {
    width: calc(100% - 1.5rem);
    margin: 0.125rem 0.75rem;
    padding-left: 2rem !important;
    font-size: 0.875rem;
    color: #6b7280;
}

    .nav-link-sub:hover[b-3ijttn8suw] {
        color: #374151;
    }

/* Separator */
.sidebar-separator[b-3ijttn8suw] {
    height: 1px;
    background-color: var(--sidebar-border);
    margin: 0.5rem 1.5rem;
}

/* Mobile Header & Toggle */
.mobile-header[b-3ijttn8suw] {
    display: none;
    height: var(--wawi-mobile-header-height);
    background: white;
    border-bottom: 1px solid var(--sidebar-border);
    align-items: center;
    padding: 0 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.mobile-header-title[b-3ijttn8suw] {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-left: 0;
}

.sidebar-toggle-btn[b-3ijttn8suw] {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #374151;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.sidebar-backdrop[b-3ijttn8suw] {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(1px);
}

/* Navbar content wrapper need to be flex container to hold sidebar */
.navbar-content[b-3ijttn8suw] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Responsive Logic */
@media (max-width: 768px) {
    .sidebar[b-3ijttn8suw] {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        transform: translateX(-100%);
        box-shadow: none;
        width: 85%;
        max-width: 320px;
    }

        .sidebar.show[b-3ijttn8suw] {
            transform: translateX(0);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            background-color: var(--sidebar-bg);
        }

    /* Backwards-compatible: previous implementation used body.wawi-sidebar-open */
    body.wawi-sidebar-open .sidebar[b-3ijttn8suw] {
        transform: translateX(0);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        background-color: var(--sidebar-bg);
    }

    .mobile-header[b-3ijttn8suw] {
        display: flex;
    }

    .sidebar-backdrop.show[b-3ijttn8suw] {
        display: block;
        opacity: 1;
    }

    /* Backwards-compatible: previous implementation used body.wawi-sidebar-open */
    body.wawi-sidebar-open .sidebar-backdrop[b-3ijttn8suw] {
        display: block;
        opacity: 1;
    }
}
/* _content/Wawi/Views/Pages/Administration/Administration.cshtml.rz.scp.css */
.admin-page[b-rs7sy1oz7l] {
    animation: fadeIn 0.3s ease-in-out;
}
/* _content/Wawi/Views/Pages/Inventory/Products.cshtml.rz.scp.css */
.products-page[b-29a9ylyxoy] {
    animation: fadeIn 0.3s ease-in-out;
}
/* _content/Wawi/Views/Pages/Login.cshtml.rz.scp.css */
main[b-qixhmlpn5f] {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card[b-qixhmlpn5f] {
    width: 100%;
    max-width: 360px;
    padding: 24px 22px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.login-header[b-qixhmlpn5f] {
    margin-bottom: 18px;
    text-align: center;
}

.login-icon[b-qixhmlpn5f] {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
    object-fit: contain;
    opacity: 0.85;
}

.login-header h2[b-qixhmlpn5f] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
}

.login-card .form-group[b-qixhmlpn5f] {
    margin-bottom: 14px;
}

.login-card .btn-primary[b-qixhmlpn5f] {
    width: 100%;
    margin-top: 6px;
}

#login-result[b-qixhmlpn5f] {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    min-height: 1.2em;
}
/* _content/Wawi/Views/Pages/Orders.cshtml.rz.scp.css */
.orders-page[b-1j0946wow1] {
    animation: fadeIn 0.3s ease-in-out;
}

.filter-btn[b-1j0946wow1] {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    color: var(--color-text-muted);
    font-weight: 500;
    transition: all 0.2s;
}

.filter-btn:hover[b-1j0946wow1] {
    background-color: #f0f0f0;
    color: var(--color-text);
}

.filter-btn.active[b-1j0946wow1] {
    background-color: var(--color-primary);
    color: white;
}

.status-badge[b-1j0946wow1] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-pending[b-1j0946wow1] {
    background-color: #fff3cd;
    color: #856404;
}

.status-completed[b-1j0946wow1] {
    background-color: #d4edda;
    color: #155724;
}

.status-cancelled[b-1j0946wow1] {
    background-color: #f8d7da;
    color: #721c24;
}
/* _content/Wawi/Views/Pages/Support.cshtml.rz.scp.css */
.support-form-card[b-glc4uyj2mh] {
    max-width: 800px;
    margin: 0 auto;
}
/* _content/Wawi/Views/Shared/_DashboardLayout.cshtml.rz.scp.css */
.dashboard-container[b-zpts8u4q6y] {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.main-content[b-zpts8u4q6y] {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    background-color: #f4f6f8;
}

@media (max-width: 768px) {
    .main-content[b-zpts8u4q6y] {
        padding: 1rem;
        padding-top: calc(var(--wawi-mobile-header-height, 52px) + 1rem);
    }
}
