/* css/breakdown.css - Daily Breakdown Time Module Styles */

.bd-tab-bar {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border-color, #e2e8f0);
  margin-bottom: 1.5rem;
}

.bd-tab-btn {
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  border: none;
  background: transparent;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bd-tab-btn:hover {
  color: var(--primary-color, #2563eb);
}

.bd-tab-btn.active {
  color: var(--primary-color, #2563eb);
  border-bottom-color: var(--primary-color, #2563eb);
  background-color: rgba(37, 99, 235, 0.05);
  border-radius: 6px 6px 0 0;
}

.bd-sub-section {
  display: none;
}

.bd-sub-section.active {
  display: block;
}

/* Import Dropzone and Paste Box */
.bd-dropzone {
  border: 2px dashed var(--border-color, #cbd5e1);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--bg-surface-secondary, #f8fafc);
  transition: all 0.25s ease;
  cursor: pointer;
}

.bd-dropzone:hover, .bd-dropzone.dragover {
  border-color: var(--primary-color, #2563eb);
  background: rgba(37, 99, 235, 0.03);
}

.bd-dropzone-icon {
  font-size: 2.5rem;
  color: var(--primary-color, #2563eb);
  margin-bottom: 0.75rem;
}

.bd-paste-area {
  width: 100%;
  min-height: 140px;
  font-family: monospace;
  font-size: 0.85rem;
  padding: 0.75rem;
  border: 1px solid var(--border-color, #cbd5e1);
  border-radius: 8px;
  background: var(--bg-surface, #ffffff);
  resize: vertical;
}

/* Mapping Modal Styles */
.mapping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.mapping-card {
  background: var(--bg-surface-secondary, #f8fafc);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 8px;
  padding: 1rem;
}

.mapping-card label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.mapping-card .mapping-hint {
  font-size: 0.75rem;
  color: var(--text-muted, #64748b);
  margin-bottom: 0.5rem;
}

/* Table Badges & Status */
.badge-bd-normal {
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.badge-bd-pending {
  background-color: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  animation: pulse-amber 2s infinite;
}

.badge-bd-closed {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

@keyframes pulse-amber {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Breakdown Analysis Cards */
.bd-analysis-box {
  background: rgba(37, 99, 235, 0.03);
  border-left: 4px solid var(--primary-color, #2563eb);
  padding: 1rem;
  border-radius: 0 8px 8px 0;
  margin-top: 1rem;
}

.bd-analysis-box h4 {
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
  color: var(--primary-color, #2563eb);
}

.fa-enforcement-alert {
  background-color: #fffbeeb0;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #92400e;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
