body {
    font-family: 'Roboto', sans-serif;
    background-color: #e6f0fc;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    width: 100%;
}

.sidebar {
    width: 250px;
    background-color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* justify-content: space-between; */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.sidebar nav ul {
    list-style-type: none;
    padding-top: 20px;
}

.sidebar nav ul li {
   margin: 70px 0;
}

.sidebar nav ul li a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 90px;
    color: #333;
    font-weight: 500;
}

.sidebar nav ul li.active a {
    color: #007bff;
}

.logout {
    text-align: center;
    padding-top: 60px;
}

.logout a {
    text-decoration: none;
    color: #007bff;
    font-weight: 500;
}

.main-content {
    flex: 1;
    padding: 20px;
    display: flex;
    gap: 20px;
}

.left-section {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 300px;
}

.profile-picture {
    border-radius: 50%;
    margin-right: 20px;
}

.profile-details h2 {
    margin: 0 0 10px 0;
}

.profile-details p {
    margin: 0 0 10px 0;
    color: #777;
}

.profile-details ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.dashboard {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.card {
    position: relative;
    height: 200px; 
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;

    display: flex;
    /* align-items:flex-start; */
    justify-content:flex-start;
}

canvas {
    height: 95% !important;
    width: 100% !important;
    position: absolute;
    top: 0;
    left: 0; 
}

.appointments {
    position: relative;
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.appointment-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 430px; /* Limite la hauteur de la liste */
    overflow-y: auto; /* Active le défilement vertical si le contenu dépasse */
}

.appointment-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
}

.appointment-list li.dentist {
    background-color: #1e90ff;
}

.appointment-list li.cardiologist {
    background-color: #ff69b4;
}

.appointment-list li.orthopedist {
    background-color: #ff8c00;
}

.appointment-list li.physician {
    background-color: #32cd32;
}

.appointment-list li.endocrinologist {
    background-color: #8a2be2;
}

/********************************************** chatbot style *****************************************/
.close {
	display: none;
}

#chatbot{
	position: fixed;
	bottom: 20px;
	right: 50px;
	width: 350px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	overflow: hidden;
	font-family: Arial, sans-serif;
	cursor: pointer;
}

#nom{
	position: fixed;
	bottom: 40px;
	right: 50px;
	color: rgb(0, 0, 0);
	font-weight: bold;
	cursor: pointer;
	border: 2px solid #f5f5fc;
	border-radius: 50px;
    background-color: black;
}
  
#chatbot-header {
	background-color: #4caf50;
	color: white;
	padding: 10px;
	text-align: center;
	font-weight: bold;
	cursor: pointer;
}
  
#chatbot-messages {
	display: block;
	background-color: white;
	height: 300px;
	overflow-y: scroll;
	padding: 10px;
}
  
#chatbot-input {
	width: 100%;
	padding: 10px;
	border: none;
	border-top: 1px solid #ddd;
	box-sizing: border-box;
}
  
#user-message {
	background-color: #e8f5e9;
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 10px;
	text-align: right;
}
  
#bot-message {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}
