@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --color-success: #198754;
  --color-success-glow: rgba(25, 135, 84, 0.4);
}

body {
  font-family: var(--font-main) !important;
}



/* Excel Table Customizations on top of Bootstrap */
.excel-table th, 
.excel-table td {
  padding: 0 !important;
  height: 48px;
  vertical-align: middle;
}

.excel-table th {
  padding: 0.75rem 0.5rem !important;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
}

.excel-table th .header-date {
  display: block;
  font-size: 0.75rem;
  color: #6c757d;
  text-transform: none;
  font-weight: 400;
  margin-top: 0.15rem;
}

.project-name-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  font-weight: 600;
  text-align: left;
  border: none !important;
  height: 100%;
}

.delete-project-btn {
  opacity: 0;
  transition: opacity 0.2s ease;
  background: transparent;
  border: none;
  color: #dc3545;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  font-size: 1.25rem;
  line-height: 1;
}

.excel-table tr:hover .delete-project-btn {
  opacity: 1;
}

.cell-input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  text-align: center;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  padding: 0 0.5rem;
  transition: all 0.15s ease;
}

.cell-input:focus {
  background: rgba(13, 110, 253, 0.15);
  box-shadow: inset 0 0 0 2px #0d6efd;
}

.cell-input::placeholder {
  color: #6c757d;
  opacity: 0.3;
}

.cell-input::-webkit-outer-spin-button,
.cell-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cell-input[type=number] {
  -moz-appearance: textfield;
}

/* Success flash animations on cell save */
@keyframes saved-flash {
  0% { background: rgba(25, 135, 84, 0.35); }
  100% { background: transparent; }
}

.saved-flash-anim {
  animation: saved-flash 0.8s ease;
}
