:root {
  --primary: #064E3B;    /* Emerald 900 */
  --secondary: #059669;  /* Emerald 600 */
  --accent: #F59E0B;    /* Amber 500 */
  --error: #EF4444;     /* Red 500 */
  --success: #10B981;   /* Emerald 500 */
  --warning: #F59E0B;   /* Amber 500 */
  --info: #3B82F6;      /* Blue 500 */
}

/* Base Styles */
body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Ensure proper height for full page layouts */
html, body {
  height: 100%;
  margin: 0;
}

.header-logo {
  width: 48px;
  height: 48px;
}

.svg-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #053626;
}

/* Form Elements */
input, select, textarea {
  outline: none !important;
  transition: border-color 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 1px var(--primary) !important;
}

/* Button Hover Effects */
.hover\:brightness-95:hover {
  filter: brightness(0.95);
}

.hover\:shadow-lg:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Animations */
.transition {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Custom Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-logo {
    width: 48px;
    height: 48px;
  }

  .svg-icon {
    width: 36px;
    height: 36px;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
  }

  .no-print {
    display: none;
  }
}

/* Basic utility classes */
.flex-grow {
  flex-grow: 1;
}

/* Table styles */
table {
  border-collapse: separate;
  border-spacing: 0;
}

th, td {
  padding: 12px;
}

/* Card hover effects */
.shadow-sm {
  transition: all 0.2s ease-in-out;
}

.shadow-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Form styles */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  background-color: #FFFFFF;
  color: #1F2937;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--secondary);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background-color: rgba(16, 185, 129, 0.1);
}

/* Alert styles */
.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.alert-error {
  background-color: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
}

.alert-success {
  background-color: #D1FAE5;
  border: 1px solid #6EE7B7;
  color: #065F46;
}

.alert-warning {
  background-color: #FEF3C7;
  border: 1px solid #FCD34D;
  color: #92400E;
}

.alert-info {
  background-color: #DBEAFE;
  border: 1px solid #93C5FD;
  color: #1E40AF;
}

/* Card styles */
.card {
  background-color: #FFFFFF;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

/* Table styles */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #E5E7EB;
}

.table th {
  background-color: #F9FAFB;
  font-weight: 600;
  color: #4B5563;
}

.table tr:hover {
  background-color: #F9FAFB;
}

/* Badge styles */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-success {
  background-color: #D1FAE5;
  color: #065F46;
}

.badge-error {
  background-color: #FEE2E2;
  color: #B91C1C;
}

.badge-warning {
  background-color: #FEF3C7;
  color: #92400E;
}

.badge-info {
  background-color: #DBEAFE;
  color: #1E40AF;
}

/* Loading spinner */
.spinner {
  border: 3px solid rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  border-top: 3px solid var(--primary);
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} 