/* Create two equal columns for larger screens */
.schedule-container {
    width: 100%; /* Container ocupa 100% da largura disponível */
}
button.tablink{
    background: #391e57;
    border: none;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.231);
    border-radius: 15px 15px 0 0;
    margin-right: 5px;
    padding: 2px 10px 2px 10px;
}
button.tablink.active{
        background: #5b3f7a;
        border: none;
        font-weight: bold;
        color: white;
        border-radius: 15px 15px 0 0;
        margin-right: 5px;
        padding: 2px 10px 2px 10px;
}
.tablink:hover{
    background: #5b3f7a;
    border: none;
    font-weight: bold;
    color: white;
    border-radius: 15px 15px 0 0;
    margin-right: 5px;
}
.day-container {
    margin-bottom: 30px;
}

.slots-columns-wrap {
    display: flex;
    flex-wrap: wrap; /* Permite que os slots quebrem em novas linhas conforme a largura */
    gap: 10px; /* Espaço entre os slots */
}

.slot-item {
    flex: 1 1 1 30%; /* Cada slot ocupa até 45% da largura, permitindo duas colunas */
    margin-bottom: 15px;
    border-radius: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    box-sizing: border-box; /* Para incluir padding dentro da largura total */
}

.vertical-divider {
    width: 0px;
    height: auto;
    margin: 0 10px; /* Pequeno espaçamento horizontal ao redor do divisor */
}

.slot-time {
    font-weight: bold;
}

.slot-info {
    display: flex;
    justify-content: start;
    align-items: center;
}

.material-symbols-outlined {

  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

/* Ajusta para uma coluna em telas pequenas */
@media screen and (max-width: 768px) {

    .slots-column {
        width: 45%; /* Cada coluna ocupa 100% da largura em telas pequenas */
        margin-right: 10px; /* Espaçamento entre as colunas */
    }

    .vertical-divider {
        display: none; /* Remove o divisor vertical em telas pequenas */
    }
}

.nav-tabs {
 border-bottom: none!important;
}
.next-class-box {
    vertical-align: middle;
}

.next_class_label {
    display: block;
    background: #fc8fe4;
    color: rgb(41, 7, 34);
    padding: 5px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 40px;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1vw;
    box-shadow: rgba(0, 0, 0, 0.1) 4px 8px 4px -7px inset;
}
.scrollable-container {
    max-height: 180px;
    padding: 10px;
    border-radius: 0 10px 10px 10px;
    overflow-y: auto;
    scrollbar-width: thin; /* Thin scrollbar for Firefox */
    scrollbar-color: #fc8fe4 #f1f1f118; /* Handle color and background */
    padding-right: 10px; /* Add some padding to prevent content from overlapping the scrollbar */
    scroll-behavior: smooth;
    background-color: #5b3f7a;
}
.scrollable-container::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
    border-radius: 30px; /* Round the corners */
}
/* Remove scrollbar arrows in WebKit-based browsers */
.scrollable-container::-webkit-scrollbar-button {
    display: none; /* Hide arrows */
}
.two-column-layout {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.classes-list {
    margin-top: 1rem;
}
.calendar-modality{
    text-transform: uppercase;
}
.calendar-timetable{
    position: relative;
    font-size: 1.8rem !important;
    margin: 0!important;
    padding: 5px!important;
}
/* Adjust column widths */
.booked-classes, .timetable-container {
    width: 100%; /* 48% width for larger screens */
}

/* For mobile devices (max-width: 768px for tablets and smaller) */
@media (max-width: 768px) {
    .two-column-layout {
        flex-direction: column; /* Stack the columns vertically */
    }

    /* Make each column take full width on smaller screens */
    .booked-classes, .timetable-container {
        width: 100%;
    }

    .calendar-timetable{
        font-size: 1.5rem !important;
    }
}

/* Styling for other elements remains the same */
.booked-classes-list ul, .timetable-container .tab-content {
    list-style-type: none;
    padding: 0;
}
.btn-logout {
    background-color: #fc8fe4;
    color: rgb(41, 7, 34);
    border: none;
    padding: 5px 30px;
    text-decoration: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 200;
    transition: background-color 0.3s;
}
.btn-logout:hover {
    background-color: #ffc2ef;
}

.Booked-classes-title {
    margin: 2rem 0 2rem 0;
    font-size: 19px;
    font-weight: 100;
    text-align: center;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}
.booked-classes-list li, .timetable-container .tab-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px 0px 15px;
    background-color: #f9f9f9;
    color: #160b23;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.1) 8px 8px 5px -3px inset, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
    margin-bottom: 3px;
}

