﻿@layer breezer-lib, breezer-second-lib;
div.dropdown-modal,
div.blazored-modal {
  border-radius: 10px;
  box-shadow: 0 2px 9px 1px rgba(0, 0, 0, 0.1);
  background-color: #FFF;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
}
div.dropdown-modal.confirmation-prompt,
div.blazored-modal.confirmation-prompt {
  max-width: 400px;
  min-width: unset;
}
div.dropdown-modal.confirmation-prompt button.blazored-modal-close span,
div.blazored-modal.confirmation-prompt button.blazored-modal-close span {
  font-size: 20px;
}
div.dropdown-modal .blazored-modal-header,
div.blazored-modal .blazored-modal-header {
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 12px 16px 16px;
  background-color: #C2510C;
  color: #fff;
}
div.dropdown-modal .blazored-modal-header h3,
div.blazored-modal .blazored-modal-header h3 {
  margin: 5px 0;
}
div.dropdown-modal h3,
div.blazored-modal h3,
div.dropdown-modal h3.blazored-modal-title,
div.blazored-modal h3.blazored-modal-title {
  font-size: 20px;
  width: 100%;
}
div.dropdown-modal button.blazored-modal-close,
div.blazored-modal button.blazored-modal-close {
  flex-shrink: 0;
  --size: 40px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  background: #FFF;
  margin: 0;
  position: relative;
  min-height: auto;
}
div.dropdown-modal div.dropdown-modal.popup,
div.blazored-modal div.dropdown-modal.popup {
  background-color: #FFF;
  gap: 5px;
  padding: 0;
}
div.dropdown-modal .blazored-modal-content,
div.blazored-modal .blazored-modal-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 16px 16px;
}
div.dropdown-modal .blazored-modal-content h6,
div.blazored-modal .blazored-modal-content h6 {
  font-size: 16px;
  font-weight: 600;
}
div.dropdown-modal .blazored-modal-content message-box-buttons,
div.blazored-modal .blazored-modal-content message-box-buttons {
  justify-content: right;
  width: 100%;
}
div.dropdown-modal .blazored-modal-footer,
div.blazored-modal .blazored-modal-footer {
  padding: 12px 16px 16px;
}
div.dropdown-modal.formatted-info,
div.blazored-modal.formatted-info {
  white-space: pre-wrap;
}
.blazored-modal-overlay {
  background-color: rgba(0, 0, 0, 0.2);
}
/*
    This file contains the styles that apply globally, and aren't tied to any particular component.
*/
html {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 15px;
  color: #16181D;
  background-color: #F4F5F7;
}
h1,
h2,
h3 {
  font-weight: 600;
  color: #16181D;
}
h1 {
  font-size: 30px;
  letter-spacing: -0.01em;
}
a {
  color: #C2510C;
}
a:hover {
  color: #8F3A07;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background-color: #EDEEF0;
  color: #3A4049;
}
.badge.success {
  background-color: #E3F4EA;
  color: #146C3A;
}
.badge.info {
  background-color: #E4ECFB;
  color: #1E4A9E;
}
.badge.warning {
  background-color: #FCEBC7;
  color: #8A5300;
}
.badge.danger {
  background-color: #FBE4E4;
  color: #A31515;
}
.badge.outline {
  border: 1px solid #C9CDD3;
  background-color: #FFFFFF;
  color: #16181D;
}
table.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
table.data-table th {
  padding: 12px 16px;
  border-bottom: 1px solid #ECEEF1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5B616B;
}
table.data-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #ECEEF1;
}
table.data-table tbody tr:hover {
  background-color: #FAFAFB;
}
table.data-table td a {
  font-weight: 600;
  text-decoration: none;
}
.read-only-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.read-only-link a {
  font-weight: 600;
  text-decoration: none;
}
.mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}
.form-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
}
.form-sections {
  flex: 3 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-section {
  border: 1px solid #E3E5E8;
  border-radius: 12px;
  background-color: #FFFFFF;
  padding: 24px;
}
.form-section h2 {
  margin: 0 0 16px 0;
  font-size: 16px;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field-grid form-field {
  margin: 0;
}
.field-grid dropdown[breezer-dropdown] {
  width: 100%;
  min-width: 0;
}
breezer-page.br-edit:has(editor-for-machine),
breezer-page.br-display:has(display-for-machine),
breezer-page.br-edit:has(editor-for-inspection),
breezer-page.br-display:has(display-for-inspection),
breezer-page.br-display.machine-report {
  grid-template-columns: 0 min(100%, var(--max-page-width)) auto;
}
i.add-inspection {
  color: #C2510C;
}