/* Lightbox overlay background */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Lightbox card */
.lightbox-card {
  background: white;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Header bar */
.lightbox-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:var(--action-primary-default);
  color: white;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

/* Info section */
.lightbox-info-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.lightbox-info-box {
  background: #f1f1f1;
  padding: 10px;
  border-radius: 6px;
  flex: 1;
  min-width: 130px;
}

.lightbox-info-box.earned {
  background: #e0f7da;
}

.lightbox-info-box label {
  font-size: 12px;
  color: #555;
}

.value {
  font-size: 14px;
  font-weight: bold;
  margin-top: 4px;
}

/* Section title */
.lightbox-section-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  border-left: 3px solid var(--action-primary-default);
  padding-left: 6px;
}


.split-table-container {
  overflow-x: auto;
  margin-top: 10px;
}

/* Table */
.split-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.split-table th,
.split-table td {
  padding: 8px 10px;
  border: 1px solid #ccc;
  text-align: left;
}

.split-table th {
  background-color: #f0f0f0;
  font-weight: 600;
}

.split-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}


.lightbox-info-box label mat-icon,
.lightbox-section-title mat-icon {
  vertical-align: middle;
  font-size: 18px;
  margin-right: 4px;
  color: #555;
}
.formula-row {
  font-size: 13px;
  margin-bottom: 12px;
  padding: 8px 10px;
  background: #f9f9f9;
  border-left: 3px solid var(--action-primary-default);
  border-radius: 4px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}
