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

body {
  font-family: 'Inter', sans-serif;
}

/* Navigation Styles */
.nav-link {
  position: relative;
  font-weight: 500;
  color: #6b7280;
  padding: 0.5rem 1rem;
  padding-top: 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.dark .nav-link {
  color: #9ca3af;
}

.nav-link:hover {
  color: #b8924a;
  background-color: rgba(184, 146, 74, 0.1);
}

.dark .nav-link:hover {
  color: #c4a569;
  background-color: rgba(196, 165, 105, 0.1);
}

.nav-link.active {
  color: #b8924a;
  background: linear-gradient(135deg, rgba(184, 146, 74, 0.15) 0%, rgba(166, 124, 61, 0.15) 100%);
  font-weight: 600;
}

.dark .nav-link.active {
  color: #c4a569;
  background: linear-gradient(135deg, rgba(196, 165, 105, 0.15) 0%, rgba(184, 146, 74, 0.15) 100%);
}

.nav-link.active::before {
  content: '♛';
  position: absolute;
  top: -0.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.25rem;
  color: #d4bb8e;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dark .nav-link.active::before {
  color: #d4bb8e;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #b8924a 0%, #a67c3d 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(166, 124, 61, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #c4a569 0%, #b8924a 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(166, 124, 61, 0.3);
}

.dark .btn-primary {
  background: linear-gradient(135deg, #b8924a 0%, #a67c3d 100%);
}

.dark .btn-primary:hover {
  background: linear-gradient(135deg, #c4a569 0%, #b8924a 100%);
}

.btn-secondary {
  background-color: #6b7280;
  color: white;
}

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

.dark .btn-secondary {
  background-color: #4b5563;
}

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

.btn-danger {
  background-color: #ef4444;
  color: white;
}

.btn-danger:hover {
  background-color: #dc2626;
}

.dark .btn-danger {
  background-color: #dc2626;
}

.dark .btn-danger:hover {
  background-color: #b91c1c;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.dark .modal {
  background-color: rgba(0, 0, 0, 0.7);
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease-out;
}

.dark .modal-content {
  background: #1f2937;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dark .modal-header {
  border-bottom-color: #374151;
}

.modal-close {
  font-size: 1.5rem;
  line-height: 1;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin: -0.5rem;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.dark .modal-close {
  color: #9ca3af;
}

.modal-close:hover {
  color: #374151;
  background-color: #f3f4f6;
}

.dark .modal-close:hover {
  color: #e5e7eb;
  background-color: #374151;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.dark .modal-footer {
  border-top-color: #374151;
}
