/*================================== Importação de Fontes ==================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400&display=swap');

/*================================== Básico ==================================*/

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    max-width: 100vw;
}

html,
body
{
    height: 100%;
}

body
{
    background: #f2f2f2;
}

img
{
    width: 100%;
    height: auto;
}

.content
{
  display: none;
}

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

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

/*================================== Skeleton ==================================*/
#aviso {
  display: none;
  padding: 10px;
  width: 100%;
  text-align: center;
  font-weight: bold;
  border-radius: 5px;
  font-size: 1em;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3000;
}
.ok {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.erro {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/*================================== Skeleton ==================================*/

.skeleton {
  background-color: #ddd;
  border-radius: 4px;
  animation: pulse 1.5s infinite ease-in-out;
}

.skeleton.card{
  background: transparent;
}

.skeleton.image {
  width: 100%;
  height: 180px;
  margin-bottom: 12px;
}

.skeleton.text {
  height: 16px;
  margin-bottom: 8px;
}

.skeleton.text.short {
  width: 40%;
}

.skeleton.text.medium {
  width: 70%;
}

.skeleton.text.full {
  width: 100%;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.card {
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

         


 /* Overlay * /
.loading-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .loading-overlay.hidden {
    opacity: 0;
    transform: scale(0.98);
    pointer-events: none;
  }

  .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  .loading-text {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #333;
  }

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

  / * Skeleton 
  .skeleton {
    background-color: #ddd;
    border-radius: 5px;
    color: transparent;
    animation: pulse 1.5s infinite ease-in-out;
  }

  @keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
  }



  h1 {
    font-size: 24px;
    margin-bottom: 1rem;
  }

  .card {
    display: flex;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 8px;
  }

  .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
  }

  .card-text {
    font-size: 14px;
    color: #666;
  }          */ 