/* CounterSign Main Styles */

body { 
  font-family: 'Inter', sans-serif; 
  background-color: #f8fafc;
}

h1, h2, h3, h4, h5, h6 { 
  font-family: 'Merriweather', serif; 
  font-weight: 700;
}

.serif { 
  font-family: 'Merriweather', serif; 
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: #d97706;
  border-radius: 5px;
}

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

/* Loading spinner */
.spinner {
  border: 3px solid #f3f4f6;
  border-top: 3px solid #d97706;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}

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

/* Toast notifications */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  animation: slideIn 0.3s ease-out;
}

.toast-success {
  background-color: #dcfce7;
  border: 2px solid #16a34a;
  color: #166534;
}

.toast-error {
  background-color: #fee2e2;
  border: 2px solid #dc2626;
  color: #991b1b;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Print styles for legal documents */
@media print {
  body {
    background-color: white;
  }
  
  header, .no-print {
    display: none;
  }
}
