@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.wuc5ioiakb.bundle.scp.css';

/* _content/Client/Components/CustomCreditCard.razor.rz.scp.css */
.card-container[b-azp3n4fzah] {
    background-image: url('Signet_bakgrunnur-1.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    width: 350px;
    height: 220px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 1rem;
}


.card-num p[b-azp3n4fzah]{
    font-size: 24px;
}

.footer-label[b-azp3n4fzah]{
    font-weight: 100;
}

p[b-azp3n4fzah]{
    margin: 0;
}

@media (max-width: 550px) {
    .card-container[b-azp3n4fzah] {
        width: 90%;
        height: 100%;
        padding: 15px;
    }

    .card-num p[b-azp3n4fzah] {
        font-size: 20px;
    }
}
/* _content/Client/Layout/Invoice/Components/InvoiceLinesEditor.razor.rz.scp.css */
/* _content/Client/Layout/Invoice/Components/TaxSummaryPanel.razor.rz.scp.css */
.tax-summary-panel[b-0npu71cu0f] {
    background-color: var(--neutral-layer-2);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--neutral-stroke-rest);
}

.tax-header[b-0npu71cu0f] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--neutral-stroke-rest);
}

.tax-header-label[b-0npu71cu0f] {
    /* Empty column for tax type labels */
}

.tax-header-item[b-0npu71cu0f] {
    font-weight: 600;
    font-size: 16px;
    color: var(--neutral-foreground-rest);
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tax-row[b-0npu71cu0f] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    padding: 12px 0;
    align-items: center;
    border-bottom: 1px solid var(--neutral-stroke-rest);
}

.tax-row:last-child[b-0npu71cu0f] {
    border-bottom: none;
}

.tax-row-empty[b-0npu71cu0f] {
    opacity: 0.6;
    font-style: italic;
}

.tax-label[b-0npu71cu0f] {
    color: var(--neutral-foreground-rest);
    font-weight: 500;
}

.tax-amount[b-0npu71cu0f] {
    text-align: right;
    font-weight: 600;
    color: var(--neutral-foreground-rest);
    white-space: nowrap;
}
/* _content/Client/Layout/Invoice/Components/TotalsSummary.razor.rz.scp.css */
.totals-summary[b-55xw1s6q96] {
    background-color: var(--neutral-layer-2);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--neutral-stroke-rest);
}

.total-row[b-55xw1s6q96] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.total-row-minor[b-55xw1s6q96] {
    opacity: 0.7;
}

.total-row-grand[b-55xw1s6q96] {
    font-weight: 600;
}

.total-label[b-55xw1s6q96] {
    color: var(--neutral-foreground-rest);
    margin-right: 16px;
}

.total-amount[b-55xw1s6q96] {
    font-weight: 600;
    color: var(--neutral-foreground-rest);
    white-space: nowrap;
}

.total-row-grand .total-amount[b-55xw1s6q96] {
    color: var(--accent-fill-rest);
}

