/* Backoffice custom styles aligning with public theme */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
  line-height: 1.6;
}

a {
  color: #1e3a8a;
  text-decoration: underline;
  transition: color 0.2s ease;
}

a:hover {
  color: #c9ab75;
}

header nav a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

header nav a:hover {
  color: #c9ab75;
}

.nav-link {
  position: relative;
  padding-bottom: 2px;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #c9ab75;
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
}

.btn-primary {
  background-color: #1e3a8a;
  color: #ffffff;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #162d5c;
}

.btn-secondary {
  background-color: #c9ab75;
  color: #ffffff;
  transition: background-color 0.2s ease;
}

.btn-secondary:hover {
  background-color: #b89a63;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  background-color: #1e3a8a;
  color: #ffffff;
  padding: 0.5rem;
  text-align: left;
}

.table td {
  border: 1px solid #e5e7eb;
  padding: 0.5rem;
}

.table tbody tr:nth-child(even) {
  background-color: #f3f4f6;
}

form p {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

form p label {
  margin-bottom: 0.25rem;
  font-weight: 500;
}

form input,
form select,
form textarea {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: #c9ab75;
  box-shadow: 0 0 0 2px rgba(201, 171, 117, 0.2);
}

.data-list {
  list-style: none;
  margin-top: 1rem;
  padding: 0;
}

.data-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.data-list li:last-child {
  border-bottom: none;
}

.card {
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.login-card {
  max-width: 24rem;
  margin: 4rem auto;
}

