@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@400;500;600;700&display=swap');

  body {
    font-family: 'SF Pro Display', sans-serif;
    background-color: #A30A0D;
    color: #ffffff;
    overflow-x: hidden;
  }
  .bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 1;
  }
  .bento-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .bento-card:hover {
    transform: scale(1.02);
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.08);
  }
  .expand-animation {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  .gaussian-cloud {
    position: fixed;
    pointer-events: none;
    width: 100vw;
    height: 100vh;
    filter: blur(60px);
    opacity: 0.15;
    z-index: 0;
  }
  @keyframes subtleGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  .gaussian-cloud::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #f7d794, #4fb783);
    background-size: 400% 400%;
    animation: subtleGradient 15s ease infinite;
  }

  nav {
    background-color: #52090b;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }

  .logo img {
    height: 50px;
  }

  .nav-menu {
    display: flex;
    gap: 1.5rem;
  }

  .nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
  }

  .nav-menu a:hover {
    color: #ffd9d9;
  }

  .cancel-button {
    background-color: #dc2626;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
    margin-left: auto; /* Adicione essa linha */
  }

  .cancel-button:hover {
    background-color: #b91c1c;
  }

  .cancel-agenda {
    background-color: #dc2626;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    margin-top: 1rem;
    /*position: absolute;*/
    right: 1rem;
    bottom: 1.25rem;
    transition: background-color 0.3s ease;
  }

  .cancel-agenda:hover {
    background-color: #b91c1c;
  }
    
  .edit-agenda {
    background-color: #CA8A04;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    margin-top: 1rem;
    /*position: absolute;*/
    right: 1rem;
    bottom: 1.25rem;
    transition: background-color 0.3s ease;
  }

  .edit-agenda:hover {
    background-color: #854D0E;
  }

  .patient-card-buttons {
    display: flex;
    justify-content: flex-end; /* Adicione essa linha */
    gap: 0.5rem; /* Adicione essa linha para espaçamento entre os botões */
  }

  @media (max-width: 768px) {
    .nav-container {
      flex-direction: row;
      align-items: center;
    }

    .logo {
      margin-bottom: 0;
    }

    .nav-menu {
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }
  }

  .patient-extra-details {
    transition: all 0.3s ease;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
  }

  .expanded .patient-extra-details {
    opacity: 1;
    max-height: 200px;
    margin-top: 1rem;
  }

.hidden {
  display: none;
}

/* Estilo para o container da tela de login */
#login-container {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  max-width: 400px;
  margin: 10vh auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  animation: subtleGradient 15s ease infinite;
}

/* Inputs do formulário de login */
#login-container input[type="text"],
#login-container input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1rem;
}

/* Checkbox e label */
#login-container input[type="checkbox"] {
  margin-right: 0.7rem;
  margin-top: -1rem;
}

#login-container label[for="remember-me"] {
  font-size: 0.9rem;
  margin-top: -2px; /* Margem negativa aplicada corretamente */
  display: inline-block; /* Garante que o label respeite a margem */
}


/* Botão de login */
#login-container button {
  width: 100%;
  padding: 0.75rem;
  background-color: #52090b;
  color: #ffffff;
  font-size: 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#login-container button:hover {
  background-color: #6c0c0f;
}

#login-container p {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1rem;
}

/* Ajustes para animação do fundo */
.gaussian-cloud {
  position: fixed;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  filter: blur(60px);
  opacity: 0.15;
  z-index: 0;
}

.gaussian-cloud::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #f7d794, #4fb783);
  background-size: 400% 400%;
  animation: subtleGradient 15s ease infinite;
}

@keyframes subtleGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


#login-container.hidden {
  display: none;
}

.toggle-switch {
  appearance: none;
  width: 30px;
  height: 16px;
  background: #A8312F;
  border-radius: 999px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.toggle-switch:checked {
  background: #4caf50;
}
.toggle-switch:before {
  content: '';
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 1px;
  left: 1px;
  transition: transform 0.3s ease;
}
.toggle-switch:checked:before {
  transform: translateX(14px);
}

#custom-confirm {
  z-index: 1000;
}

#custom-confirm .bg-white {
  /*background-color: #A30A0D;  Fundo na cor desejada */
  color: #52090b;  Texto branco para contraste
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}