  /* Basic styling for the layout */
  *,
*::before,
*::after {
    box-sizing: border-box;
}
  body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column; /* Stack header, main, and footer vertically */
    /* height: 100vh; Full viewport height */
}

.site-container {
  display: flex;
  min-height: 100vh; /* Ensure the container spans the full height of the page */
}

/* Left-side navigation */
.nav {
  width: 16%;
  background-color: #004a7c;
  color: white;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Right-side content */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Header for right side */
.header {
  height: 80px;
  background-color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 84%;
  padding: 10px 2%;
  position: fixed;
  top: 0;
  /* left: 0; */
  z-index: 1;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
}

/* Main content area */
.main-content {
  flex: 1;
  margin-top: 100px; /* Push content down to accommodate the fixed header */
  margin-bottom: 0; /* Remove unnecessary margin at the bottom */
  padding: 20px 0; /* Optional padding */
  background-color: #fff;
}

/* Footer for right side */
.footer {
  background-color: #fff;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px;
  border-top: 1px solid #ddd; 
}


  /* .site-container{     */
    /* height: 100vh; */
    /* display: flex; */
    /* justify-content: center; */
    /* gap: 1rem; */
  /* } */
  /* Left-side navigation */
  /* .nav {
    width: 16%;
    background-color: #004a7c;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 0 200px; /* Fixed width sidebar 
   // /* height: calc(100vh - 50px); If header/footer is 50px 

  } */

  .nav a {
    color: white;
    text-decoration: none;
    margin: 10px 0;
    display: block;
  }

  .irc-eductaion{
    font-size: 20px;
    display: flex; /* Enables horizontal alignment */
    justify-content: space-between; /* Adds space between the items */
    align-items: center; /* Vertically aligns items */
    padding: 10px 20px; /* Adds spacing inside the container */
    /* background-color: #f9f9f9; Optional: Background color for the header */
  }
  .brand-name {
    font-size: 1.5rem; /* Adjusts the font size */
    font-weight: bold; /* Makes the text bold */
}

.user-greeting {
    font-size: 1rem; /* Adjusts the font size */
    color: #fff; /* Optional: Text color */
}

  /* Right-side content */
  /* .content {
    flex: 1;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    ///* height: 100vh; 
  } */

  /* Header for right side */
 

  /* .header {
    height: 60px;
    background-color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 84%;
    padding-right: 2%;
    padding-left: 2%;
    padding-top: 10px;
    padding-bottom: 10px;
    position: fixed;
    z-index: 1;
  } */
  .header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #004a7c;
}

.logo {
display: flex;
text-align: left;
gap: 2px;
font-size: 10px !important;
color: #000 !important;
font-weight: unset !important;
}

.logo img {
width: 60px;
height: 40px;
}

.logo span  {
margin: auto;
font-size: 8px;
}

.header-nav {
  display: flex;
  gap: 1.5rem;
}


