/* Global styles for vouch-admin */

/* CSS Variables */
:root {
  --primary-color: #3273dc;
  --secondary-color: #23d160;
  --danger-color: #ff3860;
  --warning-color: #ffdd57;
  --info-color: #3298dc;
  --light-color: #f5f5f5;
  --dark-color: #363636;
}

/* Base styles */
body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

#app {
  min-height: 100vh;
}

/* Loading animation */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.loading::after {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  border: 5px solid var(--primary-color);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s infinite linear;
}

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

/* Fade in animation */
.fade-in {
  animation: fadeInAnimation ease 0.3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
  0% { opacity: 0; }
  100% { opacity: 1; }
}