@tailwind base;
@tailwind components;
@tailwind utilities;

/* TalentHub Brand Colors */
:root {
  --talenthub-primary: #1e40af;
  --talenthub-secondary: #3b82f6;
  --talenthub-accent: #60a5fa;
  --talenthub-dark: #1e3a8a;
  --talenthub-light: #dbeafe;
}

/* Custom TalentHub Components */
.btn-talenthub {
  background-color: #1e40af;
  color: white;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
}

.btn-talenthub:hover {
  background-color: #1e3a8a;
}

.card-talenthub {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s;
}

.card-talenthub:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.input-talenthub {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
}

.input-talenthub:focus {
  outline: none;
  ring: 2px solid #1e40af;
  border-color: transparent;
}

.sidebar-talenthub {
  background-color: #1e3a8a;
  color: white;
}

.header-talenthub {
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.text-talenthub-primary {
  color: #1e40af;
}

.bg-talenthub-primary {
  background-color: #1e40af;
}

.border-talenthub-primary {
  border-color: #1e40af;
}

/* Basic Tailwind utilities */
.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

.slide-in-right {
  animation: slideInRight 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive and basic utility classes needed by the app */
.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

.m-4 { margin: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.font-semibold { font-weight: 600; }

.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-white { background-color: white; }

.text-gray-900 { color: #111827; }
.text-gray-600 { color: #4b5563; }
.text-gray-500 { color: #6b7280; }

.border-b-2 { border-bottom-width: 2px; }
.border-blue-600 { border-color: #2563eb; }

.rounded-full { border-radius: 9999px; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }

@media print {
  .no-print { display: none !important; }
  .print-full-width { width: 100% !important; }
}