.header-nav a {
  text-decoration: none;
  color: rgb(184, 194, 207);
  font-weight: bold;
  font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.search-bar {
	display: flex;
	gap: 5%;
	justify-content: center;
	justify-items: center;
  width: 68%;
}

.search-bar input {
	height: 30px;
	width: 68%;
	border-radius: 5px;
	border: 1px solid #ccc;
	background-color: #f4f4f4;
	padding: 10px;
	text-align: center;
	/* inset: unset; */
  margin-left: 7%;
}
.search-icon{display: block;}
  /* Main content area */
  /* .main-content {
    flex: 1;
    ///* padding: 20px; 
    ///* overflow-y: auto; 
    margin-top: 60px;

    margin-bottom: 5px;
  } */

  /* Footer for right side */
  /* .footer {
    background-color: #fff;
 
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px;
  } */

 

  /* Footer for left side */
  .nav-footer {
    /* height: 100vh; */
    padding: 13px;
    border-top: 1px dashed #fff;
  }

  .form-container {
    background: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    width: 50%;
    margin: auto;
  }
  .form-container input, .form-container button {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
  }
  .form-container button {
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
  }
  .form-container button:hover {
    background-color: #555;
  }

   /* Main container with background image */
 .pricing-section {
  background: url('/mnt/data/bg0.png') no-repeat center center / cover;
  padding: 2rem 1rem;
  position: relative;
}

/* Title */
.pricing-title {
  text-align: center;
  font-size: 1.5rem;
  color: #004a7c;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Rating & Review Box */
.rating-section {
  text-align: center;
  color: #ff9900;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Packages container */
.packages-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.packages-container a{
  text-decoration: none !important;
}

/* Individual package */
.package {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	padding: 1.5rem;
	width: 300px;
	/* max-width: 300px; */
	text-align: left;
	color: #333;
	height: 400px;
	display: flex;
	flex-direction: column;
}

.package-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}
.package-image {
	width: 100% !important;
	height: 100%;
	overflow: hidden;
	display: flex;
	align-content: center;
	justify-content: center;
}

.package-image img, .profile-img img, .timeline-content img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	object-position: center;
}

.package-price {
  font-size: 1rem;
  /* color: #004a7c; */
  margin-bottom: 0.5rem;
}

.package-name{
  font-size: 0.8rem;
  color: #ccc;
  margin-bottom: 0.5rem;
}

.package-info {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
}

.package-features {
  font-size: 0.9rem;
  color: #333;
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.package-features li {
  margin: 0.3rem 0;
}

.package-button {
  background-color: #004a7c;
  color: #fff;
  padding: 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  border:none;
}
.add-course-textbox{
  height: 200px;
  width: 100%;
}

/* .enroll{
  display: grid;
  justify-content: flex-end;
  cursor: pointer;
} */

.enroll {
  display: flex;
  justify-content: flex-end;
  align-items: center; /* Align items horizontally */
  gap: 6px;
  margin-top: auto; /* Pushes `.enroll` to the bottom */
  cursor: pointer;
}

/* .course-details-container {
	position: absolute;
	width: 84%;
	top: 60px;
	left: 16%;
} */

.course-details-container {
	position: relative;
	width: 100%;
	top: -40px;
	/* left: 16%; */
}
.course-details-header {
	background-color: #1c1d1f;
	color: #fff;
	padding: 10px 50px;
	display: flex;
	justify-content: space-between;
	/* flex-direction: row; */
  font-size: 0.7rem;
}
.course-details-intro-video {
	width: 30%;
	background-color: #fff;
	position: absolute;
	left: 58%;
}

.course-details-topic-video {
	width: 100%;
	background-color: #fff;
}
.course-details-topic-content {

	width: 100%;
}

/* Container for the video */
.course-details-intro-video-container-control{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

/* The video element */
.course-details-intro-video-container-control video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures video covers the container */
}
 /* Caption overlay */
 .course-details-intro-video-caption {
	position: absolute;
	/* bottom: 87%; */
	left: 50%;
	transform: translateX(-50%);
	color: white;
	font-size: 69%;
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
	background-color: rgba(0, 0, 0, 0.5);
	padding: 10px 20px;
	/* border-radius: 5px; */
	top: 0;
	width: 100%;
}


.course-details-intro-video-content {
	color: #000;
	padding: 20px;
}

.course-details-intro-video-content button {
	/* background-color: #004a7c; */
	color: #fff;
	padding: 0.75rem;
	border-radius: 4px;
	text-decoration: none;
	font-weight: bold;
	display: inline-block;
	width: 80%;
	border: none;
}

.course-details-intro-video-content-additionals div {
	display: flex;
	justify-content: start;
	padding: 5px;
	gap: 5%;
}

.course-details-intro-video-content-button-container {
	/* margin: auto; */
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
}

.course-details-price {
	font-weight: bolder;
}

.course-details-title-category-container {
	word-wrap: break-word;
}
.course-details-title-rating-container {
	display: flex;
	justify-content: center;
}

.course-details-title-date-container span {
	padding: 5px;
}

.course-details-title-date-container span img {
	height: 17px;
	width: 17px;
}

.course-details-title-main {
	word-wrap: break-word;
  font-size: 1rem;
}

.course-details-content {

	width: 50%;
	margin: 5%;
}

.course-details-content-learn {
	border: 1px solid #f4f4f4;
	padding: 20px;
}

.course-details-content-list{
  padding: 20px;
}

.course-details-content-list-subheading {
	display: flex;
	gap: 10px;
	color: #6a6f73;
	font-size: 13px;
}

.course-details-content-learn-title,
.course-details-content-list-title,
.course-details-content-requirements-title,
.course-details-content-description-title {
	font-weight: bold;
  padding: 10px;
}

.course-details-content-list-content-topic-container,
 .course-details-content-list-content-topic-progress  {
	background-color: #f7f9fa;
}
.course-details-content-list-content-topic-progress {
	font-size: 0.9rem;
	display: flex;
	justify-content: space-between;
	padding: 1rem 1.25rem;
}
.course-details-content-list-content-topic-content-progress{
  width: 70%;
}
.start-resume {
	height: 1rem;
	font-size: 0.75rem;
	padding: 0.25rem;
	line-height: 0.5;
}

.enroll-prompt {
	color: orangered;
  font-size: 12px;
}

.payment-container{
	display: none;
	background-color: #fff;
	padding: 10px;
	border-radius: 1%;
}


  .error-style {
    color: red;
    border:1px  solid red;
}

.success-style {
    color: green;
    border:1px  solid green;
}

/* .header-badge {
	display: inline-block;
	font-size: 0.55em;
	font-weight: 700;
line-height: unset  ;
} */

.tp-favorite, .tp-cart, .tp-notification, .tp-profile{
  cursor: pointer;
}
.tp-favorite-img{
  
    height: 100%;
    width: 155px;
  
}

.profile-img{
  height: 100px;
    width: 100px;
}

.profile-img img{
  border-radius: 100% !important;
}
.generate-id-number{
  cursor: pointer;
}

.profile-picture {
  cursor: pointer;
  border: 1px solid #ccc;
  padding: 8px;
  margin-top: 10px;
}

.profile-update-body, #about-edit-body{
  display: none; 
  opacity: 0;
  transition: opacity 0.3s ease;
}

#about-ins{
  text-decoration: none;
}


