@import url('https://fonts.googleapis.com/css2?family=Bellota+Text:ital,wght@0,300;0,400;1,300&family=Lato:ital,wght@0,100;1,100&family=Roboto:ital,wght@0,100;0,300;1,100&family=Work+Sans:ital,wght@0,100;1,200;1,300&display=swap');
  /*responsive */
  @media(max-width : 650px){
    .list{
        width: 100%;
        height: 100%;
        float: left;
        
       
    }
    

    
 }
* {
	box-sizing: border-box;

}
.logo img{
    border-radius: 50%;
    width: 150px;
    height: 150px;
    box-shadow: 1px 0.6px 0.6px #d2dce9;
   
    
}
body{
    height: 100vh;
    
    
    background-color: #fff;
    font-family: 'roboto' ,sans-serif;
    
}
.page{
    display: grid;
    grid-template-rows: 270px 350px ;
    row-gap: 10px;
}


h1{
    font-size: 25px;
    padding-top: 5px;
    font-weight: bolder;
    text-align: center;
}
/* personal information*/
.list{
    width: 50%;
    height: 100%;
    
    float: left;
}
.logo{
    width: 50%;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.info{
  
   margin: 0 auto;
   height: 200px;
   
    
}
.personal-info{
    background-color: #f2f3f7;
    box-shadow: 0.6em 0.6em 1.2em #d2dce9;
    /* margin-top: 15px; */
 
}
.personal-info ul li {
    list-style-type: none;
    font-size: 15px;
    padding: 8px ;
    border-bottom: 1px solid #ffffff;
}
.personal-info ul li:last-of-type{
    border-bottom: 0px;
}

/*medical history*/
.medical-history{
   
    box-shadow: 0.6em 0.6em 1.2em #d2dce9;

}
.content-table{
       width: 100%;
       text-align: center;
       

        border-collapse: collapse;
        margin: 25px 0;
        font-size: 0.9em;
        min-width: 400px;
        border-radius: 5px 5px 0 0;
        overflow: hidden;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
      
}

.content-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
}  
.content-table th,
.content-table td {
  padding: 12px 15px;
}
.content-table tbody tr {
    border-bottom: 1px solid #dddddd;
  }
  .content-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
  }
  .content-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
  }
  .icon{
    height: 20px;
    width: 20px;
  }


/*view report btn*/
.view-report
{
    
    color: #009879;
    font-weight: bold;
    padding: 5px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}
/*report*/

.modal-container{
   
    background-color:rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: none;
}
.show-modal{
    display: block;
}
.modal-1{
    
    background-color: #f2f3f7;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 100%;
    z-index: 1;
    box-shadow: 0em 0em 0.2em #d2dce9;
    border: 0.5px solid #f2f4f4;
    animation-name: view-report ;
    animation-duration: 1s;
}
.modal-header {
    background-color: #009879;
    color: #f2f3f7;
    height: 60px;
}
.close-btn{
    background: none;
    border: none;
    
    transition: all 0.3s;
    color: white;
    width: 50px;
    height: 50px;
    font-weight: 100;
    font-size: 16px;
    
}
.close-btn:hover{
    color: #ccc;
}
.modal-content img{
    margin: auto;
    width: 60%;
    padding-top: 10px;
    margin-top: 10x;
    box-shadow: 0 5px 5px black;
   
}
.modal-content p {
    line-height: 25px;
    float: left;
    width: 100%;
    margin: 0 auto;
    padding:20px ; 
   /* color: #4c1a7b;*/
}
  /*appointment*/
  .appointment{
    background-color: #f2f3f7;
    text-align: center;
    height:70px;
    padding-top: -15px;
   

}
/*make an appointmwnt btn*/
#btn1{ 
	text-decoration: none;
	width: 210px;
    border-radius:5px;
    height: 50px;
    text-align: center;
    margin: 0 auto;
	padding: 15px ;
    margin-top: 5px;
	border: 2px solid #009879;
	color: #009879;
   
    transition: all ease-in-out 400ms;

}
#btn1:hover{
    border: 1px solid white;
    color: white;
    background-color: #009879;
    transform:  translateY(-4px);
    

	
}
@keyframes view-report {
    0%{
    opacity: 0;
    }
   
    100%{
        opacity: 1;
    } 
 }
 .t-row:last-of-type td{
    text-align: center;
   
 }
.day{
    text-align: center;
    width: 33.3%;
}
.medical-history h1{
    padding-top: 10px;
}
.cancel{
    color: red;
}
/*********** modal 2*********/
.update-appointment{
    background-color:rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}
    
.none{
    display: none;
}

.modal-2{
    background-color: #f2f3f7;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 100%;
    z-index: 1;
    box-shadow: 0em 0em 0.2em #d2dce9;
    border: 0.5px solid #f2f4f4;
    animation-name: view-report ;
    animation-duration: 1s;
    height: auto;
   
}
.modal2-header{
    background-color: #009879;
    color: #f2f3f7;
    height: 50px;
    padding:5px;
}
.close2-btn{
    position: absolute;
    top: 5px;
    right: 0;
    background-color: #009879;
    border: none;
   
}
.form-container{
  margin: 2% auto;
  margin-bottom: 0;
  
}
.form-control {
   
    margin: 25px 0;
    position: relative;
   
}
.form-control input ,.form-control select{
    width: 100%;
    height: 30px;
    background-color: none;
    border: none;
    outline: none;
   
   
   

}
.form-control label {
    position: absolute;
    color: gray;
    /* top: 50%; */
    left: 5px;
    transform: translateY(-100%);
    
    padding: 10px;
}


#updateBtn{
    background-color: #f2f3f7;
    align-items: center;
    color: #009879;
    width :110px ;
    height: 40px;
    font-size: 22px;
    border-radius: 10px;
	
   margin-bottom: 2%;
	border: 2px solid #009879;
	color: #009879;
   
    transition: all ease-in-out 400ms; 
}
#updateBtn:hover{
    border: 1px solid white;
    color: white;
    background-color: #009879;
    transform:  translateY(-4px);
}
.updateBtn{
    display: flex;
    justify-content: center;
   align-items: center;
}