@import "https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap";

/* src/styles.scss */
:root {
  --background-color: #eeeeee;
  --background-card: #ffffff;
  --background-input: #ffffff;
  --background-focus-input: #ffffff;
  --text-color: #1d1d1d;
  --placeholder-color: #888888;
  --font-border-input: #d6dce7;
  --border-color-modal: #dee2e6;
  --shadow-card: 0 1px 7px rgba(0, 0, 0, 0.12);
  --background-login: #eeeeee;
  --background-btn-light: #f2f2f2;
  --background-btn-light-hover: #e9e9e9;
  --color-input: #111827;
  --primary: #398bf7;
  --primary-dark: #1e5fc4;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  font-family:
    "Poppins",
    Arial,
    sans-serif;
  color: var(--text-color);
  background: var(--background-color);
}
button,
input,
select,
textarea {
  font-family: inherit;
}
.page-title-block {
  background: var(--background-card);
  border: 1px solid var(--border-color-modal);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
}
.page-title-block h1 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.page-title-block p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}
.card {
  background: var(--background-card);
  border: 1px solid var(--border-color-modal);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.metric-card {
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
}
.metric-card .label {
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.metric-card .value {
  color: #1e3a8a;
  font-size: 20px;
  font-weight: 600;
  margin-top: 4px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-field label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}
.input,
.select,
.textarea {
  width: 100%;
  border: 1.5px solid var(--font-border-input);
  border-radius: 9px;
  padding: 10px 12px;
  background: #fff;
  color: #111827;
  outline: none;
}
.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(57, 139, 247, 0.13);
}
.textarea {
  min-height: 96px;
  resize: vertical;
}
.btn {
  border: 0;
  border-radius: 9px;
  min-height: 38px;
  padding: 0 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn-primary {
  background:
    linear-gradient(
      135deg,
      var(--primary) 0%,
      var(--primary-dark) 100%);
  color: #fff;
}
.btn-secondary {
  background: #eef2f7;
  color: #1f2937;
  border: 1px solid #d8dee8;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.alert-error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}
.alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--border-color-modal);
  border-radius: 10px;
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th,
td {
  padding: 8px 10px;
  border-bottom: 1px solid #edf0f5;
  text-align: left;
  white-space: nowrap;
}
th {
  background: #f3f4f6;
  font-weight: 700;
  color: #374151;
}
pre {
  background: #0f172a;
  color: #e5e7eb;
  padding: 12px;
  border-radius: 10px;
  overflow: auto;
}
@media (max-width: 900px) {
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
.workspace-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: calc(100dvh - 100px);
  background-image:
    radial-gradient(
      circle,
      color-mix(in srgb, var(--text-color) 14%, transparent) 1.2px,
      transparent 1.2px);
  background-size: 22px 22px;
}
.hero-banner {
  border-radius: 14px;
  padding: 18px 22px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      #1a56a0 0%,
      #0d3468 100%);
  box-shadow: var(--shadow-card);
}
.hero-banner::after {
  content: "";
  position: absolute;
  top: -34px;
  right: -34px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 920px;
}
.hero-title b {
  color: #fff;
  font-weight: 700;
}
.grupo-section {
  animation: fadeUp 0.4s ease both;
}
.grupo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.grupo-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.grupo-line {
  flex: 1;
  height: 1px;
  background: var(--border-color-modal);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.module-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--background-card);
  border: 1px solid var(--border-color-modal);
  border-left: 3px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.22s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.module-card:hover {
  border-left-color: var(--primary);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--primary) 14%, rgba(0, 0, 0, 0.08));
  transform: translateY(-2px);
}
.module-circle {
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary) 12%, #f2f2f2);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  transition: background 0.22s ease, color 0.22s ease;
}
.module-card:hover .module-circle {
  background: var(--primary);
  color: #fff;
}
.module-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.module-key {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary-dark);
  font-family: monospace;
}
.module-desc {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.4;
}
.module-arrow {
  color: var(--primary-dark);
  opacity: 0.35;
  font-size: 20px;
}
.module-card:hover .module-arrow {
  opacity: 1;
}
.panel-card {
  background: var(--background-card);
  border: 1px solid var(--border-color-modal);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.panel-title h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.panel-title p {
  margin: 3px 0 0;
  color: #6b7280;
  font-size: 12px;
}
.small-muted {
  color: #6b7280;
  font-size: 12px;
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.status-chip {
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
}
.table-wrap table tbody tr:hover {
  background: #f8fbff;
}
.report-table-wrap {
  border: 1px solid #d6dde9;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  overflow: auto;
  max-height: 60vh;
}
.report-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: #1e293b;
}
.report-table thead th {
  background: #f1f5fb;
  color: #1e3a5f;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 11px 14px;
  border-bottom: 1.5px solid #94a3b8;
  box-shadow: inset 0 -3px 0 #ffffff, inset 0 -4px 0 #94a3b8;
  position: sticky;
  top: 0;
  z-index: 2;
  white-space: nowrap;
  text-align: left;
}
.report-table tbody td {
  padding: 7px 14px;
  border-bottom: 1px solid #eef2f7;
  background: #ffffff;
  white-space: nowrap;
}
.report-table tbody tr:nth-child(even) td {
  background: #fbfcfe;
}
.report-table tbody tr:hover td {
  background: #eff6ff;
  color: #0f172a;
}
.report-table tbody tr:last-child td {
  border-bottom: none;
}
.report-table .col-num,
.report-table .col-month {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.report-table th.col-num,
.report-table th.col-month {
  text-align: right;
}
.report-table .col-month {
  min-width: 92px;
  width: 92px;
}
.report-table .col-text {
  text-align: left;
  font-weight: 500;
  color: #0f172a;
}
.report-table .col-total {
  background: #f7faff !important;
  font-weight: 700;
  border-left: 1.5px solid #cbd5e1;
  color: #0b3160;
}
.report-table tbody tr:nth-child(even) td.col-total {
  background: #eef4fc !important;
}
.report-table tbody tr:hover td.col-total {
  background: #e1ecff !important;
}
.report-table thead th.col-total {
  background: #e6efff;
  color: #1e3a5f;
  border-left: 1.5px solid #94a3b8;
}
.report-table thead th:first-child,
.report-table tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  font-weight: 600;
  border-right: 1px solid #e2e8f0;
}
.report-table thead th:first-child {
  z-index: 3;
  background: #f1f5fb;
}
.report-table tbody tr td:first-child {
  background: #ffffff;
}
.report-table tbody tr:nth-child(even) td:first-child {
  background: #fbfcfe;
}
.report-table tbody tr:hover td:first-child {
  background: #eff6ff;
}
.report-table .cell-empty {
  color: #cbd5e1;
  font-weight: 400;
  text-align: right;
}
.report-table .col-text.cell-empty {
  text-align: left;
}
.report-table .cell-negative {
  color: #b91c1c;
  font-weight: 600;
}
@media (max-width: 900px) {
  .report-table .col-month {
    min-width: 78px;
    width: 78px;
  }
  .report-table thead th,
  .report-table tbody td {
    padding: 7px 10px;
  }
}
.col-month {
  min-width: 90px;
  width: 90px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cell-empty {
  color: #9ca3af;
}
.cell-negative {
  color: #be123c;
  font-weight: 600;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 900px) {
  .hero-banner {
    padding: 16px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .panel-title {
    align-items: flex-start;
    flex-direction: column;
  }
}
.template-summary {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 0;
}
.template-summary strong {
  font-size: 15px;
}
.template-summary p {
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
}
.params-form {
  margin-top: 16px;
}
.params-form .btn {
  margin-top: 14px;
}
.result-table {
  margin-top: 16px;
}
.catalog-toolbar {
  display: grid;
  grid-template-columns: 160px 180px 1fr;
  gap: 12px;
  align-items: end;
}
.compact-catalog-field {
  max-width: 160px;
}
@media (max-width: 900px) {
  .catalog-toolbar {
    grid-template-columns: 1fr;
  }
  .compact-catalog-field {
    max-width: none;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