.tp-favorite-date {
	font-size: 12px;
	font-weight: bold;
}
.add-favorite {
	width: 10%;
	font-size: 30px;
  font-size: 1rem;
font-weight: 400;
line-height: 1rem;
}
  
.course-list-action span{
  cursor: pointer;
}

.course-list-action span a{
  color: #fff;
  text-decoration: none;
}



/* body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 20px;
} */

/* Timeline container */
.timeline {
  position: relative;
  margin: 0 auto;
  padding: 20px;
  max-width: 600px;
  border-left: 3px solid #ccc;
}

/* Timeline item container */
.timeline-item {
  position: relative;
  margin-bottom: 20px;
  padding-left: 40px;
}

/* Timeline point (the glowing dot) */
.timeline-point {
  position: absolute;
  left: -8px;
  top: 0;
  width: 16px;
  height: 16px;
  background-color: #ccc;
  border: 3px solid #f4f4f4;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, box-shadow 0.3s;
}

/* Highlighted timeline point (glowing effect) */
.timeline-item:hover .timeline-point {
  background-color: #00f;
  box-shadow: 0 0 15px #00f, 0 0 25px #00f;
}

/* Timeline content box */
.timeline-content {
  background-color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Scale up the content box on hover */
.timeline-item:hover .timeline-content {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Step title */
.timeline-content h3 {
  margin: 0;
  color: #333;
  font-size: 18px;
}

/* Step description */
.timeline-content p {
  margin: 5px 0 0;
  color: #666;
  font-size: 14px;
}
.timeline-content div {
  max-width: 600px;
  padding: 2px;
}

/* Notification Styling */
.ongoing-class-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #007bff;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  display: none; /* Initially hidden */
  animation: glowing 2s infinite;
  z-index: 1000;
}

.ongoing-class-notification button {
  background-color: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  margin-left: 20px;
  
}

.notification-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  display: none; /* Initially hidden */
  animation: glowing 2s infinite;
}

/* Glowing animation for notification */
@keyframes glowing {
  0% { box-shadow: 0 0 5px #007bff; }
  50% { box-shadow: 0 0 20px #007bff; }
  100% { box-shadow: 0 0 5px #007bff; }
}


.notification-content {
  text-align: left;
}

.download-resource{
  cursor: pointer;
}


.scrollable-div {
  width: 100%;          /* Ensure it takes full width */
  overflow-x: auto;    /* Enable vertical scrolling if needed */
  max-width: 100%;      /* Prevent the container from exceeding its parent */
  box-sizing: border-box;
}
.scrollable-div::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Edge */
}

.scrollable-div::-webkit-scrollbar {
  width: 10px;
}

.scrollable-div::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

.scrollable-div::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.scrollable-div table {
  
}

.scrollable-div th, .scrollable-div td {
  /* word-wrap: break-word;
  word-break: break-word;
  white-space: normal;  Allow text to wrap 
  text-overflow: ellipsis;  Optional: Add ellipsis for overflowing text 
  overflow: hidden; */
  white-space: nowrap;
}


.user-scroll {
	/* width: 83%; */
	/* max-width: 83%; */
}

.user-scroll img {
	width: 100px;
	display: flex;
}


 /* Chat Container */
 #chat-container {
  max-width: 600px;
  margin: 50px auto;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
/* Chat Box */
#chat-box {
  height: 400px;
  overflow-y: scroll;
  padding: 15px;
  background-color: #f1f1f1;
  border-radius: 10px 10px 0 0;
}
/* Message Styling */
.chat-message {
  margin-bottom: 15px;
  padding: 10px;
  max-width: 75%;
  word-wrap: break-word;
  border-radius: 15px;
  font-size: 14px;
}
/* Sender's Messages */
.sender {
  background-color: #e0e0e0;
  color: #333;
  margin-left: auto;
  text-align: right;
  border-top-right-radius: 0;
}
/* Responder's Messages */
.responder {
  background-color: #e0e0e0;
  color: #333333;
  margin-right: auto;
  text-align: left;
  border-top-left-radius: 0;
}
/* Typing Indicator */
#typing-indicator {
  font-style: italic;
  color: #777;
  padding: 5px 10px;
}
/* Input Form */
#chat-form {
  display: flex;
  padding: 10px;
  background-color: #ffffff;
  border-top: 1px solid #ddd;
  border-radius: 0 0 10px 10px;
}
#chat-message {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  margin-right: 10px;
}
#chat-send-btn {
  background-color: #004a7c;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
}
#chat-send-btn:hover {
  background-color: #003556;
}

