:root {
  --phr-blue-dark: #0F2C59;
  --phr-blue: #1E3A8A;
  --phr-gray-dark: #1F2937;
  --phr-bg: #F8FAFC;
}

body {
  background-color: var(--phr-bg);
  color: var(--phr-gray-dark);
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fade-in 0.2s ease-out;
}

.phr-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 0.75rem;
}

.phr-input {
  width: 100%;
  border: 1px solid #CBD5E1;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  background: #fff;
}
.phr-input:focus {
  outline: none;
  border-color: var(--phr-blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}

.phr-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.25rem;
}

.phr-btn-primary {
  background: var(--phr-blue);
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.15s ease;
}
.phr-btn-primary:hover { background: var(--phr-blue-dark); }

.phr-btn-secondary {
  background: #fff;
  color: var(--phr-blue);
  border: 1px solid var(--phr-blue);
  border-radius: 0.5rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.phr-btn-secondary:hover { background: #EFF6FF; }

.phr-btn-danger {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
  border-radius: 0.5rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.phr-btn-danger:hover { background: #FEE2E2; }

table.phr-table th {
  background: #F1F5F9;
  color: #475569;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  padding: 0.6rem 0.75rem;
  text-align: left;
}
table.phr-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.85rem;
}
table.phr-table tr:hover td {
  background: #F8FAFC;
}
