@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto/Roboto-VariableFont_wdth\,wght.ttf') format('truetype');
  font-weight: 500;
  /* peso normal */
  font-style: normal;
}


@font-face {
  font-family: 'Caprasimo';
  src: url('../fonts/Caprasimo/Caprasimo-Regular.ttf') format('truetype');
  font-weight: 700;
  /* negrito */
  font-style: normal;
}

/* Variáveis */
:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --accent-color: #28a745;
  --background-light: #f8f9fa;
  --background-dark: #343a40;
  --text-color: #333;
  --text-color-light: #fff;
  --border-color: #dee2e6;
  --box-shadow-light: rgba(0, 0, 0, 0.05);
  --success-color: #16a34a;
  --error-color: #dc2626;
}

/* Reset Básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-light);
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

ul {
  list-style: none;
}

input[type="file"].hidden {
  display: none;
}

[x-cloak] {
  display: none !important;
}

.loading-parent {
  position: relative;
}

.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
}

.spinner {
  width: 42px;
  height: 42px;
  border: 4px solid #ddd;
  border-top: 4px solid #222;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

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