/* /Components/ActionButton.razor.rz.scp.css */
.action-button[b-d1ep9hnarg] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-button);
    white-space: nowrap;
    margin: 0.5rem;
    width: 11rem;
}

.action-button:hover[b-d1ep9hnarg] {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.action-button-primary[b-d1ep9hnarg] {
    background-color: var(--primary-600);
    color: var(--text-white);
}

.action-button-primary:hover[b-d1ep9hnarg] {
    background-color: var(--primary-700);
}

.action-button-secondary[b-d1ep9hnarg] {
    background-color: var(--neutral-100);
    color: var(--primary-700);
}

.action-button-secondary:hover[b-d1ep9hnarg] {
    background-color: var(--neutral-200);
}

.action-button i[b-d1ep9hnarg] {
    font-size: 1.25rem;
}

.action-button-sm[b-d1ep9hnarg] {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.action-button-md[b-d1ep9hnarg] {
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.action-button-lg[b-d1ep9hnarg] {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

@media (max-width: 600px) {
    .action-button[b-d1ep9hnarg] {
        width: auto;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        flex-grow: 1;
    }

    .action-button i[b-d1ep9hnarg] {
        font-size: 1rem;
    }
}
/* /Components/ConfirmationDialog.razor.rz.scp.css */
.confirmation-dialog[b-l6sx8vb83i] {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0.5rem 0;
}

/* Animation for dialog content */
[b-l6sx8vb83i] .confirmation-dialog > p {
    color: var(--neutral-700);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    animation: fadeIn-b-l6sx8vb83i 0.3s ease-in-out;
}

/* Icon styling if present */
[b-l6sx8vb83i] .confirmation-dialog > .icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

[b-l6sx8vb83i] .confirmation-dialog > .icon-container .material-icons {
    font-size: 3rem;
    color: var(--primary-500);
}

/* Warning variant styling */
[b-l6sx8vb83i] .confirmation-dialog.warning > .icon-container .material-icons {
    color: #FF9800;
}

/* Danger variant styling */
[b-l6sx8vb83i] .confirmation-dialog.danger > .icon-container .material-icons {
    color: #F44336;
}

@keyframes fadeIn-b-l6sx8vb83i {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media queries for responsive design */
@media (min-width: 576px) {
    .confirmation-dialog[b-l6sx8vb83i] {
        padding: 0.75rem 0;
    }
}

@media (min-width: 768px) {
    .confirmation-dialog[b-l6sx8vb83i] {
        padding: 1rem 0;
    }
    
    [b-l6sx8vb83i] .confirmation-dialog > p {
        font-size: 1rem;
    }
}
/* /Components/Modal.razor.rz.scp.css */
.modal[b-i6ck5pg5xz] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    outline: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transition: opacity 0.2s ease;
    opacity: 0;
}

.modal.show[b-i6ck5pg5xz] {
    opacity: 1;
}

.modal-dialog[b-i6ck5pg5xz] {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    pointer-events: none;
    transform: translateY(-25px);
    transition: transform 0.3s ease-out;
    max-width: 90%;
}

.modal.show .modal-dialog[b-i6ck5pg5xz] {
    transform: translateY(0);
}

.modal-content[b-i6ck5pg5xz] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: var(--background);
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border);
    outline: 0;
    overflow: hidden;
    animation: modalAppear-b-i6ck5pg5xz 0.3s ease-out forwards;
}

.modal-header[b-i6ck5pg5xz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.modal-title[b-i6ck5pg5xz] {
    margin: 0;
    color: var(--neutral-800);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
}

.btn-close[b-i6ck5pg5xz] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-close:hover[b-i6ck5pg5xz] {
    background-color: var(--neutral-100);
}

.btn-close[b-i6ck5pg5xz]::before {
    content: "close";
    font-family: 'Material Icons';
    font-size: 20px;
    color: var(--neutral-600);
}

.btn-close:hover[b-i6ck5pg5xz]::before {
    color: var(--neutral-800);
}

.modal-body[b-i6ck5pg5xz] {
    position: relative;
    flex: 1 1 auto;
    padding: 1.25rem;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.modal-backdrop[b-i6ck5pg5xz] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: rgba(38, 50, 56, 0.5); /* neutral-900 with opacity */
    transition: opacity 0.2s ease;
    opacity: 0;
}

.modal-backdrop.show[b-i6ck5pg5xz] {
    opacity: 1;
}

@keyframes modalAppear-b-i6ck5pg5xz {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive design */
@media (min-width: 576px) {
    .modal-dialog[b-i6ck5pg5xz] {
        max-width: 500px;
        margin: 3rem auto;
    }
    
    .modal-body[b-i6ck5pg5xz] {
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .modal-dialog[b-i6ck5pg5xz] {
        max-width: 600px;
    }
    
    .modal-header[b-i6ck5pg5xz] {
        padding: 1.25rem 1.5rem;
    }
    
    .modal-title[b-i6ck5pg5xz] {
        font-size: 1.35rem;
    }
}

@media (min-width: 992px) {
    .modal-dialog[b-i6ck5pg5xz] {
        max-width: 700px;
    }
    
    .btn-close[b-i6ck5pg5xz] {
        width: 40px;
        height: 40px;
    }
    
    .btn-close[b-i6ck5pg5xz]::before {
        font-size: 22px;
    }
}
/* /Components/NavMenu.razor.rz.scp.css */
.sidebar-wrapper[b-kbtjvfor0y] {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.sidebar-header[b-kbtjvfor0y] {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  position: relative;
  flex-shrink: 0;
  transition: padding 0.3s ease, height 0.3s ease;
}

.sidebar-toggle[b-kbtjvfor0y] {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary-500);
  color: var(--text-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sidebar-toggle:hover[b-kbtjvfor0y] {
  background-color: var(--primary-600);
}

.sidebar-toggle i[b-kbtjvfor0y] {
  transition: transform 0.3s ease;
  font-size: 1.25rem;
}

.sidebar-content[b-kbtjvfor0y] {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  margin-top: 0;
}

.sidebar-section[b-kbtjvfor0y] {
  margin-bottom: 1.5rem;
}

.sidebar-section-title[b-kbtjvfor0y] {
  padding: 0 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--neutral-800);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

.sidebar-nav[b-kbtjvfor0y] {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-item[b-kbtjvfor0y] {
  position: relative;
}

.nav-link[b-kbtjvfor0y] {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  color: var(--primary-600) !important;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

.nav-link:hover[b-kbtjvfor0y] {
  color: var(--primary-700);
  background-color: var(--primary-50);
}

.nav-link.active[b-kbtjvfor0y] {
  color: var(--primary-700);
  background-color: var(--primary-50);
  font-weight: 500;
}

.nav-link.active[b-kbtjvfor0y]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--primary-500);
}

.nav-link i[b-kbtjvfor0y] {
  margin-right: 0.75rem;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.nav-text[b-kbtjvfor0y] {
  font-size: 0.95rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.nav-tooltip[b-kbtjvfor0y] {
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--neutral-800);
  color: var(--background);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1050;
  box-shadow: 0 2px 10px var(--shadow);
}

.nav-dropdown[b-kbtjvfor0y] {
  position: relative;
}

.nav-dropdown-toggle[b-kbtjvfor0y] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.nav-dropdown-toggle i.dropdown-icon[b-kbtjvfor0y] {
  margin-right: 0;
  margin-left: auto;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.nav-dropdown.show .nav-dropdown-toggle i.dropdown-icon[b-kbtjvfor0y] {
  transform: rotate(180deg);
}
.nav-dropdown-menu[b-kbtjvfor0y] {
  padding-left: 2.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav-dropdown.show .nav-dropdown-menu[b-kbtjvfor0y] {
  max-height: 500px;
}

.nav-dropdown-item[b-kbtjvfor0y] {
  padding: 0.25rem 0;
}

.nav-dropdown-link[b-kbtjvfor0y] {
  color: var(--neutral-800);
  transition: all 0.3s ease;
  display: block;
  padding: 0.5rem 0;
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-dropdown-link:hover[b-kbtjvfor0y] {
  color: var(--primary-600);
  transform: translateX(5px);
}

.nav-dropdown-link.active[b-kbtjvfor0y] {
  color: var(--primary-600);
  font-weight: 500;
}

.sidebar-footer[b-kbtjvfor0y] {
  padding: 1rem;
  flex-shrink: 0;
}

.sidebar-footer-text[b-kbtjvfor0y] {
  color: var(--neutral-800);
  font-size: 0.65rem;
  text-align: center;
  transition: opacity 0.3s ease;
  word-wrap: break-word;
}

.sidebar-collapsed .sidebar-header[b-kbtjvfor0y] {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 0;
  height: auto;
}

.sidebar-collapsed .sidebar-brand-text[b-kbtjvfor0y] {
  opacity: 0;
  transform: translateX(-20px);
  position: absolute;
  pointer-events: none;
}

.sidebar-collapsed .sidebar-brand[b-kbtjvfor0y] {
  justify-content: center;
  padding-bottom: 0;
  margin-bottom: 0.5rem;
}

.sidebar-collapsed .sidebar-toggle[b-kbtjvfor0y] {
  position: static;
  transform: none;
  margin-top: 0.5rem;
}

.sidebar-collapsed .sidebar-toggle i[b-kbtjvfor0y] {
  transform: rotate(180deg);
}

.sidebar-collapsed .sidebar-section-title[b-kbtjvfor0y] {
  opacity: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.sidebar-collapsed .nav-link[b-kbtjvfor0y] {
  padding: 0.75rem 0;
  justify-content: center;
}

.sidebar-collapsed .nav-link i[b-kbtjvfor0y] {
  margin-right: 0;
  font-size: 1.5rem;
}

.sidebar-collapsed .nav-text[b-kbtjvfor0y] {
  opacity: 0;
  transform: translateX(-20px);
  position: absolute;
  pointer-events: none;
}

.sidebar-collapsed .nav-item:hover .nav-tooltip[b-kbtjvfor0y] {
  opacity: 1;
}

.sidebar-collapsed .nav-dropdown-toggle i.dropdown-icon[b-kbtjvfor0y] {
  display: none;
}

.sidebar-collapsed .nav-dropdown-menu[b-kbtjvfor0y] {
  display: none;
}

.sidebar-collapsed .sidebar-footer-text[b-kbtjvfor0y] {
  opacity: 0;
}

@media (max-width: 767.98px) {
  .sidebar-toggle[b-kbtjvfor0y] {
    display: none;
  }
}
/* /Components/NotFound.razor.rz.scp.css */
.not-found-container[b-1qg7l3ubh4] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100dvh;
    position: relative;
    overflow: hidden;
    padding: 1rem;
  }
  
  .not-found-card[b-1qg7l3ubh4] {
    width: 100%;
    max-width: 450px;
    padding: 2.5rem;
    background-color: var(--background);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 10;
    overflow: hidden;
    animation: fadeIn 0.6s ease;
  }
  
  .not-found-card[b-1qg7l3ubh4]::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
  }
  
  .not-found-header[b-1qg7l3ubh4] {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .not-found-header h1[b-1qg7l3ubh4] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-600);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
  }
  
  .not-found-header p[b-1qg7l3ubh4] {
    color: var(--neutral-600);
    font-size: 1rem;
  }
  
  .not-found-header img[b-1qg7l3ubh4] {
    max-width: 25%;
    height: auto;
  }
  
  .not-found-content[b-1qg7l3ubh4] {
    display: flex;
    flex-direction: column;
  }
  .not-found-content h3[b-1qg7l3ubh4]{
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-600);
    letter-spacing: -0.5px;
  }
  .not-found-content p[b-1qg7l3ubh4]{
    text-align: center;
    color: var(--neutral-600);
    font-size: 1rem;
  }
  
  
/* /Components/PermissionsManager.razor.rz.scp.css */
.permissions-manager[b-k8ia4ee862] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-radius: 12px; /* Consistent border radius */
    overflow: hidden; /* Keep overflow hidden */
}

.permissions-section[b-k8ia4ee862] {
    background-color: var(--background);
    border-radius: 12px; /* Increased border radius */
    padding: 1rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border); /* Subtle border */
}

.section-header[b-k8ia4ee862] {
    display: flex;
    flex-direction: column; /* Default mobile layout */
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem; /* Add padding below header */
    border-bottom: 1px solid var(--border); /* Separator */
}

.section-header h6[b-k8ia4ee862] {
    color: var(--neutral-800);
    font-weight: 600;
    font-size: 1.1rem; /* Slightly larger heading */
    margin: 0;
}

.empty-permissions[b-k8ia4ee862] {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Increased gap */
    padding: 1rem;
    background-color: var(--background-alt);
    border-radius: 8px;
    color: var(--neutral-600);
    border: 1px dashed var(--neutral-200); /* Dashed border for empty state */
    margin-top: 0.5rem; /* Spacing */
}

.empty-permissions .material-icons[b-k8ia4ee862] {
    color: var(--neutral-400);
    font-size: 1.5rem; /* Larger icon */
}

.empty-permissions p[b-k8ia4ee862] {
    margin: 0;
    font-size: 0.95rem;
}

.permissions-list[b-k8ia4ee862], .available-stores-list[b-k8ia4ee862] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.permission-item[b-k8ia4ee862], .available-store-item[b-k8ia4ee862] {
    display: flex;
    flex-direction: column; /* Mobile first: stack vertically */
    gap: 0.75rem; /* Increased gap */
    padding: 0.85rem 1rem; /* Adjusted padding */
    background-color: var(--background-alt);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: box-shadow 0.2s ease; /* Hover effect */
}

.permission-item:hover[b-k8ia4ee862], .available-store-item:hover[b-k8ia4ee862] {
    box-shadow: var(--shadow-hover); /* Subtle hover shadow */
}

.store-info[b-k8ia4ee862] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-grow: 1; /* Allow store info to take available space */
}

.store-name[b-k8ia4ee862] {
    font-weight: 500;
    color: var(--primary-700);
    font-size: 1rem; /* Slightly larger font */
}

.permission-controls[b-k8ia4ee862] {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Increased gap */
    flex-shrink: 0; /* Prevent controls from shrinking too much */
}

/* Style selects like other form controls */
.permission-select[b-k8ia4ee862] {
    flex: 1; /* Allow select to grow */
    min-width: 140px; /* Minimum width */
    color: var(--neutral-700);
    /* Inherit form-control styles from app.css */
    /* Add overflow properties for ellipsis */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* Prevent wrapping */
}

/* Style for the placeholder option if needed, though styling options is inconsistent */
.permission-select option[value=""][b-k8ia4ee862] {
    color: var(--neutral-500); /* Style placeholder text */
}

/* Base button styles */
.add-permission-btn[b-k8ia4ee862], .remove-permission-btn[b-k8ia4ee862] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.35rem; /* Slightly larger padding */
    border-radius: 50%; /* Circular buttons */
    transition: all 0.2s ease;
    width: 32px; /* Fixed size */
    height: 32px; /* Fixed size */
}

.add-permission-btn .material-icons[b-k8ia4ee862],
.remove-permission-btn .material-icons[b-k8ia4ee862] {
    font-size: 1.25rem; /* Icon size */
}

/* Add button specific styles */
.add-permission-btn[b-k8ia4ee862] {
    color: var(--primary-600);
}

.add-permission-btn:hover:not(:disabled)[b-k8ia4ee862] {
    background-color: var(--primary-100); /* Lighter green background on hover */
    transform: scale(1.1); /* Slight scale effect */
}

.add-permission-btn:disabled[b-k8ia4ee862] {
    color: var(--neutral-400);
    cursor: not-allowed;
    background-color: transparent;
    transform: none;
}

/* Remove button specific styles */
.remove-permission-btn[b-k8ia4ee862] {
    color: var(--validation-invalid);
}

.remove-permission-btn:hover[b-k8ia4ee862] {
    background-color: rgba(244, 67, 54, 0.1); /* Light red background on hover */
    transform: scale(1.1); /* Slight scale effect */
}

/* Search input styling */
.store-search-input[b-k8ia4ee862] {
    position: relative;
    width: 100%; /* Full width on mobile */
}

.store-search-input input[b-k8ia4ee862] {
    width: 100%;
    padding-left: 2.5rem; /* Space for icon */
    /* Inherit form-control styles from app.css */
}

.store-search-input .material-icons[b-k8ia4ee862] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-500);
    pointer-events: none; /* Prevent icon from interfering with input */
}

/* Medium screens and up (tablets) */
@media (min-width: 576px) {
    .permission-item[b-k8ia4ee862], .available-store-item[b-k8ia4ee862] {
        flex-direction: row; /* Align items horizontally */
        justify-content: space-between;
        align-items: center;
    }

    .permission-controls[b-k8ia4ee862] {
        width: auto; /* Allow controls to size naturally */
    }

    .permission-select[b-k8ia4ee862] {
        max-width: 200px; /* Limit max width */
    }
}

/* Large screens and up (desktops) */
@media (min-width: 768px) {
    .section-header[b-k8ia4ee862] {
        flex-direction: row; /* Align header items horizontally */
        justify-content: space-between;
        align-items: center;
    }

    .store-search-input[b-k8ia4ee862] {
        width: 50%; /* Reduce search input width */
        max-width: 300px; /* Max width for search */
    }
}
/* /Components/PrivacyPolicyModal.razor.rz.scp.css */
.privacy-policy-content[b-4bausfd5q2] {
    line-height: 1.6;
    color: var(--neutral-800);
}

.policy-section[b-4bausfd5q2] {
    margin-bottom: 1.5rem;
}

.policy-section:last-of-type[b-4bausfd5q2] {
    margin-bottom: 1rem;
}

.policy-section h4[b-4bausfd5q2] {
    margin: 0 0 0.75rem 0;
    color: var(--primary-700);
    font-size: 1.1rem;
    font-weight: 600;
}

.policy-section p[b-4bausfd5q2] {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    color: var(--neutral-700);
}

.policy-section ul[b-4bausfd5q2] {
    margin: 0.5rem 0 0 1.25rem;
    padding: 0;
}

.policy-section li[b-4bausfd5q2] {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    color: var(--neutral-700);
}

.policy-footer[b-4bausfd5q2] {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.policy-footer small[b-4bausfd5q2] {
    color: var(--neutral-600);
    font-size: 0.85rem;
}

/* Modal styles */
.modal[b-4bausfd5q2] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    outline: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transition: opacity 0.2s ease;
    opacity: 0;
}

.modal.show[b-4bausfd5q2] {
    opacity: 1;
}

.modal-dialog[b-4bausfd5q2] {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    pointer-events: none;
    transform: translateY(-25px);
    transition: transform 0.3s ease-out;
    max-width: 90%;
}

.modal.show .modal-dialog[b-4bausfd5q2] {
    transform: translateY(0);
}

.modal-content[b-4bausfd5q2] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: var(--background);
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border);
    outline: 0;
    overflow: hidden;
    animation: modalAppear-b-4bausfd5q2 0.3s ease-out forwards;
}

