/* Base template styles */
.navbar-brand {
  font-weight: 700;
}

.table-container {
  margin-top: 20px;
}

.timestamp {
  color: #666;
  font-size: 0.9em;
}

.refresh-btn {
  margin-left: 10px;
}

.project-total {
  background-color: #e9ecef;
  font-weight: 600;
}

.grand-total {
  background-color: #dee2e6;
  font-weight: 700;
}

.report-total {
  background-color: #ced4da;
  font-weight: 700;
  font-size: 1.1em;
}

.money,
td.money {
  text-align: right;
  font-family: 'Courier New', monospace;
}

.percent,
td.percent {
  text-align: center;
}

.hours,
td.hours {
  text-align: right;
}

th.money,
th.hours {
  text-align: right;
}

th.percent {
  text-align: center;
}

.loading-spinner {
  display: none;
}

.loading .loading-spinner {
  display: inline-block;
}

.loading .btn-text {
  display: none;
}

/* Shared FY progress marker */
.fy-progress-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #dc3545;
  z-index: 10;
  transform: translateX(-50%);
  pointer-events: auto;
  cursor: pointer;
}

.fy-progress-marker::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -3px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #dc3545;
}

.fy-progress-marker::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: -3px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 4px solid #dc3545;
}

/* Shared tooltip styling */
.app-tooltip {
  position: absolute;
  background-color: rgba(44, 62, 80, 0.95);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.app-tooltip.show {
  opacity: 1;
}

.app-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(44, 62, 80, 0.95);
}