.settings-container{
  
    width: 83%;
    margin: auto;
  
}

.star {
  font-size: 2rem;
  cursor: pointer;
  color: #ccc;
}

.star.selected {
  color: #FFD700; /* Gold */
}

.star:hover ~ .star {
  color: #ccc;
}

.star:hover {
  color: #FFD700; /* Gold on hover */
}

#user-payment-list{
  display: none;
}
#search-container {
  margin: 20px;
}

#search-input {
  /* width: 80%; */
  padding: 10px;
  font-size: 16px;
}

#results-container {
  margin: 20px;
}

.result-item {
  border-bottom: 1px solid #ddd;
  padding: 5px 0;

}
.result-item:hover {
  background-color:#e0e0e0

}
.result-item a {
  text-decoration: none !important;
  color: #000;

}
.result-item p {
  padding: 0 5px;

}

.upload-progress {
  width: 100%;
  height: 10px;
  margin-top: 5px;
  border-radius: 5px;
}
#upload-progress {
  margin-top: 10px;
  width: 100%;
}
.progress-bar {
  transition: width 0.3s ease-in-out; /* Smooth animation */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .irc-eductaion {
    flex-direction: column; /* Stacks items vertically on smaller screens */
    text-align: center; /* Centers the text */
}

.brand-name,
.user-greeting {
    margin: 5px 0; /* Adds spacing between stacked items */
}
  .package {
    /* max-width: 280px; */
    /* width: 100%;
    height: 100%; */
  }

.package-service{
      padding: 1rem;
  }

 .package-service{
      margin: 0;
      width: 100%;
  }
  .search-bar input {
   
    margin-left: unset;
  }

  .search-bar{
    display: none;
  }

  .nav{
    display: none;
    position: fixed;
    width: 100%;
    top: 118px;
    z-index: 1;
  }
  .nav.show {
    display: flex;
  }
  .header{
    width: 100%;
}
.header-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  /* background-color: #fff; */
  /* flex-direction: column; */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem;
}
.header-nav.show {
	display: flex;
	background: #fff;
	text-align: left;
	justify-content: end;
}
.search-icon{display: block;}

.menu-toggle {
  display: block;
  /* color: #004a7c; */
  color: rgb(184, 194, 207);
}

.course-details-container {
	left: 0;
	width: 100%;
}

.course-details-header {
	padding: 10px 20px;
}

.course-details-intro-video {
	width: 100%;
	background-color: #fff;
	position:relative;
	left: 0;
	/* height: 300px; */
}
.course-details-header {
	flex-direction: column-reverse;
}

.course-details-content {
	width: 95%;
	margin: auto;
}
.modal-content{
  max-width: 100%; /* Maximum width of the image */
  max-height: 100%; /* Maximum height of the image */
  }
  .form-container {
    width: 100%;
  }
  
}

.cmz-modal-overlay {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
}

.cmz-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  max-width: 800px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,.5);
  position: relative;
  animation: cmzSlideDown 0.3s ease-out;
}

.cmz-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cmz-modal-close {
  font-size: 24px;
  cursor: pointer;
}

.cmz-modal-body {
  padding-top: 10px;
}

@keyframes cmzSlideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 600px) {
  .cmz-modal-content {
    max-width: 95%;
  }
}