.modal-header[b-4bausfd5q2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.modal-title[b-4bausfd5q2] {
    margin: 0;
    color: var(--neutral-800);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
}

.btn-close[b-4bausfd5q2] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-close:hover[b-4bausfd5q2] {
    background-color: var(--neutral-100);
}

.btn-close[b-4bausfd5q2]::before {
    content: "close";
    font-family: 'Material Icons';
    font-size: 20px;
    color: var(--neutral-600);
}

.btn-close:hover[b-4bausfd5q2]::before {
    color: var(--neutral-800);
}

.modal-body[b-4bausfd5q2] {
    position: relative;
    flex: 1 1 auto;
    padding: 1.25rem;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.modal-backdrop[b-4bausfd5q2] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: rgba(38, 50, 56, 0.5);
    transition: opacity 0.2s ease;
    opacity: 0;
}

.modal-backdrop.show[b-4bausfd5q2] {
    opacity: 1;
}

@keyframes modalAppear-b-4bausfd5q2 {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive design */
@media (min-width: 576px) {
    .modal-dialog[b-4bausfd5q2] {
        max-width: 500px;
        margin: 3rem auto;
    }
    
    .modal-body[b-4bausfd5q2] {
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .modal-dialog[b-4bausfd5q2] {
        max-width: 600px;
    }
    
    .modal-header[b-4bausfd5q2] {
        padding: 1.25rem 1.5rem;
    }
    
    .modal-title[b-4bausfd5q2] {
        font-size: 1.35rem;
    }
}

@media (min-width: 992px) {
    .modal-dialog[b-4bausfd5q2] {
        max-width: 700px;
    }
    
    .btn-close[b-4bausfd5q2] {
        width: 40px;
        height: 40px;
    }
    
    .btn-close[b-4bausfd5q2]::before {
        font-size: 22px;
    }
}

/* Mobile responsive */
@media (max-width: 575px) {
    .policy-section h4[b-4bausfd5q2] {
        font-size: 1rem;
    }
    
    .policy-section p[b-4bausfd5q2],
    .policy-section li[b-4bausfd5q2] {
        font-size: 0.9rem;
    }
}
/* /Components/UserCard.razor.rz.scp.css */
.user-card[b-aadurii6h0] {
    background-color: var(--background);
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 1rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    animation: fadeIn-b-aadurii6h0 0.5s ease forwards;
}

.user-card:hover[b-aadurii6h0] {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.user-card-header[b-aadurii6h0] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-avatar[b-aadurii6h0] {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-color: var(--background-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border);
}

.user-icon[b-aadurii6h0] {
    font-size: 30px;
    color: var(--neutral-500);
}

.user-info[b-aadurii6h0] {
    flex: 1;
}

.user-name[b-aadurii6h0] {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: 0.25rem;
}

.user-email[b-aadurii6h0] {
    font-size: 0.9rem;
    color: var(--neutral-600);
    margin-bottom: 0;
}

.user-permissions[b-aadurii6h0] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    min-height: 32px; /* Ensure consistent height even when empty */
}

.permission-badge[b-aadurii6h0] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem; /* Smaller font on mobile */
    font-weight: 500;
    background-color: var(--neutral-50);
    color: var(--neutral-700);
    max-width: 100%; /* Prevent overflowing on small screens */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.permission-badge .material-icons[b-aadurii6h0] {
    font-size: 0.9rem;
}

.system-admin[b-aadurii6h0] {
    background-color: #EDE7F6;
    color: #673AB7;
}

.store-admin[b-aadurii6h0] {
    background-color: var(--primary-50);
    color: var(--primary-700);
}

.store-user[b-aadurii6h0] {
    background-color: #E3F2FD;
    color: #1976D2;
}

.more-badge[b-aadurii6h0] {
    background-color: var(--neutral-100);
    color: var(--neutral-700);
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.more-badge:hover[b-aadurii6h0],
.more-badge.active[b-aadurii6h0] {
    background-color: var(--neutral-200);
}

/* New approach with overlay and popup */
.permissions-overlay[b-aadurii6h0] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.permissions-popup[b-aadurii6h0] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    width: 100%;
    animation: slide-up-b-aadurii6h0 0.3s ease;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.popup-header[b-aadurii6h0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.popup-header h6[b-aadurii6h0] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neutral-800);
}

.close-btn[b-aadurii6h0] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: var(--background-alt);
    cursor: pointer;
}

.close-btn .material-icons[b-aadurii6h0] {
    font-size: 24px;
}

.close-btn:hover[b-aadurii6h0] {
    background-color: var(--neutral-200);
}

.popup-content[b-aadurii6h0] {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
}

@keyframes slide-up-b-aadurii6h0 {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Desktop styles for permissions popup */
@media (min-width: 768px) {
    .permissions-popup[b-aadurii6h0] {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
        border-radius: 12px;
        width: 90%;
        max-width: 400px;
        max-height: 500px;
        animation: popup-fade-b-aadurii6h0 0.2s ease;
    }
    
    @keyframes popup-fade-b-aadurii6h0 {
        from {
            opacity: 0;
            transform: translate(-50%, -48%);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }
}

.tooltip-permission[b-aadurii6h0] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    margin-bottom: 8px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Apply the same styles from permission badges to tooltip permissions */
.tooltip-permission.system-admin[b-aadurii6h0] {
    background-color: #EDE7F6;
    color: #673AB7;
}

.tooltip-permission.store-admin[b-aadurii6h0] {
    background-color: var(--primary-50);
    color: var(--primary-700);
}

.tooltip-permission.store-user[b-aadurii6h0] {
    background-color: #E3F2FD;
    color: #1976D2;
}

@keyframes popup-fade-b-aadurii6h0 {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.permissions-tooltip[b-aadurii6h0] {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 10px;
    z-index: 9999;
    min-width: 200px;
    max-width: 280px;
    border: 1px solid var(--border);
}

.permissions-tooltip.visible[b-aadurii6h0] {
    display: block;
}

.tooltip-permission[b-aadurii6h0] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    margin-bottom: 6px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tooltip-permission:last-child[b-aadurii6h0] {
    margin-bottom: 0;
}

/* Apply the same styles from permission badges to tooltip permissions */
.tooltip-permission.system-admin[b-aadurii6h0] {
    background-color: #EDE7F6;
    color: #673AB7;
}

.tooltip-permission.store-admin[b-aadurii6h0] {
    background-color: var(--primary-50);
    color: var(--primary-700);
}

.tooltip-permission.store-user[b-aadurii6h0] {
    background-color: #E3F2FD;
    color: #1976D2;
}

/* Ensure tooltip stays in viewport on mobile */
@media (max-width: 576px) {
    .permissions-tooltip[b-aadurii6h0] {
        right: 0;
        left: auto;
        max-width: 240px;
    }
}

.user-card-actions[b-aadurii6h0] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: 0.5rem;
    min-width: 120px; /* Ensure minimum width */
    height: 46px; /* Fixed height to maintain consistent spacing */
}

.action-btn[b-aadurii6h0] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: var(--background-alt);
    flex: 0 0 36px; /* Prevent buttons from changing size */
}

.edit-btn:hover[b-aadurii6h0] {
    background-color: var(--primary-50);
    color: var(--primary-700);
}

.permissions-btn:hover[b-aadurii6h0] {
    background-color: var(--primary-50);
    color: var(--primary-700);
}

.delete-btn:hover[b-aadurii6h0] {
    background-color: var(--primary-50);
    color: var(--primary-700);
}

/* Animation */
@keyframes fadeIn-b-aadurii6h0 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media queries for responsive design */
@media (min-width: 576px) {
    .user-card[b-aadurii6h0] {
        padding: 1.25rem;
    }

    .permission-badge[b-aadurii6h0] {
        font-size: 0.8rem;
    }
    
    .more-badge:hover .permissions-tooltip[b-aadurii6h0] {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (min-width: 768px) {
    .user-card[b-aadurii6h0] {
        padding: 1.5rem;
    }
}
/* /Layout/FormViewLayout.razor.rz.scp.css */
.form-view-layout[b-xkrtt6yovo] {
    width: 100%;
    height: 100% ;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative ;

}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-i18296z9qp] {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--background-alt);
}

.header[b-i18296z9qp] {
  background-color: var(--background);
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 10px var(--shadow);
  border-bottom: 1px solid var(--border);
  width: 100%;
}


.content-container[b-i18296z9qp] {
  display: flex;
  flex: 1;
  position: relative;
}

.sidebar[b-i18296z9qp] {
  position: fixed;
  top: 3.5rem; /* Position below header */
  left: 0;
  bottom: 0;
  width: 10rem;
  z-index: 1025;
  transform: translateX(-100%);
  transition: transform 0.3s ease, width 0.3s ease;
  background-color: var(--background);
  box-shadow: 0 2px 10px var(--shadow);
  border-right: 1px solid var(--border);
}

.sidebar-open[b-i18296z9qp] {
  transform: translateX(0);
}

.sidebar-collapsed[b-i18296z9qp] {
  width: 70px;
}

.main[b-i18296z9qp] {
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.3s ease;
}

.header-content[b-i18296z9qp] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
  width: 100%;
}

.header-brand[b-i18296z9qp] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-brand img[b-i18296z9qp] {
  height: 40px;
  width: auto;
}

.page-title[b-i18296z9qp] {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-600);
  margin: 0;
}

.user-profile[b-i18296z9qp] {
  position: relative;
}

.content[b-i18296z9qp] {
  flex: 1;
  padding: 1rem;
  animation: fadeIn-b-i18296z9qp 0.3s ease;
}

.user-profile[b-i18296z9qp]  .btn-link {
  color: var(--neutral-800);
  text-decoration: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  align-items: center;
}

.user-profile[b-i18296z9qp]  .dropdown-toggle::after {
  display: none;
}

.user-avatar[b-i18296z9qp] {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--primary-500);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-button);
  border: 2px solid transparent;
}