.total-divider[b-55xw1s6q96] {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--neutral-stroke-rest), transparent);
    margin: 8px 0;
    opacity: 0.5;
}
/* _content/Client/Layout/Invoice/Invoice.razor.rz.scp.css */
/* Keep flex-row for SummaryPage.razor usage */
.flex-row[b-qubn9f0t4t] {
  display: flex;
  align-items: flex-end;
  flex-direction: row;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Utility classes */
.full-width[b-qubn9f0t4t] {
  width: 100%;
}

/* Form validation styling - FluentUI invalid state */
fluent-text-field.invalid[b-qubn9f0t4t]::part(control),
fluent-text-area.invalid[b-qubn9f0t4t]::part(control),
fluent-select.invalid[b-qubn9f0t4t]::part(control),
fluent-number-field.invalid[b-qubn9f0t4t]::part(control),
fluent-date-picker.invalid[b-qubn9f0t4t]::part(control) {
  border-color: var(--error-foreground-rest, #d13438) !important;
  border-width: 2px !important;
  box-shadow: 0 0 0 2px rgba(209, 52, 56, 0.2) !important;
}

/* Style validation messages */
.validation-message[b-qubn9f0t4t],
fluent-validation-message[b-qubn9f0t4t] {
  color: var(--error-foreground-rest, #d13438);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
  font-weight: 500;
}

/* Add visual indicator to grid items containing invalid fields */
fluent-grid-item:has(fluent-text-field.invalid)[b-qubn9f0t4t],
fluent-grid-item:has(fluent-text-area.invalid)[b-qubn9f0t4t],
fluent-grid-item:has(fluent-select.invalid)[b-qubn9f0t4t],
fluent-grid-item:has(fluent-number-field.invalid)[b-qubn9f0t4t],
fluent-grid-item:has(.validation-message)[b-qubn9f0t4t] {
  animation: shake-b-qubn9f0t4t 0.3s ease-in-out;
}

/* Invoice line validation error styling */
.invoice-line-container[b-qubn9f0t4t] {
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.invoice-line-error[b-qubn9f0t4t] {
  border: 2px solid var(--error-foreground-rest, #d13438) !important;
  background-color: rgba(209, 52, 56, 0.05);
  box-shadow: 0 0 0 3px rgba(209, 52, 56, 0.1);
  animation: shake-b-qubn9f0t4t 0.3s ease-in-out;
}

@keyframes shake-b-qubn9f0t4t {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Ensure FluentUI components respect full-width */
.full-width[b-qubn9f0t4t]::part(control),
.full-width fluent-text-field[b-qubn9f0t4t],
.full-width fluent-text-area[b-qubn9f0t4t],
.full-width fluent-select[b-qubn9f0t4t],
.full-width fluent-number-field[b-qubn9f0t4t],
.full-width fluent-date-picker[b-qubn9f0t4t] {
  width: 100%;
}

.line[b-qubn9f0t4t] {
  width: 100%;
  border-bottom: 1px solid var(--neutral-stroke-rest);
}

.total[b-qubn9f0t4t] {
  text-align: right;
}

/* Alert and message styles */
.info-alert[b-qubn9f0t4t] {
  margin-bottom: 15px;
  padding: 10px;
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  border-radius: 4px;
  color: #0c5460;
}

.error-text[b-qubn9f0t4t] {
  color: var(--error-foreground-rest);
}

.error-box[b-qubn9f0t4t] {
  margin-top: 1rem;
  padding: 1rem;
  background-color: var(--error-layer-1);
  border-left: 4px solid var(--error-foreground-rest);
  border-radius: 4px;
}

.error-message[b-qubn9f0t4t] {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  color: var(--error-foreground-rest);
}

/* Button and action containers */
.button-container[b-qubn9f0t4t] {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.actions-stack[b-qubn9f0t4t] {
  margin-top: 1rem;
}

.message-stack[b-qubn9f0t4t] {
  margin-top: 1rem;
}

.buttons-stack[b-qubn9f0t4t] {
  gap: 1rem;
}

/* File upload */
.file-upload[b-qubn9f0t4t] {
  height: 200px;
}

/* Media queries */
@media (max-width: 1000px) {
  .flex-row[b-qubn9f0t4t] {
    flex-direction: column;
    align-items: flex-start;
  }

  .button-container[b-qubn9f0t4t] {
    flex-direction: column;
  }
}
/* _content/Client/Layout/Invoice/InvoiceRenderModal.razor.rz.scp.css */
fluent-dialog[b-pim9dqml5u] {
  --dialog-width: 100% !important;
}

/* Specific targeting for our render dialog instance */
fluent-dialog[class*="render-dialog"][b-pim9dqml5u] {
  --dialog-width: 100% !important;
}

/* Target the actual FluentUI dialog element and its container */
fluent-dialog.render-dialog[b-pim9dqml5u] {
  --dialog-width: 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}

/* Target FluentUI dialog internal parts directly */
.render-dialog[b-pim9dqml5u]::part(control) {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}

/* Target the dialog positioning container */
.render-dialog[b-pim9dqml5u]::part(positioning-region) {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}

/* Target any dialog wrapper/container elements */
.render-dialog .fluent-dialog[b-pim9dqml5u],
.render-dialog [role="dialog"][b-pim9dqml5u] {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}



/* If the library still sets a fixed inline style width (500px), ensure host width adapts */
.render-dialog[b-pim9dqml5u] { width: var(--dialog-width); }
/* Remove hard min-width so percentage can shrink. If you need a floor, set a smaller one. */
/* Previously min-width:800px blocked responsive layout */

/* Keep resize behavior */
.resizable-dialog[b-pim9dqml5u] { 
  resize: both; 
  overflow: auto; 
}

.render-dialog .Header[b-pim9dqml5u] { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 8px 16px; 
}

.render-dialog-body[b-pim9dqml5u] { 
  max-height: 70vh; 
  overflow-y: auto; 
  min-height: 400px; 
  padding: 16px;
  /* Improve scrolling on touch devices */
  -webkit-overflow-scrolling: touch;
}

/* A4 preview area */
.a4-wrapper[b-pim9dqml5u] { 
  display: flex; 
  justify-content: center; 
  width: 100%; 
  overflow: auto; 
  min-height: 0;
}

.a4-page[b-pim9dqml5u] { 
  position: relative; 
  width: min(100%, 794px); /* ~ 210mm at 96dpi (794px) */
  aspect-ratio: 210 / 297; 
  background: #fff; 
  box-shadow: 0 0 6px rgba(0,0,0,0.2); 
  border: 1px solid #d0d0d0; 
  padding: 20px; 
  overflow: hidden; 
}

/* HTML preview inside A4 */
.html-preview[b-pim9dqml5u] { 
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background: transparent; 
  border: none; 
  box-shadow: none; 
  resize: none; 
}

/* PDF container uses same A4 frame */
.pdf-preview-container[b-pim9dqml5u] { 
  width: 100%; 
  height: 100%; 
  border: none; 
  border-radius: 0; 
  overflow: hidden; 
  background: #fff; 
  box-shadow: none; 
}

.pdf-preview[b-pim9dqml5u] { 
  width: 100%; 
  height: 100%; 
  border: 0; 
  background: #fff; 
}

.render-loading[b-pim9dqml5u] { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 16px; 
  padding: 32px; 
}

.render-summary[b-pim9dqml5u] { 
  margin-bottom: 20px; 
}

.render-status[b-pim9dqml5u] { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  padding: 12px; 
  border-radius: 6px; 
  font-weight: 600; 
}

.render-status.success[b-pim9dqml5u] { 
  background-color: #f0f9ff; 
  color: #0f766e; 
  border: 1px solid #a7f3d0; 
}

.render-status.error[b-pim9dqml5u] { 
  background-color: #fef2f2; 
  color: #dc2626; 
  border: 1px solid #fca5a5; 
}

.render-section-credit[b-pim9dqml5u] { 
  margin-bottom: 24px; 
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.render-section[b-pim9dqml5u] { 
  margin-bottom: 24px; 
}

.render-section-title[b-pim9dqml5u] { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  margin-bottom: 12px; 
  font-size: 16px; 
  font-weight: 600; 
}

.render-section-title.error[b-pim9dqml5u] { 
  color: #dc2626; 
}

.render-error[b-pim9dqml5u] { 
  background-color: #fef2f2; 
  border: 1px solid #fca5a5; 
  border-radius: 6px; 
  padding: 16px; 
}

.error-message[b-pim9dqml5u] { 
  color: #dc2626; 
  font-weight: 500; 
  margin-bottom: 8px; 
}

.error-details[b-pim9dqml5u] { 
  background-color: #f9fafb; 
  border: 1px solid #e5e7eb; 
  border-radius: 4px; 
  padding: 12px; 
  font-size: 12px; 
  color: #6b7280; 
  white-space: pre-wrap; 
  margin-top: 8px; 
}

.status-code[b-pim9dqml5u] { 
  color: #6b7280; 
  font-size: 12px; 
}

.pdf-info[b-pim9dqml5u] { 
  background-color: #f0f9ff; 
  border: 1px solid #bfdbfe; 
  border-radius: 6px; 
  padding: 16px; 
}

.render-tabs[b-pim9dqml5u] { 
  display: flex; 
  gap: 6px; 
  margin-bottom: 12px; 
}

/* Optional ultra-wide tweak */
@media (min-width: 1920px) { 
  .render-dialog[b-pim9dqml5u] { --dialog-width: 80vw !important; } 
}

@media (max-width: 900px) { 
  .render-dialog[b-pim9dqml5u] { --dialog-width: 95vw !important; } 
  .render-dialog-body[b-pim9dqml5u] { 
    padding: 8px; 
    max-height: 80vh;
  } 
  
  .a4-wrapper[b-pim9dqml5u] {
    overflow-x: auto;
    overflow-y: auto;
    padding: 8px 0;
    /* Allow horizontal scrolling on mobile */
    -webkit-overflow-scrolling: touch;
  }
  
  .a4-page[b-pim9dqml5u] { 
    /* On mobile, make it smaller but still maintain aspect ratio */
    min-width: 300px; 
    width: max(300px, 80vw); 
    padding: 12px;
    margin: 0 auto;
    flex-shrink: 0;
  }
  
  .html-preview[b-pim9dqml5u] {
    /* Ensure content can scroll within the scaled container */
    font-size: 0.8em; 
    line-height: 1.2;
  }
}


/* _content/Client/Layout/Invoice/PeppolManagerValidationModal.razor.rz.scp.css */
/* PEPPOL Validation Modal Styles */

/* Dialog size and responsive design */
[b-yzjw8c513z] .validation-dialog,
[b-yzjw8c513z] .validation-dialog fluent-dialog {
  --dialog-width: min(90vw, 1000px) !important;
  --dialog-height: min(80vh, 600px);
  --dialog-max-width: 1000px !important;
  --dialog-max-height: 80vh;
  /* width: min(90vw, 1000px) !important;
  max-width: 1000px !important; */
}

/* Ensure the dialog header has proper spacing for dismiss button */
[b-yzjw8c513z] .validation-dialog fluent-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding-right: 50px;
}

/* Manual dismiss button styling */
.manual-dismiss-button[b-yzjw8c513z] {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1000;
  min-width: 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-foreground-rest);
  background: var(--neutral-layer-floating);
  border: 1px solid var(--neutral-stroke-rest);
  transition: all 0.2s ease;
}

.manual-dismiss-button:hover[b-yzjw8c513z] {
  background-color: var(--neutral-layer-card-hover);
  color: var(--neutral-foreground-hover);
  border-color: var(--neutral-stroke-hover);
}

.manual-dismiss-button:active[b-yzjw8c513z] {
  background-color: var(--neutral-layer-card-pressed);
}

/* Body with proper scrolling */
[b-yzjw8c513z] .validation-dialog-body {
  max-height: calc(80vh - 120px);
  overflow-y: auto;
  padding: 20px;
}

/* Override FluentUI dialog sizing */
[b-yzjw8c513z] fluent-dialog::part(dialog) {
  max-width: min(90vw, 1000px) !important;
  max-height: 80vh;
  width: min(90vw, 1000px) !important;
  height: auto;
}

/* Additional dialog width enforcement */
[b-yzjw8c513z] .validation-dialog fluent-dialog {
  width: min(90vw, 1000px) !important;
  max-width: 1000px !important;
}

[b-yzjw8c513z] .validation-dialog .fluent-dialog-main {
  width: min(90vw, 1000px) !important;
  max-width: 1000px !important;
}

/* Content styling */
.validation-loading[b-yzjw8c513z] {
  text-align: center;
  padding: 40px 20px;
}

.validation-summary[b-yzjw8c513z] {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 8px;
  background-color: var(--neutral-layer-2);
}

.validation-status[b-yzjw8c513z] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 8px;
}

.validation-status.invalid[b-yzjw8c513z] {
  color: var(--error-foreground-rest);
}

.status-icon[b-yzjw8c513z],
.section-icon[b-yzjw8c513z] {
  font-size: 20px;
}

.validation-meta[b-yzjw8c513z] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0.8;
}

.validation-section[b-yzjw8c513z] {
  margin-bottom: 20px;
}

.validation-section-title[b-yzjw8c513z] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}

.validation-section-title.error[b-yzjw8c513z] {
  color: var(--error-foreground-rest);
}

.validation-section-title.warning[b-yzjw8c513z] {
  color: var(--warning-foreground-rest);
}

.validation-items[b-yzjw8c513z] {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.validation-item[b-yzjw8c513z] {
  padding: 12px;
  border-radius: 6px;
  border-left: 4px solid;
}

.validation-item.error[b-yzjw8c513z] {
  background-color: var(--error-layer-1);
  border-left-color: var(--error-foreground-rest);
}

.validation-item.warning[b-yzjw8c513z] {
  background-color: var(--warning-layer-1);
  border-left-color: var(--warning-foreground-rest);
}

.validation-item-header[b-yzjw8c513z] {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.validation-code[b-yzjw8c513z] {
  font-family: monospace;
  font-weight: 600;
  font-size: 14px;
}

.validation-type[b-yzjw8c513z] {
  background-color: var(--neutral-layer-3);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  text-transform: uppercase;
}

.validation-message[b-yzjw8c513z] {
  margin: 0;
  line-height: 1.4;
}

.validation-location[b-yzjw8c513z] {
  color: var(--neutral-foreground-hint);
  font-family: monospace;
  font-size: 12px;
}

.xml-preview[b-yzjw8c513z] {
  border: 1px solid var(--neutral-stroke-rest);
  border-radius: 6px;
  overflow: hidden;
}

.Header[b-yzjw8c513z] {
  display: flex;
  align-items: center;
  justify-content: space-between;

}
/* _content/Client/Layout/MainLayout.razor.rz.scp.css */
.page[b-v8q5m4zhkd] {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  flex-direction: row;
}

main[b-v8q5m4zhkd] {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img[b-v8q5m4zhkd] {
  background-image: url('Signet_bakgrunnur-1.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 470px;
}

.color[b-v8q5m4zhkd] {
  background-color: #FFFFFF;
  border: 1px solid #ebeced;
}

.transparent[b-v8q5m4zhkd] {
  background-color: transparent;
}

.sidebar[b-v8q5m4zhkd] {
  background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-v8q5m4zhkd] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: none !important;
  /* position: sticky; */
}

.top-row .nav-container[b-v8q5m4zhkd] {
  width: 100%;
  max-width: 1600px;

}

.nav[b-v8q5m4zhkd] {
  display: flex;
  max-width: 1600px;
  align-items: center;
  justify-content: space-between;
  margin-left: 3rem;
  margin-right: 3rem;
}

.user-section[b-v8q5m4zhkd] {
  display: flex;
}

.onboarding[b-v8q5m4zhkd]{
  color: #BC2F32 !important;
  margin-bottom: 0.5rem;
  cursor: pointer;
  font-weight: bold;

}
.drop-down-item[b-v8q5m4zhkd] {
  color: #3E3E3D;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.top-row[b-v8q5m4zhkd]  a,
.top-row[b-v8q5m4zhkd]  .btn-link {
  white-space: nowrap;
  margin-left: 1.5rem;
  text-decoration: none;
}

.top-row[b-v8q5m4zhkd]  a:hover,
.top-row[b-v8q5m4zhkd]  .btn-link:hover {
  text-decoration: underline;
}

.top-row[b-v8q5m4zhkd]  a:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-hide-desktop[b-v8q5m4zhkd] {
  display: none;
}

.content[b-v8q5m4zhkd] {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hide[b-v8q5m4zhkd]{
  display: none;
}

@media (max-width: 640.98px) {
  .top-row[b-v8q5m4zhkd] {
    justify-content: space-between;
    z-index: 1;
  }

  .img[b-v8q5m4zhkd] {
    height: 350px;
  }

  .nav-item img[b-v8q5m4zhkd] {
    width: 1rem;
  }

  .nav-item[b-v8q5m4zhkd] {
    margin-right: 1rem;
  }

  .nav-hide-mobile[b-v8q5m4zhkd] {
    display: none;
  }

  .nav-hide-desktop[b-v8q5m4zhkd] {
    display: block;
  }
}

.nav-item[b-v8q5m4zhkd] {
  margin-right: 2rem;
  color: #3E3E3D;
  cursor: pointer;
  font-family: 'Adelle Sans';
}

.white[b-v8q5m4zhkd] {
  color: #FFF;
}

.gray[b-v8q5m4zhkd] {
  color: #3E3E3D;
}

.nav-item img[b-v8q5m4zhkd] {
  height: 2rem;
  width: auto;
}

.nav-items[b-v8q5m4zhkd] {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.dropdown-content[b-v8q5m4zhkd] {
  width: 170px;
  display: flex;
  flex-direction: column;
  margin: 1rem;
}
