/* /Features/PostAPInvoices/Components/PostAPInvoicesTable.razor.rz.scp.css */
.post-ap-invoices-table[b-t6aaheudti]  .darker-focus:focus-within .mud-button-root {
  background-color: rgba(0, 0, 0, 0.3) !important;
}

/* =========================================
   Invoice table
   ========================================= */
.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .mud-table-head .mud-table-cell {
  font-size: 0.75rem !important;
  padding: 4px 6px !important;
  font-weight: 600;
  text-align: center;
  background-color: #e2e8f0;
  color: #1e293b;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .mud-table-cell {
  padding: 4px 6px !important;
  text-align: center;
}

  .post-ap-invoices-table[b-t6aaheudti]  .invoice-table .mud-table-cell .mud-input-control,
  .post-ap-invoices-table[b-t6aaheudti]  .invoice-table .mud-table-cell .mud-select,
  .post-ap-invoices-table[b-t6aaheudti]  .invoice-table .mud-table-cell .mud-picker {
    width: 100% !important;
    margin: 0 auto !important;
  }

  .post-ap-invoices-table[b-t6aaheudti]  .invoice-table .mud-table-cell .mud-input {
    margin: 0 !important;
    font-size: 0.8rem !important;
  }

    .post-ap-invoices-table[b-t6aaheudti]  .invoice-table .mud-table-cell .mud-input input {
      text-align: center;
    }

  .post-ap-invoices-table[b-t6aaheudti]  .invoice-table .mud-table-cell .mud-button {
    padding: 4px 8px !important;
    font-size: 0.75rem !important;
    min-width: unset !important;
  }

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-inv-actions {
  width: 60px;
  min-width: 60px;
  max-width: 60px;
  text-align: center;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-ref-number {
  width: 70px;
  min-width: 70px;
  max-width: 70px;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-inv-vendor {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-inv-crgl {
  width: 130px;
  min-width: 130px;
  max-width: 130px;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-inv-dept {
  width: 110px;
  min-width: 110px;
  max-width: 110px;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-inv-invoice-no {
  width: 130px;
  min-width: 130px;
  max-width: 130px;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-inv-invoice-date {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-inv-description {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-inv-invoice-amt {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-inv-tax-amt {
  width: 110px;
  min-width: 110px;
  max-width: 110px;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-inv-total-invoice {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-inv-due-days {
  width: 90px;
  min-width: 90px;
  max-width: 90px;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-inv-discount-days {
  width: 110px;
  min-width: 110px;
  max-width: 110px;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-inv-rate {
  width: 90px;
  min-width: 90px;
  max-width: 90px;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-inv-due-date {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-inv-discount-date {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
}

.post-ap-invoices-table[b-t6aaheudti]  .invoice-table .col-inv-action {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}



/* Remove shadows and improve paper appearance */
.post-ap-invoices-table[b-t6aaheudti]  .mud-paper {
  box-shadow: none !important;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
}

.post-ap-invoices-table[b-t6aaheudti]  .mud-input-outlined .mud-input-control {
  background-color: #fafafa;
}

.post-ap-invoices-table[b-t6aaheudti]  .mud-input-outlined:hover .mud-input-control {
  background-color: #f5f5f5;
}

/* Disabled fields */
.post-ap-invoices-table[b-t6aaheudti]  .mud-input-control.mud-disabled,
.post-ap-invoices-table[b-t6aaheudti]  .mud-input.mud-disabled,
.post-ap-invoices-table[b-t6aaheudti]  .mud-select.mud-disabled {
  background-color: #f5f5f5 !important;
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

  .post-ap-invoices-table[b-t6aaheudti]  .mud-input.mud-disabled input {
    color: #999 !important;
  }

/* =========================================
   Page-level elements
   ========================================= */
.post-ap-invoices-table[b-t6aaheudti]  .page-title {
  color: #1976d2;
  font-weight: 600;
  margin-bottom: 16px !important;
}

.post-ap-invoices-table[b-t6aaheudti]  .section-header {
  font-weight: 700;
  padding: 8px 0;
  margin-top: 0 !important;
  margin-bottom: 0px !important;
}

.post-ap-invoices-table[b-t6aaheudti]  .filter-section {
  background-color: #ffffff !important;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 5px;
  margin-top: 10px;
}

.post-ap-invoices-table[b-t6aaheudti]  .filter-label {
  font-weight: 500;
  color: #555;
  margin-bottom: 8px;
}

/* =========================================
   Buttons
   ========================================= */
.post-ap-invoices-table[b-t6aaheudti]  .submit-button {
  border-radius: 8px !important;
  text-transform: none !important;
  font-weight: 600 !important;
  padding: 10px 32px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  transition: all 0.2s ease !important;
}

  .post-ap-invoices-table[b-t6aaheudti]  .submit-button:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
    transform: translateY(-1px);
  }

.post-ap-invoices-table[b-t6aaheudti]  .action-button {
  box-shadow: none !important;
  border-radius: 6px !important;
  text-transform: none !important;
  font-weight: 500 !important;
  font-size: 0.75rem !important;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease !important;
}

.post-ap-invoices-table[b-t6aaheudti]  .action-button:hover {
  filter: brightness(0.88) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-1px) !important;
}

.post-ap-invoices-table[b-t6aaheudti]  .action-button:focus,
.post-ap-invoices-table[b-t6aaheudti]  .action-button:focus-visible {
  outline: 2px solid #1976d2 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.25) !important;
}

.post-ap-invoices-table[b-t6aaheudti]  .add-row-button {
  border-radius: 6px !important;
  width: auto !important;
  height: 28px !important;
  min-width: 70px !important;
  padding: 4px 12px !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
  font-size: 0.8rem !important;
  background-color: #f5f5f5 !important;
  color: #1976d2 !important;
}

  .post-ap-invoices-table[b-t6aaheudti]  .add-row-button:hover {
    background-color: #e0e0e0 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    transform: translateY(-1px);
  }

/* =========================================
   Table wrappers
   ========================================= */
.post-ap-invoices-table[b-t6aaheudti]  .table-block-wrapper {
  overflow-x: auto;
  max-width: 100%;
  padding: 3px;
  margin-bottom: 10px;
}

.post-ap-invoices-table[b-t6aaheudti]  .compact-table {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: none !important;
}

  .post-ap-invoices-table[b-t6aaheudti]  .compact-table .mud-table-container {
    border-radius: 8px;
    box-shadow: none !important;
  }

  /* Compact table cells and inputs */
  .post-ap-invoices-table[b-t6aaheudti]  .compact-table .mud-table-cell {
    padding: 4px 6px !important;
    border-bottom: 1px solid #f0f0f0;
  }

  .post-ap-invoices-table[b-t6aaheudti]  .compact-table .mud-input {
    margin: 0 !important;
    font-size: 0.8rem !important;
  }

  .post-ap-invoices-table[b-t6aaheudti]  .compact-table .mud-table-cell .mud-input-control,
  .post-ap-invoices-table[b-t6aaheudti]  .compact-table .mud-table-cell .mud-select,
  .post-ap-invoices-table[b-t6aaheudti]  .compact-table .mud-table-cell .mud-picker {
    width: 100% !important;
    margin: 0 !important;
  }

  .post-ap-invoices-table[b-t6aaheudti]  .compact-table .mud-table-cell .mud-checkbox {
    margin: 0 !important;
  }

  /* Compact table header */
  .post-ap-invoices-table[b-t6aaheudti]  .compact-table .mud-table-head .mud-table-cell {
    font-size: 0.75rem !important;
    padding: 8px 6px !important;
    font-weight: 600;
    background-color: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
    color: #333;
  }

  /* Row hover */
  .post-ap-invoices-table[b-t6aaheudti]  .compact-table tbody tr:hover {
    background-color: #f5f9ff;
  }

/* =========================================
   Expense table (shared styles)
   ========================================= */
/* Header */
.post-ap-invoices-table[b-t6aaheudti]  .expense-table .mud-table-head .mud-table-cell {
  font-size: 0.75rem !important;
  padding: 4px 6px !important;
  font-weight: 600;
  text-align: center;
  background-color: #e2e8f0;
  color: #1e293b;
}

/* Expense table cells and inputs - CENTERED */
.post-ap-invoices-table[b-t6aaheudti]  .expense-table .mud-table-cell {
  padding: 4px 6px !important;
  text-align: center;
}

  .post-ap-invoices-table[b-t6aaheudti]  .expense-table .mud-table-cell .mud-input-control,
  .post-ap-invoices-table[b-t6aaheudti]  .expense-table .mud-table-cell .mud-select,
  .post-ap-invoices-table[b-t6aaheudti]  .expense-table .mud-table-cell .mud-picker {
    width: 100% !important;
    margin: 0 auto !important;
  }

  .post-ap-invoices-table[b-t6aaheudti]  .expense-table .mud-table-cell .mud-input {
    margin: 0 !important;
    font-size: 0.8rem !important;
  }

    .post-ap-invoices-table[b-t6aaheudti]  .expense-table .mud-table-cell .mud-input input {
      text-align: center;
    }

  .post-ap-invoices-table[b-t6aaheudti]  .expense-table .mud-table-cell .mud-select .mud-input {
    font-size: 0.8rem !important;
  }

    .post-ap-invoices-table[b-t6aaheudti]  .expense-table .mud-table-cell .mud-select .mud-input input {
      text-align: center;
    }

  .post-ap-invoices-table[b-t6aaheudti]  .expense-table .mud-table-cell .mud-button {
    padding: 4px 8px !important;
    font-size: 0.75rem !important;
    min-width: unset !important;
  }

  .post-ap-invoices-table[b-t6aaheudti]  .expense-table .mud-table-cell .mud-checkbox {
    display: flex;
    justify-content: center;
    align-items: center;
  }

/* =========================================
   Expense table - Column widths (col-ex)
   ========================================= */
.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-actions-delete {
  width: 60px;
  min-width: 60px;
  max-width: 60px;
  text-align: center;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-invoice-ref {
  width: 70px;
  min-width: 70px;
  max-width: 70px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-action {
  width: 90px;
  min-width: 90px;
  max-width: 90px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-client {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-matter {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-task {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-tmkp {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-code {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-tax-grp {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-tran-date {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-pb {
  width: 50px;
  min-width: 50px;
  max-width: 50px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-description {
  width: 250px;
  min-width: 250px;
  max-width: 250px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-crgl {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-rate {
  width: 90px;
  min-width: 90px;
  max-width: 90px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-qty {
  width: 70px;
  min-width: 70px;
  max-width: 70px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-disb-amt {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-tax-amt {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-total-amt {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-ex-incl {
  width: 50px;
  min-width: 50px;
  max-width: 50px;
}

/* =========================================
   Firm Expense table - Column widths (col-fex)
   ========================================= */
.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-actions-delete {
  width: 60px;
  min-width: 60px;
  max-width: 60px;
  text-align: center;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-invoice-ref {
  width: 70px;
  min-width: 70px;
  max-width: 70px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-action {
  width: 90px;
  min-width: 90px;
  max-width: 90px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-drgl {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-dept {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-tmkp {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-code {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-tax-grp {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-tran-date {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-incl {
  width: 50px;
  min-width: 50px;
  max-width: 50px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-description {
  width: 250px;
  min-width: 250px;
  max-width: 250px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-crgl {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-market {
  width: 90px;
  min-width: 90px;
  max-width: 90px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-event {
  width: 90px;
  min-width: 90px;
  max-width: 90px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-disb-amt {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-tax-amt {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.post-ap-invoices-table[b-t6aaheudti]  .expense-table .col-fex-total-amt {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}


/* /Layouts/ProfileDropdownStatic.razor.rz.scp.css */
.profile-dropdown[b-49liuyxq4d] {
    position: relative;
    display: inline-block;
}

.dropdown-toggle[b-49liuyxq4d] {
    display: none;
}

.dropdown-button[b-49liuyxq4d] {
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    user-select: none;
}

.dropdown-label[b-49liuyxq4d] {
    margin-right: 8px;
}

.dropdown-icon[b-49liuyxq4d] {
    font-size: 12px;
    transition: transform 0.2s;
}


.dropdown-menu[b-49liuyxq4d] {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-radius: 4px;
    min-width: 200px;
    z-index: 1000;
    display: none;
}

.dropdown-item[b-49liuyxq4d] {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
}

    .dropdown-item:hover[b-49liuyxq4d] {
        background-color: #f5f5f5;
    }

.item-icon[b-49liuyxq4d] {
    margin-right: 12px;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.manage-icon[b-49liuyxq4d] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5-9h10v2H7z'/%3E%3C/svg%3E");
    filter: invert(47%) sepia(71%) saturate(1622%) hue-rotate(202deg) brightness(91%) contrast(98%);
}

.logout-icon[b-49liuyxq4d] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath d='M17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z'/%3E%3C/svg%3E");
    filter: invert(27%) sepia(83%) saturate(1811%) hue-rotate(343deg) brightness(101%) contrast(106%);
}

.register-icon[b-49liuyxq4d] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z'/%3E%3C/svg%3E");
    filter: invert(47%) sepia(71%) saturate(1622%) hue-rotate(202deg) brightness(91%) contrast(98%);
}

.login-icon[b-49liuyxq4d] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath d='M11 7L9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5-5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8v14z'/%3E%3C/svg%3E");
    filter: invert(47%) sepia(71%) saturate(1622%) hue-rotate(202deg) brightness(91%) contrast(98%);
}

.text-color-black[b-49liuyxq4d] {
    color: black;
}

/* The CSS-only dropdown toggle */
.dropdown-toggle:checked ~ .dropdown-menu[b-49liuyxq4d] {
    display: block;
}

.dropdown-toggle:checked ~ .dropdown-button .dropdown-icon[b-49liuyxq4d] {
    transform: rotate(180deg);
}

.settings-button[b-49liuyxq4d] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px; /* Adjust size as needed */
    height: 35px;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
    border: none;
    user-select: none;
    padding: 5px;
}

    .settings-button:hover[b-49liuyxq4d] {
        background-color: rgba(0, 0, 0, 0.1); /* Light grey hover effect */
    }

    .settings-button:active[b-49liuyxq4d] {
        background-color: rgba(0, 0, 0, 0.2); /* Darker on click */
    }