.user-avatar:hover[b-i18296z9qp] {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
  background-color: var(--primary-600);
}

.user-avatar i[b-i18296z9qp] {
  font-size: 1.25rem;
}

/* Dropdown menu styling */
.user-profile[b-i18296z9qp]  .dropdown-menu {
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  border: none;
  padding: 0.75rem 0;
  margin-top: 0.75rem !important;
  overflow: hidden;
  background-color: var(--background);
  inset: 5px 5px auto auto !important;
}

.user-profile[b-i18296z9qp]  .dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: var(--primary-700);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.user-profile[b-i18296z9qp]  .dropdown-item:hover {
  background-color: var(--primary-100);
}

.user-profile[b-i18296z9qp]  .dropdown-item-text {
  font-weight: 600;
  color: var(--primary-700);
}

.user-profile[b-i18296z9qp]  .dropdown-divider {
  margin: 0.5rem 0;
  border-top: 1px solid var(--border);
}

.user-profile[b-i18296z9qp]  .dropdown-item i {
  font-size: 1.25rem;
  margin-right: 0.75rem;
}

.menu-toggle[b-i18296z9qp] {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-500);
  color: var(--text-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
  z-index: 1050;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-toggle:hover[b-i18296z9qp] {
  transform: scale(1.1);
  background-color: var(--primary-600);
}

.menu-toggle:focus[b-i18296z9qp] {
  outline: none;
  box-shadow: var(--shadow-hover);
}

.menu-toggle i[b-i18296z9qp] {
  font-size: 1.5rem;
}

@keyframes fadeIn-b-i18296z9qp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 767.98px) {
  .header-brand .page-title[b-i18296z9qp] {
    display: none;
  }
}
@media (min-width: 768px) {
  .sidebar[b-i18296z9qp] {
    transform: translateX(0);
  }
  .main[b-i18296z9qp] {
    margin-left: 260px;
  }

  .sidebar-collapsed~.main[b-i18296z9qp] {
    margin-left: 70px;
  }

  .header[b-i18296z9qp] {
    padding: 0 1.5rem;
    height: 3.5rem;
  }

  .user-profile[b-i18296z9qp] {
    right: 1.5rem;
  }

  .content[b-i18296z9qp] {
    padding: 1.5rem;
  }

  .content> :first-child[b-i18296z9qp] {
    background-color: var(--text-white);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-light);
    padding: 1.5rem;
  }

  .menu-toggle[b-i18296z9qp] {
    display: none;
  }
}

@media (min-width: 1200px) {
  .content[b-i18296z9qp] {
    padding: 2rem;
  }

  .content> :first-child[b-i18296z9qp] {
    padding: 2rem;
  }
}
/* /Layout/NoLayout.razor.rz.scp.css */
.no-layout[b-hdhchjikrs] {
  width: 100%;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
/* /Pages/FormManager.razor.rz.scp.css */
/* General Page Styles */
/* Inherits page-container styles from app.css */

/* Card Styling - Apply consistent card styles */
.card[b-gtkdkbbbq8] {
    background-color: var(--background);
    border-radius: 16px; /* Consistent with Index.razor.css */
    box-shadow: var(--shadow-card);
    margin-bottom: 1.5rem;
    padding: 1.25rem; /* Consistent padding */
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.card:hover[b-gtkdkbbbq8] {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px); /* Consistent hover effect */
}

.card-title[b-gtkdkbbbq8] {
    font-size: 1.2rem; /* Consistent with Index.razor.css */
    font-weight: 600;
    color: var(--primary-700); /* Use primary color for titles */
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--neutral-100); /* Lighter border */
    position: relative;
}

