* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0056b3;
    color: #fff;
    padding: 20px;
}

.header .logo h1 {
    font-size: 24px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.welcome-section h2 {
    font-size: 28px;
    color: #0056b3;
}

.subjects-section {
    background-color: #e8eaf6;
    padding: 20px;
    border-radius: 8px;
}

.subjects-section h3 {
    margin-bottom: 15px;
    color: #0056b3;
}

.subject-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.subject-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: calc(33.333% - 20px);
    transition: transform 0.3s ease;
    text-align: center;
	float: inline-start;
}

.subject-card h4 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
}

.subject-card p {
    font-size: 14px;
    color: #666;
}

.subject-card:hover {
    transform: translateY(-5px);
	cursor: pointer;
}

.chat-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chat-section h3 {
    color: #0056b3;
    margin-bottom: 15px;
}

.chat-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-messages {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
}

.chat-input {
    display: flex;
    gap: 10px;
}

.chat-input input[type="text"] {
    flex: 1;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.chat-input button {
    background-color: #0056b3;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.chat-input button:hover {
    background-color: #004494;
}






.renew_status {
    border: solid thin #faf9f9;
    width: 50%;
    padding: 120px 54px;
    text-align: center;
    border-radius: 5px;
    background-color: #007BFF;
    color: #fff;
   /* margin: 1% auto;
     top: 50%; */
	top: -40%; /* Start off-screen */
    position: absolute;
    left: 50%;
	transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	animation: slideIn 1s forwards; /* Slide in animation */
	z-index: 2;
	
}


@keyframes slideIn {
    from {
      top: -100%;
    }
    to {
      top: 40%; /* Final position */
    }
  }




 .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
	font-size: 35px;
  }



   .close-btn:hover {    
    color: red;    
  }










/* .addedCourse {
    background-color: #dbf5d5;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: calc(33.333% - 20px);
    transition: transform 0.3s ease;
    text-align: center;
	margin-top: 8px;
	margin: 8px;
    display: inline-block;
}
 */


[data-active="false"] {
    opacity: 0.5;           /* Makes the element look faded */
    pointer-events: none;   /* Prevents any mouse interactions */
    cursor: not-allowed;    /* Shows a not-allowed cursor */
}









.confirmMessage {
  
  border-radius: 5px;
  padding: 5px 10px;
  display: block;
  color: #fff;
  text-align: center;
  width: 50%;
  margin: 8px auto;
  padding: 8px;
  background-color: #5a94ef;
}

section.subjectContent {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 20px auto;
 /*  border: solid thin red; */
  width: 80%;
  padding: 1px 9px;
}

.course-selection h3 {
  /* border: solid thin black; */
  text-align: center;
  margin-bottom: 14px;
}

 #addsubjects{
  background-color: #eac10c;  
  color: #fff;
  display: flex;
  margin: 8px auto;
 }




 .logginPlus {
     top: 10px;
     position: relative;
     left: -8px;
    }
    
   .logginPlus path {
    fill: #fff;
    }
    
  

   #addsubjects p{
    vertical-align: middle;
    position: relative;
    top: 9px;
    margin-right: 12px;
    margin-left: 125px;
    text-align: center;
	cursor: pointer;
	
	//color: white; /* Set the text color to white */
    //text-shadow: 
        -1px -1px 0 #000,  
        1px -1px 0 #000,  
        -1px 1px 0 #000,  
        1px 1px 0 #000;  /* Creates a black outline effect */
    //font-size: 24px; /* Optional: Set the font size */
   // font-weight: bold;
	
   }

 section.subjectContent{
	display: none;	
  }

  #addedCoursesList{
	/* display: flex;*/
     width: 80%;  
    margin: 6% auto;
	  
  }
  
  
  
  .selected{
  margin: 3px;
  background-color: #eac10c;
  border: solid thin #eac10c;
  }
  
  
  
  /* mobile styles  */
  
     /* Styles for laptops */
   @media only screen and (min-width: 769px) and (max-width: 1024px) {
   
   }
   
   
    
  /* Styles for tablets */
  @media only screen and (min-width: 481px) and (max-width: 768px) {
       
       #addedCoursesList {
          width: 94%; 
       }
       
       
       .subject-card {
        width: 47%;
       }
      
      
    
}



   /*  mobile phones */
   @media (max-width: 480px) {
     .subject-card {
        width: 98%;
       }
       
    svg.logginPlus {
    top: 10px;
    position: relative;
    left: -8px;
   }
 }
 