@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Open+Sans:wght@400;700&display=swap');


.delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 0, 0, 0.5); /* Semi-transparent red */
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: none; /* Hide by default */
  }

  .card:hover .delete-btn {
    display: inline-block;
}

tr:hover .delete-btn {
    display: inline-block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: #1D4D5A;
}

p {
    font-family: 'Open Sans', sans-serif;
    color: #1D4D5A;
}

/* novo botão com o gradiente de cores */
.gradient-button {
    background: linear-gradient(to right, #3DAEE4, #9ED2C3);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
  }
  
  .gradient-button:hover {
    opacity: 0.8;
  }


/* Personaliza o botão com a classe btn-primary */
.btn.btn-primary {
    background-color: #003366; /* Cor de fundo personalizada */
    border: none; /* Remove a borda */
    color: white; /* Cor do texto para garantir contraste */
}

/* Mantém o estilo de hover para o botão */
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active {
    background-color: #002244; /* Cor de fundo mais escura no hover */
    border: none; /* Mantém a borda removida */
    color: white; /* Cor do texto no hover */
}

/* Remove a borda ao focar o botão */
.btn-primary:focus {
    box-shadow: none; /* Remove o efeito de sombra ao focar */
    outline: none; /* Remove o contorno */
}

.custom-container {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    position: relative; 
}

#register-button{
    background-color: #00355D ;
    border-color: #00355D;
    color: white;
    height: 41.6px;
    width: 110px;
}

#register-button:hover{
    background-color: #002244;
}


.button-container{
    display: flex;
    justify-content: center;
}



/* Style for the User Home Page */

.slider {
    display: flex;
    overflow-x: auto;
    justify-content: center;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
}

.slide {
    flex: 0 0 auto;
    scroll-snap-align: start;
    
}

.card {
    width: 200px; /* Adjust as needed */
    margin-right: 20px; /* Adjust spacing between cards */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.1);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.card-content {
    padding: 10px;
}

.card-content h2 {
    margin: 0;
}

.card-content p {
    margin: 5px 0;
}

/* Style for the User Home Page - Sections */

.container mt-5 faq-section{
    max-width: 1000px;
}

#containerofFAQ{ 
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    width: 100%;
}

.faq-section h1, .faq-section h2 {
    cursor: pointer;
    margin: 0;
    padding: 10px;
    background-color: #f1f1f1;
    border-bottom: 1px solid #ddd;
    text-align: left; 
}

.faq-section h1.active, .faq-section h2.active {
    background-color: #007bff; /* Change background color when active */
    color: white; /* Change text color when active */
}


/* NEWS ON INDEX PAGE
 */

 .carousel-container a {
    cursor: pointer;
  }

 .carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px; /* Adjust the height as needed */
  }

  .carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px; /* Adjust the height as needed */
    margin: 20px 0; /* Add some margin to prevent overlap with other elements */
  }
  #carouselExampleControls {
    max-width: 600px; /* Set the max-width of the carousel */
    width: 100%; /* Ensure the carousel width is responsive */
    height: 100%; /* Ensure the carousel height is responsive */
  }
  .carousel-item img {
    width: 100%; /* Make sure images fill the carousel width */
    height: 300px; /* Set a fixed height for the images */
    object-fit: cover; /* Ensure images cover the carousel area without stretching */
  }


  /* Customize accordion headers */
.accordion-item {
    background-color: #f8f9fa; /* Background color */
    border: 1px solid #dee2e6; /* Border color */
    border-radius: 0.25rem; /* Border radius */
    margin-bottom: 10px; /* Spacing between accordion items */
}

.accordion-header {
    background-color: #e9ecef; /* Header background color */
    padding: 10px 20px; /* Padding for accordion header */
    cursor: pointer; /* Change cursor to pointer on hover */
    border-bottom: 1px solid #dee2e6; /* Border color for header */
}

.accordion-header:hover {
    background-color: #dfe4ea; /* Header background color on hover */
}

.accordion-button {
    color: #212529; /* Text color for accordion button */
    font-weight: bold; /* Font weight for accordion button text */
    text-align: left; /* Align text to the left */
}

/* Customize accordion body */
.accordion-body {
    padding: 20px; /* Padding for accordion body */
}

/* Whastapp Button */

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.whatsapp-button img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}


/* 
MISSÃO E EQUIPA */

/* Three columns side by side */
.column {
    float: left;
    width: 33.3%;
    margin-bottom: 16px;
    padding: 0 8px;
  }
  
  /* Display the columns below each other instead of side by side on small screens */
  @media screen and (max-width: 650px) {
    .column {
      width: 100%;
      display: block;
    }
  }
  
  /* Add some shadows to create a card effect */
  .card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  }
  
  /* Some left and right padding inside the container */
  .container {
    padding: 0 16px;
  }
  
  /* Clear floats */
  .container::after, .row::after {
    content: "";
    clear: both;
    display: table;
  }
  
  .title {
    color: grey;
  }
  
  .button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: white;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    width: 100%;
  }
  
  .button:hover {
    background-color: #555;
  }



/*   ESTILOS DO FORM PARA ADICIONAR AO CALENDÁRIO  */

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.form-group {
    flex: 1;
    min-width: 200px;
    margin-right: 10px;
}
.form-group-full {
    flex-basis: 100%;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}
.form-group textarea {
    height: 60px;
}



/*   ESTILOS DO FORM PARA perquisar pacientes*/
.search-container {
    position: relative;
    margin: 20px;
}

.search-container input {
    width: 100%;
    padding: 10px 20px 10px 40px;
    border-radius: 30px;
    border: 1px solid #ccc;
}

.search-container .fa-search {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #888;
}

/* 
For tables in Admin so they dont get to extended with a big number of consultas  */

.table-container {
    max-height: 300px;  /* Adjust height as needed */
    overflow-y: auto;
}

.table-container table {
    width: 100%;
    table-layout: fixed;
}
/* Modal */

.modal-header {
    background-color: #f7f7f7;
    border-bottom: 1px solid #ccc;
}
.modal-title {
    font-size: 1.3rem;
}

.modal-body {
    padding: 20px;
}


.modal-footer {
    padding: 15px;
    background-color: #f7f7f7;
    border-top: 1px solid #ccc;
}


@media (max-width: 768px) {
    .custom-modal-width {
        max-width: 95%;
    }
}