/* Add underline effect like Index.razor.css */
.card-title[b-gtkdkbbbq8]::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 3rem;
    height: 3px;
    background-color: var(--primary-500);
    border-radius: 2px;
}

/* Actions Bar */
.actions-bar[b-gtkdkbbbq8] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* Increased gap for better spacing */
    margin-bottom: 1.5rem;
    padding: 0 0.25rem; /* Slight horizontal padding if needed */
}

/* Filter Section - Improved Layout */
/* Uses .card styles */

.filter-section .card-header[b-gtkdkbbbq8] {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-section .card-header:hover[b-gtkdkbbbq8] {
    background-color: var(--neutral-50);
}

.filter-section .card-header h5.card-title[b-gtkdkbbbq8] {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.filter-section .card-header h5.card-title[b-gtkdkbbbq8]::after {
    display: none;
}

.filter-section .card-body[b-gtkdkbbbq8] {
    padding: 1rem;
}

.filter-section .card-header .material-icons[b-gtkdkbbbq8] {
    transition: transform 0.3s ease;
}

.filter-section .filter-controls[b-gtkdkbbbq8] {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: one column */
    gap: 1rem;
}

.filter-item[b-gtkdkbbbq8] {
    display: flex;
    flex-direction: column;
}

.filter-item label[b-gtkdkbbbq8] {
    display: block;
    margin-bottom: 0.5rem; /* Consistent label margin */
    font-size: 0.9rem;
    color: var(--neutral-700); /* Slightly darker for better contrast */
    font-weight: 500;
}

/* Use form-control styles from app.css */
.form-control[b-gtkdkbbbq8], .form-select[b-gtkdkbbbq8] {
    /* Inherits styles from app.css */
    font-size: 0.95rem; /* Ensure consistency */
    background-color: var(--background); /* Ensure background matches */
}

/* Specific adjustments for select if needed */
.form-select[b-gtkdkbbbq8] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23546E7A' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); /* Neutral color arrow */
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem; /* Space for arrow */
}

/* Search Bar Styling */
.search-bar[b-gtkdkbbbq8] { /* Apply directly to the filter-item containing the search */
    position: relative;
}

.search-bar input.form-control[b-gtkdkbbbq8] { /* Target the input specifically */
    padding-left: 2.5rem; /* Space for icon */
}

.search-bar .input-icon[b-gtkdkbbbq8] {
    position: absolute;
    left: 0.75rem;
    top: calc(50% + 0.6rem); /* Adjust vertical position considering label */
    transform: translateY(-50%);
    color: var(--neutral-500);
    pointer-events: none;
    font-size: 1.25rem; /* Material icon size */
}

.filter-actions[b-gtkdkbbbq8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem; /* Consistent gap */
    justify-content: flex-start; /* Align buttons to the start */
    margin-top: 1rem;
    border-top: 1px solid var(--neutral-100); /* Lighter border */
    padding-top: 1rem;
}

/* Loading and Empty State - Keep as is, seems reasonable */
.loading-indicator[b-gtkdkbbbq8],
.empty-state[b-gtkdkbbbq8] {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--neutral-600);
    background-color: var(--background-alt); /* Use alt background */
    border-radius: 12px; /* Softer edges */
    margin-top: 1.5rem;
}

.empty-state-icon[b-gtkdkbbbq8] {
    font-size: 3rem;
    color: var(--primary-300); /* Use a lighter primary color */
    margin-bottom: 1rem;
}

.empty-state-text[b-gtkdkbbbq8] {
    font-size: 1.1rem;
    font-weight: 500; /* Slightly bolder */
}

/* Forms List - Improved Card Layout */
.forms-list[b-gtkdkbbbq8] {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: one column */
    gap: 1.5rem; /* Increased gap */
}

.form-card[b-gtkdkbbbq8] {
    /* Apply base card styles */
    background-color: var(--background);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    overflow: hidden; /* Ensure child elements respect border radius */
    display: flex;
    flex-direction: column;
}

.form-card:hover[b-gtkdkbbbq8] {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.form-card-header[b-gtkdkbbbq8] {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem; /* Consistent padding */
    background-color: var(--primary-50); /* Lighter primary background */
    border-bottom: 1px solid var(--primary-100); /* Primary border */
    font-size: 0.9rem;
}

.form-id[b-gtkdkbbbq8] {
    font-weight: 600;
    color: var(--primary-700);
    margin-right: 0.75rem;
}

.form-store[b-gtkdkbbbq8] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--neutral-700); /* Darker neutral */
}

.form-store .material-icons[b-gtkdkbbbq8] {
    font-size: 1.1rem;
    color: var(--primary-600); /* Primary color icon */
}