.main-account {
    padding: 30px;
    width: 50vw;
    margin-bottom: 10px;
    background-color: #2f1946;
    color: #fff;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
@media screen and (max-width: 768px) {
    .main-account {
        width: 100%;
    }
    
}

.class-item {
    display: flex;
    color: #333;
    margin-bottom: 3px;
    box-sizing: border-box;
    padding: 3px;
    background: #f0f0f0;
    border-radius: 5px;
    justify-content: space-between;
    align-items: center;
}
.class-day {
    padding-left: 3px;
    font-size: .9rem;
    text-transform: uppercase;
}
.class-title {
    font-weight: bold;
    font-size: .9rem;
    text-transform: uppercase;
}

.class-cancel {
    font-size: .9rem;
    text-align: right;
}
.nextclass-widget {
    padding: 30px;
    margin-bottom: 10px;
    background-color: #d2a9fe;
    color: #2d2d2d;
    border-radius: 30px;
    width:50vw;
    padding: 30px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.progress-widget{
    min-height: 100px;
    padding: 10px 30px 10px ;
    margin-bottom: 10px;
    color: #2d2d2d;
    border-radius: 30px;
    width:100%;
}
@media screen and (max-width: 768px) {
    .nextclass-widget {
        width: 100%;
    }   
}
.progress {
    background-color: rgb(241, 255, 252)!important;
    height:18px!important;
    border-radius: 15px;
    box-shadow: inset 6px 6px 10px 0 rgba(0, 0, 0, 0.2), inset -6px -6px 10px 0 rgba(255, 255, 255, 0.5);

}
.progress-bar {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #162119!important;
    background: #4caf50!important;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-size: .8rem;
    height: inherit  ;
    border-radius: inherit;
    box-shadow: inset 6px 6px 10px 0 rgba(0, 0, 0, 0.2), inset -6px -6px 10px 0 rgba(255, 255, 255, 0.5);
}
.progress-title {
    font-size: 19px;
    font-weight: 100;
    text-align: center;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}
.progress-label{
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.goals-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 20px;
    min-height:10rem;
    max-height: 14rem;
    overflow-y: auto;
    scrollbar-width: thin; /* Thin scrollbar for Firefox */
    scrollbar-color: #fc8fe4 #f1f1f118; /* Handle color and background */
    padding-right: 10px; /* Add some padding to prevent content from overlapping the scrollbar */
    scroll-behavior: smooth;
}
@media screen and (max-width: 768px) {
    .goals-container {
        background-image: linear-gradient(to bottom, rgba(255,0,0,0), rgb(255, 255, 255));
    }
    
}

.goal-container-individual {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    min-height: 10rem;
    padding: 1% 1% 3% 1%;
    margin-bottom:1%;
    border-radius: 10px;
    background-image: linear-gradient(to bottom, #ffffff, #f9edff);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
.goal-circle {
    position: relative;
    display: inline-block;
    margin: 10px;
    text-align: center;
}

.goal-circle .progress-ring {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(#4caf50 0%, #ddd 0%);
    box-shadow: inset 6px 6px 10px 0 rgba(0, 0, 0, 0.2), inset -6px -6px 10px 0 rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.goal-circle.active .progress-ring {
    background: conic-gradient(#4caf50 var(--progress), #ddd 0%);
    box-shadow: inset 6px 6px 10px 0 rgba(0, 0, 0, 0.2), inset -6px -6px 10px 0 rgba(255, 255, 255, 0.5);
}

.goal-circle .progress-ring::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
}

.goal-circle .percent {
    margin-top: -65%;
    position: relative;
    vertical-align: middle;
    font-size: 18px;
    font-weight: bold;
}

.goal-circle.completed .percent .material-symbols-rounded{
    color: #769287;
    margin-top:-5%;
}
.goal-circle .goal-label {
    margin-top: 10px;
    font-size: 1vw!important;
    font-weight: bold;
}

.goal-circle.inactive .progress-ring {
    background: conic-gradient(#5b5b5b var(--progress), #313131 0%);
    box-shadow: inset 6px 6px 10px 0 rgba(0, 0, 0, 0.2), inset -6px -6px 10px 0 rgba(255, 255, 255, 0.5);

    opacity: 0.4;
}
.goal-circle.inactive .percent {
    opacity: 0.4;
}
.goal-circle.inactive .goal-label {
    opacity: 0.4;
}
.goal-circle.completed .progress-ring {
    background: conic-gradient(#f9ae0b var(--progress), #ddd 0%);
    box-shadow: inset 6px 6px 10px 0 rgba(0, 0, 0, 0.2), inset -6px -6px 10px 0 rgba(255, 255, 255, 0.5);

}

.material-symbols-rounded {
    font-size: 32px;
    color: white;
    z-index: 1;
}

.pagination {
    display: flex;
    justify-content: center!important;
    margin-top: 20px;
}

.page-number, .prev-page, .next-page {
    margin: 0 5px;
    padding: 8px 16px;
    text-decoration: none;
    color: #ffffff;
}
.next-page, .prev-page {
    font-size: 25px!important;
    border: none;
}
.page-number:hover, .prev-page:hover, .next-page:hover {
    color: #ffffff;
}

.instructor-timetable {
    font-weight: regular;
    font-style: italic;
    display: inline-block;       /* Para que width/overflow funcionem */
    max-width: 100px;            /* Defina a largura máxima que desejar */
    white-space: nowrap;         /* Impede a quebra de linha */
    overflow: hidden;            /* Oculta o que exceder a largura */
    text-overflow: ellipsis;     /* Exibe "..." no final */
    vertical-align: top;      /* Ajuste se quiser alinhar com o texto */
}
@media screen and (max-width: 768px) {
    .instructor-timetable {
        max-width: 80px; /* Largura máxima de 100% em telas menores */
    }
    
}
.current-page {
    margin: 0 5px;
    padding: 8px 16px;
    color: #ffffff;
    font-weight: 900;
    border: none;
}

.past-class-button {
    background: none;
    border: none;
    color: #7e7e7e;
    font-size: 22px!important;
    font-variation-settings: 'wght' 400, 'FILL' 1!important;
    cursor: pointer;
}
.past-class-button:hover {
    color: #7e7e7e;
    background: none;
    cursor: pointer;
}
.past-class-button:disabled {
    color: #7e7e7e;
    cursor: pointer;
}
.cancel-reservation {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 22px!important;
    font-variation-settings: 'wght' 400, 'FILL' 1!important;
    cursor: pointer;
}

.cancel-reservation:hover {
    color: #c0392b;
    background: none;
}
.cancel-reservation:focus {
    background: none;
}
/* Hide tab content by default except the active one */
.tab-content {
    display: none;
}

/* Show the active tab */
.tab-content.active {
    display: block;
}


/* Tab buttons with circular shape */
.tab-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tab-button {
    width: 50px;
    height: 50px;
    background-color: #5F259F;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 50%; /* Circular shape */
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tab-button.active {
    background-color: #333;
}

.tab-button:hover {
    background-color: #4a1c7c;
}

/* Class item styling */
.timeslot-tab {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hide all tab contents initially */
.tab-content {
    display: none;
}

/* Show the active tab content */
.tab-content.active {
    display: block;
}

/* General Form Styling */

form.login-form{
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    min-width: 100%!important;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}

form.register-form {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    min-width: 100%!important;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}

.form-group {
    margin-bottom: 20px;
}

/* Two-column layout for first and last name */
.form-row {
    display: flex;
    gap: 10px;
}

.form-row .form-group {
    flex: 1;
}

input.form-control {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s;
    width: 100%;
}

input.form-control:focus {
    border-color: #5F259F;
    box-shadow: 0 0 5px rgba(95, 37, 159, 0.2);
    outline: none;
}

input.form-control::placeholder {
    color: #999;
}

.btn-primary {
    background-color: #15cd99;
    border: none;
    font-weight: bold;
    padding: 12px;
    border-radius: 30px!important;
    color: white;
    width: 100%!important;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #148b3e;
}

/* Toggle password visibility */
.password-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
}

.toggle-password:hover {
    color: #555;
}

/* Checkbox and label */
label {
    color: #555;
    font-size: 14px;
}

input[type="checkbox"] {
    margin-right: 10px;
}

a.forgot-password {
    color: #5F259F;
    text-decoration: none;
    font-size: 14px;
    display: block;
    text-align: right;
}

a.forgot-password:hover {
    text-decoration: underline;
}

/* Subtle transitions for a smooth experience */
input.form-control, .btn-primary, a.forgot-password {
    transition: all 0.3s ease;
}

/* Typography for a cleaner feel */
form {
    font-family: 'Roboto', sans-serif;
    color: #333;
}


/* Estilo para o container principal de cada slot */
.slot-container {
    margin-bottom: 20px; /* Espaço entre as aulas */
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* Estilo para o título com o dia e o horário */
.slot-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

/* Estilo para o grupo com o ícone e o número de assentos */
.slot-info {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.icon-legend {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.icon-legend h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.icon-legend ul {
    list-style-type: none;
    padding: 0;
}

.icon-legend li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.icon-legend li span.material-symbols-rounded {
    margin-right: 10px;
    font-size: 24px;
    color: #686868;
}
.booking_title {
    background: #d9e5f3;
    width: 100%;
    color: black;
    padding: 5px;
    border-radius: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3vw;
}
/* Estilo para o círculo de vagas */
.available-seats-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 33px;
    height: 33px;
    border-radius: 7px;
    background-color: #5dd9ce;
    color: #333333;
    border-color: transparent;
    font-weight: bold;
    font-size: 15px;
    pointer-events: none;
}

.available-seats-circle:disabled {
    background-color: #a5a5a5;
}
.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 38px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    font-variation-settings: 'wght' 250;
  }

/* Estilo para o ícone */
.available-seats-icon {
    border: none;
    background-color: transparent;
    vertical-align: middle;
    color: #555;
    margin-right: 10px;
}

.timetable-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: space-evenly;
}
@media screen and (max-width: 768px) {
    .timetable-icons {
        justify-content: flex-start ;
        align-content: flex-start;
        padding: 0 !important;
        margin: 0 !important;
    }
    
}

.arrow-mobile-calendar {
    margin-top: -1rem;
    color:white;
    padding:5px;
    border:none;
    border-radius:30px;
    font-size:28px;
    background:rgba(101, 24, 105, 0.3)
}
.arrow-mobile-calendar:disabled {
    background:rgba(117, 114, 117, 0.1);
    color:rgba(98, 69, 99, 0.3);
}

/* Estilo para o botão Join */
.join-button {
    padding: 8px 12px;
    color: rgb(19 133 101);
    border: none;
    background: none!important;    
    cursor: pointer;
}
.join-button:hover {
    color: rgb(65, 173, 143);
}
.join-button:focus {
    color: rgb(19 133 101);
}

.join-button:disabled {
    color: #888888;
    cursor: not-allowed;
}

.join-button:hover:not(:disabled) {
    background-color: #005177;
}
/* Estilo para notificação */
#user-notifications .list-group-item {
    transition: background 0.3s ease;
    cursor: pointer;
}

#user-notifications .list-group-item:hover {
    background: #dbe7ff;
}

#notif-bell {
    position: relative;
    display: flex;
    align-items: center;
}

#notif-bell-btn {
    cursor: pointer;
}

#notif-count {
    font-size: 12px;
    padding: 4px 7px;
}

.toast img {
    border-radius: 8px 0 0 8px;
}

.toast .toast-body {
    display: flex;
    flex-direction: column;
}
.notif-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 15px;
  }
  
  .notif-img-container {
    width: 100%; /* Ocupa toda a largura disponível */
    height: 15vh; /* Altura fixa */
    overflow: hidden; /* Impede que a imagem vaze do container */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
  }
  
  .notif-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz o efeito "cover" */
    object-position: center center; /* Centraliza a imagem */
  }
  
  .notif-body {
    margin-top: 10px;
  }
  
  .notif-title {
    font-weight: bold;
    font-size: 1.2rem;
  }
  
  .notif-message {
    font-size: 0.9rem;
    color: #555;
    margin-top: 8px;
  }
  .badge-notif {
    font-family: 'Roboto', sans-serif;
    font-weight: normal !important;
    letter-spacing: .1rem;
    font-size: 5px;
  }

/* Estilo para tabela */
.calendar-container {
    display: flex; /* Cada dia é uma coluna */
    border: 1px solid #ccc;
    /* A altura já é inline no style, mas poderia ser aqui */
    position: relative;
    background: #fff;
  }
  
  .calendar-day {
    position: relative; /* Para permitir position:absolute nos eventos */
    flex: 1;            /* Cada dia ocupa o mesmo espaço */
    border-right: 1px solid #ccc;
    overflow: hidden;   /* Se quiser esconder eventos que ultrapassem a coluna */
  }
  
  /* Remove a borda do último dia se quiser */
  .calendar-day:last-child {
    border-right: none;
  }
  
  /* Cada evento */
  .event-box {
    position: absolute;  /* Importante */
    left: 10px; right: 10px;
    background: #f9f9f9;
    border: 1px solid #999;
    border-radius: 4px;
    padding: 5px;
    overflow: hidden;
    box-sizing: border-box;
  }
  