/* Header Actions - New Styles */
.header-actions[b-gtkdkbbbq8] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-icon[b-gtkdkbbbq8] {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.action-icon:hover[b-gtkdkbbbq8] {
    background-color: var(--primary-100);
}

.action-icon .material-icons[b-gtkdkbbbq8] {
    font-size: 1.25rem;
    color: var(--primary-700);
}

.form-locked .material-icons[b-gtkdkbbbq8] {
    color: var(--validation-invalid); /* Use validation color */
    font-size: 1.25rem;
}

.form-unlocked .material-icons[b-gtkdkbbbq8] {
    color: var(--primary-600); /* Use primary color */
    font-size: 1.25rem;
}

.form-locked[b-gtkdkbbbq8], .form-unlocked[b-gtkdkbbbq8] {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.form-locked:hover[b-gtkdkbbbq8], .form-unlocked:hover[b-gtkdkbbbq8] {
    transform: scale(1.1);
}

.form-card-body[b-gtkdkbbbq8] {
    padding: 1.25rem; /* Consistent padding */
    display: grid;
    grid-template-columns: 1fr; /* Mobile: one column */
    gap: 0.8rem; /* Row gap */
    font-size: 0.9rem; /* Base font size */
    margin-bottom: 1rem; /* Space before actions */
}

/* Form detail layout - Improved date handling */
.form-detail[b-gtkdkbbbq8] {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    gap: 0.5rem;
}

.detail-label[b-gtkdkbbbq8] {
    color: var(--neutral-600);
    font-weight: 500;
    margin-right: 0.5rem;
    flex: 0 0 auto;
}

.detail-value[b-gtkdkbbbq8] {
    color: var(--neutral-800);
    text-align: right;
    font-weight: 500;
    flex: 1;
    min-width: 0; /* Allow shrinking below content size */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* Allow text wrapping */
    word-break: break-word; /* Break words if necessary */
}

/* Date container - Similar to status dropdown */
.date-container[b-gtkdkbbbq8] {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

/* Date specific styles */
.detail-value.date-value[b-gtkdkbbbq8] {
    font-size: 0.85rem;
    letter-spacing: -0.2px;
    white-space: nowrap;
    display: inline-block;
    background-color: var(--neutral-100);
    color: var(--neutral-800);
    padding: 0.25rem 0.5rem;
    border-radius: 16px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Status Badge - Improved Responsive Styles */
.status-badge[b-gtkdkbbbq8] {
    padding: 0.25rem 0.5rem; /* Reduced horizontal padding */
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.25px; /* Reduced letter spacing */
    display: inline-block;
    line-height: 1.4;
    max-width: 100%; /* Ensure it doesn't overflow container */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Status Dropdown - Improved responsive positioning */
.status-dropdown[b-gtkdkbbbq8] {
    position: relative;
    display: inline-block;
    max-width: 100%; /* Ensure it doesn't overflow container */
}

.status-options[b-gtkdkbbbq8] {
    position: absolute;
    right: 0;
    bottom: calc(100% + 5px);
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 150px; /* Reduced min-width */
    max-width: 200px; /* Add max-width */
    z-index: 1000;
    padding: 8px 0;
    max-height: 250px;
    overflow-y: auto;
    /* Fix positioning for mobile */
    left: 50%;
    transform: translateX(-50%);
}

/* On smaller screens, ensure dropdown appears above */
@media (max-width: 575px) {
    .status-options[b-gtkdkbbbq8] {
        right: auto; /* Reset right positioning */
        width: 180px; /* Fixed width on mobile */
    }
    
    .form-detail[b-gtkdkbbbq8] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .detail-value[b-gtkdkbbbq8], .status-dropdown[b-gtkdkbbbq8], .date-container[b-gtkdkbbbq8] {
        text-align: left;
        width: 100%;
    }
    
    /* Adjust date display for very small screens */
    .detail-value.date-value[b-gtkdkbbbq8] {
        font-size: 0.8rem;
        display: block;
        width: 100%;
    }
    
    /* Adjust status badges for mobile */
    .status-badge[b-gtkdkbbbq8] {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;
        letter-spacing: 0.1px;
        display: block;
        width: 100%;
    }
}

.form-detail[b-gtkdkbbbq8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0; /* Add slight vertical padding */
}

.detail-label[b-gtkdkbbbq8] {
    color: var(--neutral-600);
    font-weight: 500;
    margin-right: 0.5rem; /* Ensure space between label and value */
}

.detail-value[b-gtkdkbbbq8] {
    color: var(--neutral-800);
    text-align: right;
    font-weight: 500; /* Make value slightly bolder */
}

/* Status Badge - Refined Styles */
.status-badge[b-gtkdkbbbq8] {
    padding: 0.25rem 0.75rem; /* Adjusted padding */
    border-radius: 16px; /* Pill shape */
    font-size: 0.8rem;
    font-weight: 600; /* Bolder */
    color: var(--text-white);
    text-transform: uppercase; /* Uppercase for emphasis */
    letter-spacing: 0.5px;
    display: inline-block; /* Ensure proper layout */
    line-height: 1.4; /* Adjust line height */
}

.status-badge.clickable[b-gtkdkbbbq8] {
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.status-badge.clickable:hover[b-gtkdkbbbq8] {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Improve the clickable status badge by removing the edit icon */
.status-badge.clickable[b-gtkdkbbbq8]:after {
    display: none;
}

/* Define status colors using variables */
.status-success[b-gtkdkbbbq8] { background-color: var(--primary-600); } /* Use primary green */
.status-warning[b-gtkdkbbbq8] { background-color: #ffb74d; color: var(--neutral-900); } /* Example warning */
.status-danger[b-gtkdkbbbq8] { background-color: var(--validation-invalid); }
.status-info[b-gtkdkbbbq8] { background-color: var(--toast-info-bg); }
.status-secondary[b-gtkdkbbbq8] { background-color: var(--neutral-400); color: var(--neutral-900); }
/* Add specific statuses */
.status-pending[b-gtkdkbbbq8] { background-color: #ffb74d; color: var(--neutral-900); }
.status-paid[b-gtkdkbbbq8], .status-delivered[b-gtkdkbbbq8] { background-color: var(--primary-600); }
.status-cancelled[b-gtkdkbbbq8], .status-failed[b-gtkdkbbbq8] { background-color: var(--validation-invalid); }
.status-shipped[b-gtkdkbbbq8] { background-color: var(--toast-info-bg); }
.status-refunded[b-gtkdkbbbq8] { background-color: var(--neutral-400); }
.status-intransit[b-gtkdkbbbq8] { background-color: #29b6f6; }
.status-returned[b-gtkdkbbbq8] { background-color: #f06292; }

/* Status Colors - Unified and consistent for both DeliveryStatus and PaymentStatus */
.status-dot.status-pending[b-gtkdkbbbq8] { background-color: #ffb74d; }
.status-dot.status-paid[b-gtkdkbbbq8], .status-dot.status-delivered[b-gtkdkbbbq8] { background-color: var(--primary-600); }
.status-dot.status-canceled[b-gtkdkbbbq8], .status-dot.status-cancelled[b-gtkdkbbbq8] { background-color: var(--validation-invalid); }
.status-dot.status-refunded[b-gtkdkbbbq8] { background-color: var(--neutral-400); }
.status-dot.status-intransit[b-gtkdkbbbq8] { background-color: #29b6f6; }
.status-dot.status-returned[b-gtkdkbbbq8] { background-color: #f06292; }

/* Status badge colors - Unified and consistent */
.status-pending[b-gtkdkbbbq8] { background-color: #ffb74d; color: var(--neutral-900); }
.status-paid[b-gtkdkbbbq8], .status-delivered[b-gtkdkbbbq8] { background-color: var(--primary-600); }
.status-canceled[b-gtkdkbbbq8], .status-cancelled[b-gtkdkbbbq8] { background-color: var(--validation-invalid); }
.status-refunded[b-gtkdkbbbq8] { background-color: var(--neutral-400); }
.status-intransit[b-gtkdkbbbq8] { background-color: #29b6f6; }
.status-returned[b-gtkdkbbbq8] { background-color: #f06292; }

/* Status Dropdown - Updated Styles */
.status-dropdown[b-gtkdkbbbq8] {
    position: relative;
    display: inline-block;
}

.status-options[b-gtkdkbbbq8] {
    position: absolute;
    right: 0;
    bottom: calc(100% + 5px); /* Position above the badge instead of below */
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    z-index: 1000; /* Higher z-index to appear above all other elements */
    padding: 8px 0;
    max-height: 250px;
    overflow-y: auto;
}

.status-option[b-gtkdkbbbq8] {
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
    color: var(--text);
    font-size: 0.9rem;
}

.status-option:hover[b-gtkdkbbbq8] {
    background-color: var(--neutral-50);
}

.status-option.active[b-gtkdkbbbq8] {
    background-color: var(--primary-50);
    font-weight: 600;
}

.status-dot[b-gtkdkbbbq8] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* Status Colors */
.status-dot.status-pending[b-gtkdkbbbq8] { background-color: #ffb74d; }
.status-dot.status-paid[b-gtkdkbbbq8] { background-color: var(--primary-600); }
.status-dot.status-canceled[b-gtkdkbbbq8], .status-dot.status-cancelled[b-gtkdkbbbq8] { background-color: var(--validation-invalid); }
.status-dot.status-refunded[b-gtkdkbbbq8] { background-color: var(--neutral-400); }
.status-dot.status-intransit[b-gtkdkbbbq8] { background-color: #29b6f6; }
.status-dot.status-delivered[b-gtkdkbbbq8] { background-color: var(--primary-600); }
.status-dot.status-returned[b-gtkdkbbbq8] { background-color: #f06292; }

.form-card-actions[b-gtkdkbbbq8] {
    padding: 1rem 1.25rem; /* Consistent padding */
    border-top: 1px solid var(--neutral-100); /* Lighter border */
    display: flex;
    justify-content: flex-end; /* Align actions to the end */
    gap: 0.75rem; /* Space between buttons */
    margin-top: auto; /* Pushes actions to the bottom */
    background-color: var(--background-alt); /* Slightly different background */
}

/* Use ActionButton component styles where possible, or define specific button styles */
.form-card-actions .btn-sm[b-gtkdkbbbq8] { /* Example for small buttons */
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.form-card-actions .btn .material-icons[b-gtkdkbbbq8] {
    font-size: 1.1rem; /* Adjust icon size */
    margin-right: 0.3rem; /* Space between icon and text */
    vertical-align: middle;
}

/* --- Modal Styles --- */
.form-check[b-gtkdkbbbq8] {
    margin-bottom: 0.75rem; /* Consistent margin */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-label[b-gtkdkbbbq8] {
    font-size: 0.95rem;
    color: var(--neutral-700);
    margin-bottom: 0; /* Remove bottom margin for flex alignment */
}

.dynamic-fields-section[b-gtkdkbbbq8] {
    margin-top: 1.5rem;
    border-top: 1px solid var(--neutral-100);
    padding-top: 1.5rem; /* Increased padding */
}

.dynamic-fields-section h6[b-gtkdkbbbq8] {
    font-size: 1.1rem;
    color: var(--primary-700); /* Use primary color */
    margin-bottom: 1.25rem; /* Increased margin */
    font-weight: 600;
}

/* Field Editor Item - Improved Styling */
.field-editor-item[b-gtkdkbbbq8] {
    padding: 0; /* Remove padding, handled by header/body */
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: 12px; /* Rounded corners */
    background-color: var(--background);
    box-shadow: var(--shadow-card); /* Add subtle shadow */
    overflow: hidden; /* Clip content */
}

.field-editor-header[b-gtkdkbbbq8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem; /* Consistent padding */
    background-color: var(--neutral-50); /* Light background for header */
    border-bottom: 1px solid var(--border);
    font-weight: 600; /* Bolder */
    color: var(--neutral-800);
}

.field-editor-header .btn-danger[b-gtkdkbbbq8] {
    /* Styles for delete button */
    padding: 0.25rem 0.5rem;
    line-height: 1;
    background-color: transparent;
    border: none;
    color: var(--validation-invalid);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.field-editor-header .btn-danger:hover[b-gtkdkbbbq8] {
    opacity: 1;
}

.field-editor-header .btn-danger .material-icons[b-gtkdkbbbq8] {
    font-size: 1.25rem; /* Larger icon */
    vertical-align: middle;
}

.field-editor-body[b-gtkdkbbbq8] {
    padding: 1.25rem; /* Consistent padding */
    display: grid;
    grid-template-columns: 1fr; /* Mobile: one column */
    gap: 1rem; /* Consistent gap */
}

.field-editor-body .form-group[b-gtkdkbbbq8] {
    margin-bottom: 0; /* Remove default margin inside grid */
}

.field-editor-body label[b-gtkdkbbbq8] {
     display: block;
    margin-bottom: 0.5rem; /* Consistent label margin */
    font-size: 0.9rem;
    color: var(--neutral-700);
    font-weight: 500;
}

.custom-modal-footer[b-gtkdkbbbq8] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* --- Responsive Adjustments --- */

/* Medium screens and up (tablets, >= 576px) */
@media (min-width: 576px) {
    .filter-section .filter-controls[b-gtkdkbbbq8] {
        grid-template-columns: repeat(2, 1fr); /* Two columns */
    }

    .forms-list[b-gtkdkbbbq8] {
         grid-template-columns: repeat(2, 1fr); /* Two columns */
    }

     .form-card-body[b-gtkdkbbbq8] {
        grid-template-columns: repeat(2, 1fr); /* Two columns for details */
        gap: 0.75rem 1.25rem; /* Row and column gap */
    }

    .field-editor-body[b-gtkdkbbbq8] {
        grid-template-columns: repeat(2, 1fr); /* Two columns for field properties */
         gap: 1rem 1.25rem;
    }
    
    /* Better positioning for status dropdown on wider screens */
    .status-options[b-gtkdkbbbq8] {
        left: auto;
        transform: none;
        right: 0;
    }
    
    /* Slightly larger badges on tablets */
    .status-badge[b-gtkdkbbbq8] {
        padding: 0.25rem 0.6rem;
    }
    
    /* Date and status display consistently */
    .detail-value.date-value[b-gtkdkbbbq8] {
        padding: 0.25rem 0.6rem;
        display: block; /* Make it behave like status badges on all screen sizes */
        text-align: center;
    }
}

/* Large screens and up (desktops, >= 768px) */
@media (min-width: 768px) {
    .filter-section .filter-controls[b-gtkdkbbbq8] {
        /* Flexible columns, minimum 180px width */
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        align-items: end; /* Align items to bottom */
    }

    .search-bar .input-icon[b-gtkdkbbbq8] {
         top: calc(50% + 0.3rem); /* Fine-tune icon position on larger screens */
    }

    .forms-list[b-gtkdkbbbq8] {
         /* Responsive columns, min 320px width */
         grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    /* Keep form card body and field editor at 2 columns unless very wide */
}

/* Extra Large screens and up (large desktops, >= 992px) */
@media (min-width: 992px) {
     /* Allow more columns on very wide screens if desired */
     /* Example: grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); */

     /* Optionally go to 3 columns if space allows */
     /* grid-template-columns: repeat(3, 1fr); */
}

/* Max width container for very large screens (Optional, match app.css) */
@media (min-width: 1200px) {
     /* Use page-container max-width if defined globally */
}
/* /Pages/FormView.razor.rz.scp.css */
:root[b-7wvxmp8dts] {
    /* Uses variables from app.css */
}

.form-view-page[b-7wvxmp8dts] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
    padding-top: 1.5rem;
    background-color: var(--background-alt);
    box-sizing: border-box;
    animation: fadeIn-b-7wvxmp8dts 0.5s ease forwards;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* App branding at the top */
.app-branding[b-7wvxmp8dts] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    padding: 0.75rem;
    box-sizing: border-box;
    background-color: var(--primary-500);
    border-radius: 16px 16px 0 0;
    padding-bottom: 0;
}

.app-logo[b-7wvxmp8dts] {
    max-width: 50px;
    height: auto;
    margin-bottom: 0.5rem;
    animation: fadeInUp-b-7wvxmp8dts 0.5s ease 0.2s forwards;
    opacity: 0;
    transform: translateY(10px);
}

.app-name[b-7wvxmp8dts] {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-700);
    animation: fadeInUp-b-7wvxmp8dts 0.5s ease 0.3s forwards;
    opacity: 0;
    transform: translateY(10px);
}

.floriculture-name[b-7wvxmp8dts] {
    font-size: 1rem;
    color: var(--neutral-600);
    margin-top: 0.25rem;
    text-align: center;
    animation: fadeInUp-b-7wvxmp8dts 0.5s ease 0.4s forwards;
    opacity: 0;
    transform: translateY(10px);
}

/* Form Card */
.form-view-card[b-7wvxmp8dts] {
    width: 100%;
    max-width: 800px;
    background-color: var(--background);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    margin: 0 auto;
    margin-bottom: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: fadeInUp-b-7wvxmp8dts 0.3s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

/* Card Header */
.form-view-header[b-7wvxmp8dts] {
    padding: 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.form-view-header h1[b-7wvxmp8dts] {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-700);
    margin-bottom: 0.75rem;
}
.form-view-header h2[b-7wvxmp8dts]{
    font-size: 1rem;
    font-weight: 500;
    color: var(--neutral-600);
    margin-bottom: 0.5rem;
}

/* Form metadata */
.form-meta[b-7wvxmp8dts] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--neutral-600);
    text-align: center;
}

.meta-item[b-7wvxmp8dts] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.meta-item .material-icons[b-7wvxmp8dts] {
    font-size: 1.1rem;
    color: var(--primary-600);
}

/* Status Bar */
.form-view-status-bar[b-7wvxmp8dts] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
}

.status-group[b-7wvxmp8dts] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.status-label[b-7wvxmp8dts] {
    font-weight: 500;
    color: var(--neutral-700);
    min-width: 60px;
}

.status-badge[b-7wvxmp8dts] {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.status-badge .material-icons[b-7wvxmp8dts] {
    font-size: 0.9rem;
}

/* Status colors - matching FormManager.razor.css */
.status-pending[b-7wvxmp8dts] { background-color: #ffb74d; color: var(--neutral-900); }
.status-paid[b-7wvxmp8dts], .status-delivered[b-7wvxmp8dts], .status-completed[b-7wvxmp8dts] { background-color: var(--primary-600); }
.status-canceled[b-7wvxmp8dts], .status-failed[b-7wvxmp8dts], .status-rejected[b-7wvxmp8dts] { background-color: var(--validation-invalid); }
.status-intransit[b-7wvxmp8dts], .status-processing[b-7wvxmp8dts] { background-color: #29b6f6; }
.status-returned[b-7wvxmp8dts], .status-refunded[b-7wvxmp8dts] { background-color: var(--neutral-500); }

/* Status Dropdown Styles */
.status-dropdown[b-7wvxmp8dts] {
    position: relative;
    display: inline-block;
}

.status-badge.clickable[b-7wvxmp8dts] {
    cursor: pointer;
    transition: all 0.2s ease;
}

.status-badge.clickable:hover[b-7wvxmp8dts] {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-options[b-7wvxmp8dts] {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    min-width: 160px;
    background-color: var(--background);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    z-index: 1000;
    padding: 0.5rem 0;
    animation: fadeIn-b-7wvxmp8dts 0.2s ease;
}

.status-option[b-7wvxmp8dts] {
    padding: 0.4rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--neutral-800);
    transition: background-color 0.2s;
}

.status-option:hover[b-7wvxmp8dts] {
    background-color: var(--neutral-100);
}

.status-dot[b-7wvxmp8dts] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* Status colors - same as used for badges */
.status-dot.status-pending[b-7wvxmp8dts] { background-color: #ffb74d; }
.status-dot.status-paid[b-7wvxmp8dts], .status-dot.status-delivered[b-7wvxmp8dts], .status-dot.status-completed[b-7wvxmp8dts] { background-color: var(--primary-600); }
.status-dot.status-canceled[b-7wvxmp8dts], .status-dot.status-failed[b-7wvxmp8dts], .status-dot.status-rejected[b-7wvxmp8dts] { background-color: var(--validation-invalid); }
.status-dot.status-intransit[b-7wvxmp8dts], .status-dot.status-processing[b-7wvxmp8dts] { background-color: #29b6f6; }
.status-dot.status-returned[b-7wvxmp8dts], .status-dot.status-refunded[b-7wvxmp8dts] { background-color: var(--neutral-500); }

/* Lock status */
.lock-status-group[b-7wvxmp8dts] {
    margin-left: auto;
    align-self: center;
}

.lock-button[b-7wvxmp8dts], .lock-status[b-7wvxmp8dts] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.material-icons.locked[b-7wvxmp8dts] {
    color: var(--validation-invalid);
    animation: pulse-b-7wvxmp8dts 2s infinite ease-in-out;
}

.material-icons.unlocked[b-7wvxmp8dts] {
    color: var(--primary-600);
}

.lock-button[b-7wvxmp8dts] {
    background: none;
    border: none;
    padding: 0.35rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    color: var(--neutral-600);
}

.lock-button:hover:not(:disabled)[b-7wvxmp8dts] {
    background-color: var(--neutral-200);
    transform: scale(1.1);
}

.lock-button:disabled[b-7wvxmp8dts] {
    cursor: not-allowed;
    opacity: 0.6;
}

.lock-status .material-icons[b-7wvxmp8dts] {
    font-size: 1.3rem;
}
.locked-info[b-7wvxmp8dts]{
    display: flex;
    align-items: center;
    font-size: 0.7rem;
    color: var(--neutral-600);
}

.locked-info.clickable[b-7wvxmp8dts] {
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    margin: -0.25rem -0.5rem;
}

.locked-info.clickable:hover[b-7wvxmp8dts] {
    background-color: var(--neutral-100);
    color: var(--primary-700);
    transform: translateY(-1px);
}

.locked-info.clickable:hover .material-icons[b-7wvxmp8dts] {
    color: var(--primary-600);
}

.locked-info .material-icons[b-7wvxmp8dts] {
    font-size: 0.7rem;
    margin-right: 0.25rem;
    color: var(--neutral-600);
    transition: color 0.2s ease;
}
/* Alert */
.locked-alert[b-7wvxmp8dts] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 1.25rem 1rem 1.25rem;
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    border-radius: 8px;
    background-color: #fff3e0;
    color: #e65100;
    border: 1px solid #ffe0b2;
    animation: fadeInUp-b-7wvxmp8dts 0.5s ease forwards;
}

.locked-alert .material-icons[b-7wvxmp8dts] {
    font-size: 1.2rem;
    color: #e65100;
}

/* Form Body */
.form-view-body[b-7wvxmp8dts] {
    padding: 1.35rem 1.25rem;
    flex-grow: 1;
}

.form-fields-grid[b-7wvxmp8dts] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.form-field-item[b-7wvxmp8dts] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    animation: fadeIn-b-7wvxmp8dts 0.5s ease forwards;
}

.form-label[b-7wvxmp8dts] {
    display: block;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--neutral-700);
    font-weight: 500;
}

.input-wrapper[b-7wvxmp8dts] {
    width: 100%;
}

/* Input Styling (Matches app.css form-control) */
.input-wrapper .form-control[b-7wvxmp8dts],
.input-wrapper .form-select[b-7wvxmp8dts] {
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--neutral-800);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    line-height: 1.5;
    box-shadow: none;
}

.input-wrapper .form-control:focus[b-7wvxmp8dts],
.input-wrapper .form-select:focus[b-7wvxmp8dts] {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--focus-green-light);
    outline: none;
}

/* Specific styling for select dropdown arrow */
.input-wrapper .form-select[b-7wvxmp8dts] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

.input-wrapper .form-check.form-switch[b-7wvxmp8dts] {
    padding-left: 0;
    display: flex;
    align-items: center;
    min-height: calc(1.5em + (0.6rem * 2) + 2px);
    gap: 0.5rem;
}

.input-wrapper .form-check.form-switch .form-check-input[b-7wvxmp8dts] {
    margin-left: 0;
    /* Inherit Bootstrap's switch styles */
}

.input-wrapper .form-check.form-switch .form-check-label[b-7wvxmp8dts] {
    margin-bottom: 0;
}

/* Readonly Field */
.readonly-value[b-7wvxmp8dts] {
    padding: 0.65rem 1rem;
    color: var(--neutral-700);
    background-color: var(--neutral-50);
    border: 1px solid var(--border);
    border-radius: 8px;
    min-height: calc(1.5em + (0.6rem * 2) + 2px);
    display: block;
    font-size: 0.95rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.readonly-value a[b-7wvxmp8dts] {
    color: var(--primary-600);
    text-decoration: none;
    transition: all 0.2s ease;
}

.readonly-value a:hover[b-7wvxmp8dts] {
    text-decoration: underline;
    color: var(--primary-700);
}

/* Form Actions */
.form-view-actions[b-7wvxmp8dts] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

/* Form Footer */
.form-view-footer[b-7wvxmp8dts] {
    padding: 0.85rem 1.25rem;
    border-top: 1px solid var(--border);
    background-color: var(--primary-500);
    font-size: 0.75rem;
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
}

/* Loading Indicator */
.loading-container[b-7wvxmp8dts] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--background);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    animation: fadeIn-b-7wvxmp8dts 0.5s ease forwards;
}

.loading-container .spinner[b-7wvxmp8dts] {
    border: 4px solid var(--neutral-200);
    border-top: 4px solid var(--primary-500);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin-b-7wvxmp8dts 1s linear infinite;
    margin-bottom: 1rem;
}

.loading-container p[b-7wvxmp8dts] {
    color: var(--neutral-600);
    font-size: 1rem;
    font-weight: 500;
}

@keyframes spin-b-7wvxmp8dts {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-b-7wvxmp8dts {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

@keyframes fadeIn-b-7wvxmp8dts {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp-b-7wvxmp8dts {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error Card */
.error-card[b-7wvxmp8dts] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--background);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    animation: fadeIn-b-7wvxmp8dts 0.6s ease forwards;
}

/* --- Responsive Adjustments --- */
/* Small tablets (>= 576px) */
@media (min-width: 576px) {
    .form-view-page[b-7wvxmp8dts] {
        padding: 1.5rem;
    }

    .form-view-card[b-7wvxmp8dts] {
        margin-bottom: 2rem;
        animation: fadeInUp-b-7wvxmp8dts 0.5s ease forwards;
        transform: translateY(15px);
    }

    .app-logo[b-7wvxmp8dts] {
        max-width: 80px;
    }

    .app-name[b-7wvxmp8dts] {
        font-size: 1.6rem;
    }

    .form-view-header[b-7wvxmp8dts] {
        padding: 1.35rem 1.5rem;
    }

    .form-view-header h1[b-7wvxmp8dts] {
        font-size: 1.35rem;
    }
    .form-view-header h2[b-7wvxmp8dts] {
        font-size: 1.1rem;
    }

    .form-meta[b-7wvxmp8dts] {
        flex-direction: row;
        justify-content: space-around;
        text-align: left;
    }

    .meta-item[b-7wvxmp8dts] {
        justify-content: flex-start;
    }

    .form-view-status-bar[b-7wvxmp8dts] {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.85rem 1.5rem;
    }

    .status-group[b-7wvxmp8dts] {
        width: auto;
    }

    .form-view-body[b-7wvxmp8dts] {
        padding: 1.5rem;
    }

    .form-view-actions[b-7wvxmp8dts] {
        flex-direction: row;
        justify-content: flex-end;
    }

    .form-view-footer[b-7wvxmp8dts] {
        padding: 0.85rem 1.5rem;
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .form-field-item:has(.section-divider)[b-7wvxmp8dts],
    .form-field-item:has(.form-title)[b-7wvxmp8dts],
    .form-field-item:has(.input-wrapper textarea)[b-7wvxmp8dts],
    .form-field-item:has(.line-items-container)[b-7wvxmp8dts],
    .form-field-item:has(.readonly-value:has(hr))[b-7wvxmp8dts],
    .form-field-item:has(.readonly-value:has(h2))[b-7wvxmp8dts] {
        grid-column: 1 / -1;
    }
}

/* Section styling */
.section-divider[b-7wvxmp8dts] {
    width: 100%;
    border: none;
    border-top: 1px solid var(--border);
    margin: 0.5rem 0;
}

/* Title styling */
.form-title[b-7wvxmp8dts] {
    color: var(--primary-700);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.25rem 0;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid var(--primary-300);
}

/* Textarea styling */
.input-wrapper textarea.form-control[b-7wvxmp8dts] {
    resize: vertical;
}

/* Boolean field styling */
.form-check.form-switch[b-7wvxmp8dts] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 0;
}

.form-check.form-switch .form-check-input[b-7wvxmp8dts] {
    width: 3rem;
    height: 1.5rem;
    margin-left: 0;
    background-color: var(--neutral-300);
    border-color: var(--neutral-400);
    cursor: pointer;
}

.form-check.form-switch .form-check-input:checked[b-7wvxmp8dts] {
    background-color: var(--primary-600);
    border-color: var(--primary-700);
}

.form-check.form-switch .form-check-input:focus[b-7wvxmp8dts] {
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}

/* Line items styling */
.line-items-container[b-7wvxmp8dts] {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem;
    overflow-x: auto;
}

.line-items-table[b-7wvxmp8dts] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    min-width: 280px;
}

.line-items-table thead th[b-7wvxmp8dts] {
    padding: 0.5rem 0.4rem;
    text-align: left;
    border-bottom: 2px solid var(--border);
    font-weight: 600;
    color: var(--neutral-700);
    white-space: nowrap;
}

.line-items-table tbody td[b-7wvxmp8dts] {
    padding: 0.35rem 0.4rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.line-item-input[b-7wvxmp8dts] {
    padding: 0.3 !important;
    font-size: 0.5rem !important;
    min-height: auto !important;
}

.line-items-table .action-column[b-7wvxmp8dts] {
    width: 40px;
}

.action-cell[b-7wvxmp8dts] {
    text-align: center;
    width: 40px;
}

.btn-icon.delete-item[b-7wvxmp8dts] {
    background: none;
    border: none;
    color: var(--validation-invalid);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.btn-icon.delete-item:hover[b-7wvxmp8dts] {
    background-color: rgba(var(--validation-invalid-rgb), 0.1);
    transform: scale(1.1);
}

.btn-icon.delete-item .material-icons[b-7wvxmp8dts] {
    font-size: 1.1rem;
}

.line-items-actions[b-7wvxmp8dts] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    gap: 0.5rem;
}

.btn-sm.add-item-btn[b-7wvxmp8dts] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    background-color: var(--primary-600);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-sm.add-item-btn:hover[b-7wvxmp8dts] {
    background-color: var(--primary-700);
    transform: scale(1.02);
}

.btn-sm.add-item-btn .material-icons[b-7wvxmp8dts] {
    font-size: 1rem;
}

.total-sum[b-7wvxmp8dts] {
    margin-top: 0;
    text-align: right;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--neutral-500);
    white-space: nowrap;
}

/* Mobile responsive adjustments for line items */
@media (max-width: 575px) {
    .line-items-container[b-7wvxmp8dts] {
        padding: 0.5rem;
        margin: 0 -0.5rem;
        width: calc(100% + 1rem);
        border-radius: 6px;
    }
    
    .line-items-table[b-7wvxmp8dts] {
        font-size: 0.8rem;
    }
    
    .line-items-table thead th[b-7wvxmp8dts] {
        padding: 0.4rem 0.3rem;
    }
    
    .line-items-table tbody td[b-7wvxmp8dts] {
        padding: 0.25rem 0.3rem;
    }
    
    .line-item-input[b-7wvxmp8dts] {
        padding: 0.25rem !important;
        font-size: 0.5rem !important;
    }
    
    .btn-icon.delete-item .material-icons[b-7wvxmp8dts] {
        font-size: 1rem;
    }
    
    .line-items-actions[b-7wvxmp8dts] {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .total-sum[b-7wvxmp8dts] {
        width: 100%;
        text-align: right;
    }
}

/* Tablets and small desktops (>= 768px) */
@media (min-width: 768px) {
    .form-fields-grid[b-7wvxmp8dts] {
        gap: 0.9rem 1.15rem;
    }

    .form-view-header[b-7wvxmp8dts] {
        padding: 1.5rem 1.75rem;
    }

    .form-view-header h1[b-7wvxmp8dts] {
        font-size: 1.4rem;
    }
    .form-view-header h2[b-7wvxmp8dts] {
        font-size: 1.15rem;
    }

    .form-meta[b-7wvxmp8dts] {
        justify-content: space-between;
    }

    .form-view-status-bar[b-7wvxmp8dts] {
        padding: 1rem 1.75rem;
    }

    .form-view-body[b-7wvxmp8dts] {
        padding: 1.75rem;
    }
}

/* Large desktops (>= 992px) */
@media (min-width: 992px) {
    .form-view-card[b-7wvxmp8dts] {
        border-radius: 20px;
        box-shadow: var(--shadow-card);
        transition: box-shadow 0.3s ease;
    }

    .form-view-card:hover[b-7wvxmp8dts] {
        box-shadow: var(--shadow-hover);
    }

    .form-view-header h1[b-7wvxmp8dts] {
        font-size: 1.5rem;
    }
    .form-view-header h2[b-7wvxmp8dts] {
        font-size: 1.25rem;
    }
    .form-view-body[b-7wvxmp8dts] {
        padding: 2rem;
    }
}

/* Extra large desktops (>= 1200px) */
@media (min-width: 1200px) {
    .form-fields-grid[b-7wvxmp8dts] {
        gap: 1.15rem 1.4rem;
    }
}
/* /Pages/Index.razor.rz.scp.css */
.card[b-88nye94a8n] {
    background-color: var(--background);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.card:hover[b-88nye94a8n] {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.card h2[b-88nye94a8n] {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-700);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--neutral-100);
    position: relative;
}

.card h2[b-88nye94a8n]::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 3rem;
    height: 3px;
    background-color: var(--primary-500);
    border-radius: 2px;
}

.quick-actions[b-88nye94a8n] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.action-card[b-88nye94a8n] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
    border-radius: 12px;
    background-color: var(--background);
    border: 1px solid var(--neutral-50);
    transition: all 0.3s ease;
    animation: fadeIn-b-88nye94a8n 0.5s ease forwards;
    cursor: pointer;
}

.action-card:hover[b-88nye94a8n] {
    border-color: var(--primary-100);
    background-color: var(--primary-50);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.action-card i[b-88nye94a8n] {
    font-size: 2rem;
    color: var(--primary-600);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.action-card:hover i[b-88nye94a8n] {
    color: var(--primary-700);
    transform: scale(1.1);
}

.action-card h3[b-88nye94a8n] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-700);
    margin-bottom: 0.5rem;
}

.action-card p[b-88nye94a8n] {
    font-size: 0.85rem;
    color: var(--neutral-600);
    margin-bottom: 0;
}

/* Loading animation styles */
.loading-container[b-88nye94a8n] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.loading-spinner[b-88nye94a8n] {
    border: 4px solid var(--neutral-100);
    border-top: 4px solid var(--primary-500);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin-b-88nye94a8n 1s linear infinite;
    margin-bottom: 1rem;
}

/* Inline spinner inside stat-info */
.inline-spinner[b-88nye94a8n] {
    border: 3px solid var(--neutral-100);
    border-top: 3px solid var(--primary-500);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin-b-88nye94a8n 1s linear infinite;
    margin: 8px 0;
}

@keyframes spin-b-88nye94a8n {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn-b-88nye94a8n {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations for action cards */
.quick-actions .action-card:nth-child(1)[b-88nye94a8n] { animation-delay: 0.1s; }
.quick-actions .action-card:nth-child(2)[b-88nye94a8n] { animation-delay: 0.2s; }
.quick-actions .action-card:nth-child(3)[b-88nye94a8n] { animation-delay: 0.3s; }
.quick-actions .action-card:nth-child(4)[b-88nye94a8n] { animation-delay: 0.4s; }

.statistics[b-88nye94a8n] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.stat-item[b-88nye94a8n] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    background-color: var(--background);
    border: 1px solid var(--neutral-50);
    transition: all 0.3s ease;
    animation: fadeIn-b-88nye94a8n 0.5s ease forwards;
    opacity: 0;
}

.stat-item:hover[b-88nye94a8n] {
    border-color: var(--primary-100);
    background-color: var(--primary-50);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.stat-item i[b-88nye94a8n] {
    font-size: 1.75rem;
    color: var(--primary-600);
    background-color: var(--primary-50);
    padding: 0.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover i[b-88nye94a8n] {
    background-color: var(--primary-100);
    color: var(--primary-700);
    transform: scale(1.05);
}

.stat-info[b-88nye94a8n] {
    display: flex;
    flex-direction: column;
    min-height: 50px;
    justify-content: center;
}

.stat-value[b-88nye94a8n] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-label[b-88nye94a8n] {
    color: var(--neutral-600);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Medium screens (tablets) */
@media (min-width: 576px) {
    .card[b-88nye94a8n] {
        padding: 1.5rem;
    }
    
    .statistics[b-88nye94a8n] {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .card h2[b-88nye94a8n] {
        font-size: 1.25rem;
    }
    
    .quick-actions[b-88nye94a8n] {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens (desktops) */
@media (min-width: 992px) {
    .quick-actions[b-88nye94a8n] {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .action-card[b-88nye94a8n] {
        padding: 1.5rem 1.25rem;
    }
    
    .action-card i[b-88nye94a8n] {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    
    .action-card h3[b-88nye94a8n] {
        font-size: 1.2rem;
    }
    
    .action-card p[b-88nye94a8n] {
        font-size: 0.9rem;
    }
    
    .quick-actions[b-88nye94a8n] {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .statistics[b-88nye94a8n] {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item[b-88nye94a8n] {
        padding: 1.25rem;
    }
    
    .stat-item i[b-88nye94a8n] {
        font-size: 2rem;
        padding: 1rem;
    }
    
    .stat-value[b-88nye94a8n] {
        font-size: 1.75rem;
    }
    
    .stat-label[b-88nye94a8n] {
        font-size: 0.9rem;
    }
    
    .card h2[b-88nye94a8n] {
        font-size: 1.4rem;
    }
}

/* Animations for statistics - Ensure all statistic items get proper animation delays */
.statistics .stat-item:nth-child(1)[b-88nye94a8n] { animation-delay: 0.1s; }
.statistics .stat-item:nth-child(2)[b-88nye94a8n] { animation-delay: 0.2s; }
.statistics .stat-item:nth-child(3)[b-88nye94a8n] { animation-delay: 0.3s; }
.statistics .stat-item:nth-child(4)[b-88nye94a8n] { animation-delay: 0.4s; }
.statistics .stat-item:nth-child(5)[b-88nye94a8n] { animation-delay: 0.5s; }
.statistics .stat-item:nth-child(6)[b-88nye94a8n] { animation-delay: 0.6s; }
/* /Pages/Login.razor.rz.scp.css */
.login-container[b-dl3v0u01jx] {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.login-card[b-dl3v0u01jx] {
  width: 100%;
  max-width: 450px;
  padding: 2.5rem;
  background-color: var(--background);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 10;
  overflow: hidden;
  animation: fadeIn 0.6s ease;
}

.login-header[b-dl3v0u01jx] {
  text-align: center;
  margin-bottom: 1rem;
}

.login-header h1[b-dl3v0u01jx] {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-600);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.login-header p[b-dl3v0u01jx] {
  color: var(--neutral-600);
  font-size: 1rem;
}

.login-header img[b-dl3v0u01jx] {
  max-width: 25%;
  height: auto;
}

.login-form[b-dl3v0u01jx] {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}



/* /Pages/Lojas.razor.rz.scp.css */
.search-filters[b-ey0vpq72nk] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

label.input-with-icon[b-ey0vpq72nk] {
    position: relative;
    display: block;
    cursor: text;
}

label.input-with-icon input[b-ey0vpq72nk] {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--neutral-700);
    font-size: 0.95rem;
}

label.input-with-icon .input-icon[b-ey0vpq72nk] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-500);
    font-size: 1.25rem;
    pointer-events: none;
}

.add-user-btn[b-ey0vpq72nk] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--primary-600);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-button);
}

.add-user-btn:hover[b-ey0vpq72nk] {
    background-color: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.add-user-btn .material-icons[b-ey0vpq72nk] {
    font-size: 1.2rem;
}

.empty-state[b-ey0vpq72nk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--background-alt);
    border-radius: 12px;
    border: 1px dashed var(--border);
}

.empty-state-icon[b-ey0vpq72nk] {
    font-size: 3rem;
    color: var(--neutral-400);
    margin-bottom: 1rem;
}

.empty-state-text[b-ey0vpq72nk] {
    color: var(--neutral-600);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.form-control[b-ey0vpq72nk] {
    width: 100%;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--neutral-700);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.form-control:focus[b-ey0vpq72nk] {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.15);
    outline: none;
}

/* Store-specific styles */
.stores-list[b-ey0vpq72nk] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    color: var(--primary-600);
    
    margin-bottom: 3.5rem;
}

.store-card[b-ey0vpq72nk] {
    background-color: var(--background);
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 1rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.store-card:hover[b-ey0vpq72nk] {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}


.store-card-header[b-ey0vpq72nk] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.store-logo[b-ey0vpq72nk] {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-color: var(--background-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border);
}

.store-logo img[b-ey0vpq72nk] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-icon[b-ey0vpq72nk] {
    font-size: 30px;
    color: var(--neutral-500);
}

.store-info[b-ey0vpq72nk] {
    flex: 1;
}

.store-name[b-ey0vpq72nk] {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: 0.25rem;
}

.store-address[b-ey0vpq72nk] {
    font-size: 0.9rem;
    color: var(--neutral-600);
    margin-bottom: 0;
}

.store-card-actions[b-ey0vpq72nk] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.action-btn[b-ey0vpq72nk] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: var(--background-alt);
}

.view-btn:hover[b-ey0vpq72nk] {
    background-color: var(--primary-50);
    color: var(--primary-700);
}

.edit-btn:hover[b-ey0vpq72nk] {
    background-color: var(--primary-50);
    color: var(--primary-700);
}

.delete-btn:hover[b-ey0vpq72nk] {
    background-color: var(--primary-50);
    color: var(--primary-700);
}

/* Store Users Modal */
.store-users-list[b-ey0vpq72nk] {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.store-user-item[b-ey0vpq72nk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.store-user-item:last-child[b-ey0vpq72nk] {
    border-bottom: none;
}

.user-info[b-ey0vpq72nk] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar[b-ey0vpq72nk] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar .material-icons[b-ey0vpq72nk] {
    font-size: 24px;
    color: var(--primary-600);
}

.user-details[b-ey0vpq72nk] {
    display: flex;
    flex-direction: column;
}

.user-name[b-ey0vpq72nk] {
    font-size: 1rem;
    font-weight: 500;
    color: var(--neutral-800);
    margin-bottom: 0.25rem;
}

.user-email[b-ey0vpq72nk] {
    font-size: 0.85rem;
    color: var(--neutral-600);
    margin-bottom: 0;
}

.user-role[b-ey0vpq72nk] {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background-color: var(--primary-50);
    color: var(--primary-700);
}

/* Media queries for responsive design */
@media (min-width: 576px) {
    .stores-list[b-ey0vpq72nk] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .search-filters[b-ey0vpq72nk] {
        flex-direction: row;
        align-items: center;
    }

    .search-bar[b-ey0vpq72nk] {
        flex: 1;
    }
}

@media (min-width: 992px) {
    .stores-list[b-ey0vpq72nk] {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* /Pages/Usuarios.razor.rz.scp.css */
.search-filters[b-thbfulxu1n] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.store-select-container[b-thbfulxu1n] {
    position: relative;
}

.store-select[b-thbfulxu1n] {
    width: 100%;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    background-color: var(--background);
    border: 1px solid var(--border);
    color: var(--neutral-700);
    appearance: none;
    font-size: 0.95rem;
}

.store-select-container[b-thbfulxu1n]::after {
    content: "arrow_drop_down";
    font-family: 'Material Icons';
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-600);
    pointer-events: none;
}

label.input-with-icon[b-thbfulxu1n] {
    position: relative;
    display: block;
    /* Ensure label behaves like a block element */
    cursor: text;
    /* Indicate text input interaction */
}

label.input-with-icon input[b-thbfulxu1n] {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--neutral-700);
    font-size: 0.95rem;
}

.users-list[b-thbfulxu1n] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

label.input-with-icon .input-icon[b-thbfulxu1n] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-500);
    font-size: 1.25rem;
    pointer-events: none;
    /* Prevent icon from interfering with label click */
}

.add-user-btn[b-thbfulxu1n] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--primary-600);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-button);
}

.add-user-btn:hover[b-thbfulxu1n] {
    background-color: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.add-user-btn .material-icons[b-thbfulxu1n] {
    font-size: 1.2rem;
}

.empty-state[b-thbfulxu1n] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--background-alt);
    border-radius: 12px;
    border: 1px dashed var(--border);
}

.empty-state-icon[b-thbfulxu1n] {
    font-size: 3rem;
    color: var(--neutral-400);
    margin-bottom: 1rem;
}

.empty-state-text[b-thbfulxu1n] {
    color: var(--neutral-600);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.form-control[b-thbfulxu1n] {
    width: 100%;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--neutral-700);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.form-control:focus[b-thbfulxu1n] {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.15);
    outline: none;
}

.form-check[b-thbfulxu1n] {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.form-check-input[b-thbfulxu1n] {
    margin-right: 0.5rem;
}

.form-check-label[b-thbfulxu1n] {
    color: var(--neutral-700);
    font-size: 0.95rem;
}

/* Permission management */
.store-permissions[b-thbfulxu1n] {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.store-permissions h6[b-thbfulxu1n] {
    color: var(--neutral-800);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.store-permission-item[b-thbfulxu1n] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.permission-store[b-thbfulxu1n] {
    font-weight: 500;
    color: var(--neutral-700);
}

.permission-select[b-thbfulxu1n] {
    width: 100%;
}

/* Store search in permissions section */
.store-permissions-header[b-thbfulxu1n] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.store-permissions-header h6[b-thbfulxu1n] {
    margin-bottom: 0;
}

.store-search-input[b-thbfulxu1n] {
    position: relative;
    margin-bottom: 0.5rem;
}

.store-search-input input[b-thbfulxu1n] {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--neutral-700);
    font-size: 0.9rem;
}

.store-search-input .material-icons[b-thbfulxu1n] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-500);
    font-size: 1.2rem;
}

.no-stores-found[b-thbfulxu1n] {
    padding: 1rem;
    text-align: center;
    color: var(--neutral-600);
    background-color: var(--background-alt);
    border-radius: 8px;
    font-size: 0.9rem;
}

.search-bar[b-thbfulxu1n] {
    flex: 2;
}

.store-dropdown[b-thbfulxu1n] {
    flex: 2;
}

/* Animation */
@keyframes fadeIn-b-thbfulxu1n {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media queries for responsive design */
@media (min-width: 576px) {
    .store-permission-item[b-thbfulxu1n] {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .permission-select[b-thbfulxu1n] {
        width: auto;
        min-width: 150px;
    }

    .users-list[b-thbfulxu1n] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {

    .search-filters[b-thbfulxu1n] {
        flex-direction: row;
        align-items: center;
    }

    .store-permissions-header[b-thbfulxu1n] {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .store-search-input[b-thbfulxu1n] {
        width: 50%;
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .users-list[b-thbfulxu1n] {
        grid-template-columns: repeat(3, 1fr);
    }
}
