/* General Reset */




.intro {
padding: 20px;
border-bottom: 1px solid #ccc;
}

.intro h3 {
font-size: 16px;
margin-bottom: 10px;
}

.intro .staff-section {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 10px;
}

.staff-section button {
padding: 10px;
border: 1px solid #ccc;
background-color: #669b45;
border-radius: 5px;
cursor: pointer;
}

.staff-section button:hover{
background-color: #669b45bd !important;
}

.video-section {
margin-top: 20px;
text-align: center;
border: 1px solid #ccc;
border-radius: 8px;
padding: 20px;
}



/* Responsive */
@media (max-width: 768px) {
.staff-section {
flex-direction: column;
gap: 10px;
}
}

.section {
flex: 1; /* Makes sections equal in width */
min-width: 300px; /* Ensures sections don't get too narrow */
background: #fff;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
padding: 20px;
}

.section h2 {
text-align: center;
font-size: 24px;
color: #333;
margin-bottom: 20px;
}

.testimonials-container .testimonial-item {
display: flex;
align-items: center;
margin-bottom: 15px;
padding: 15px;
border: 1px solid #ddd;
border-radius: 8px;
background-color: #f9f9f9;
}


.testimonials-container .testimonial-item .content {
font-size: 14px;
color: #666;
}

/* Specific Styling for Schedule */
.schedule-container .schedule-item {
margin-bottom: 15px;
padding: 15px;
border: 1px solid #ddd;
border-radius: 8px;
background-color: #f9f9f9;
list-style: none; /* Ensure no marker for individual items */
}

.schedule-container .schedule-item h3 {
font-size: 18px;
color: #333;
margin: 0;
}

.schedule-container .schedule-item .details {
font-size: 14px;
color: #666;
}

.testimonial-item img,
.testimonial-item video {
width: 100px;
height: 100px;
object-fit: cover;
border-radius: 50%;
margin-right: 20px;
border: 2px solid #add8e6;
}

.testimonial-content {
flex: 1;
}

.testimonial-content h3 {
font-size: 18px;
margin: 0 0 5px;
color: #333;
}

.testimonial-content p {
font-size: 14px;
color: #666;
margin: 0;
}


/* My Energy Level Section */
.schedule-container .energy-level {
margin-top: 20px;
padding: 15px;
border: 2px dashed #76a956bd;
border-radius: 8px;
background-color: #c5e7afbd;
text-align: center;
}

.schedule-container .energy-level h3 {
font-size: 18px;
/* color: #007bff; */
margin-bottom: 10px;
}

.schedule-container .energy-level p {
font-size: 14px;
color: #666;
margin-bottom: 10px;
}

.schedule-container .energy-level .energy-bar {
width: 100%;
background-color: #ddd;
height: 20px;
border-radius: 8px;
overflow: hidden;
position: relative;
}

.schedule-container .energy-level .energy-bar span {
display: block;
height: 100%;
width: 75%; /* Set your energy level percentage here */
background-color: #28a745;
position: absolute;
}


/* Responsive Design */
@media (max-width: 600px) {
.testimonial-item {
flex-direction: column;
text-align: center;
}

.testimonial-item img {
margin-bottom: 10px;
}
}


.courses-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 20px;
}

.course-card {
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
padding: 15px;
transition: box-shadow 0.3s ease;
}

.course-card:hover {
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.course-image img {
width: 100%;
height: auto;
border-radius: 8px 8px 0 0;
}

.enroll-btn {
display: inline-block;
background: #669b45;
color: #fff;
padding: 10px 15px;
text-decoration: none;
border-radius: 4px;
transition: background 0.3s ease;
text-decoration: none !important; 
}

.enroll-btn:hover {
background: #0056b3;
text-decoration: none !important; 
}

.course-title a {
text-decoration: none !important; /* Removes the underline */
color: inherit; /* Ensures the link inherits the text color */
/* color: #669b45; */
}

.course-title a:hover {
color: #a9be9b; /* Optional: Change the color on hover */
text-decoration: none !important; /* Ensures underline is not added on hover */
}

/* Modal Styles */

.modal-backdrop {
  z-index: 0; /* Ensure the backdrop is beneath other content when hidden */
}

.modal {
  z-index: 1050; /* Keep the modal's z-index higher than the backdrop */
}

.smiley-rating {
    text-align: center;
    font-family: Arial, sans-serif;
}

/* Smiley Container */
/* Smiley Container Styling */
.step-content {
    text-align: center; /* Aligns content in the center */
  }
  
  /* Smileys in One Line */
  .step-content .smiley {
    display: inline-block; /* Keeps each smiley inline */
    font-size: 24px; /* Adjusts smiley size */
    margin: 0 5px; /* Adds horizontal spacing */
    cursor: pointer; /* Shows pointer cursor on hover */
    transition: transform 0.2s, opacity 0.3s, color 0.3s; /* Smooth transitions for hover, selection */
    opacity: 0.7; /* Default faded state */
  }
  
  /* Hover Effect for Smileys */
  .smiley:hover {
    transform: scale(1.2); /* Zoom effect on hover */
    color: #007bff; /* Highlight color on hover */
    opacity: 1; /* Full visibility on hover */
  }
  
  /* Selected Smiley Style */
  .smiley.selected {
    color: #28a745; /* Green color for selected smiley */
    font-weight: bold;
    opacity: 1; /* Full visibility on hover */
    transform: scale(1.1); /* Slightly enlarge selected smiley */
  }

  .smiley_container {
    display: flex; /* Use flexbox for alignment */
    justify-content: center; /* Center align the smileys horizontally */
    gap: 10px; /* Add consistent spacing between smileys */
    margin: 10px 0; /* Add some vertical spacing around the smileys */
  }

  


.news-stories-container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

.news-story-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.news-story-item.reverse {
    flex-direction: row-reverse;
}

.story-media img,
.story-media video {
    width: 200px;
    height: auto;
    border-radius: 8px;
}

.story-media {
    flex: 1;
    max-width: 40%;
    text-align: center;
}

.story-content {
    flex: 2;
    max-width: 60%;
    padding: 10px;
    text-align: left;
}

.news-story-item.reverse .story-content {
    text-align: right;
}


 
  /* Stepper Container */
  /*
  .stepper {
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
    max-width: 800px;
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  
  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    text-align: center;
  }
  
  .step .circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ddd;
    color: #333;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .step.active .circle {
    background-color: #007bff;
    color: #fff;
  }
  
  .step span {
    font-size: 14px;
    color: #666;
  }
  
  .step.active span {
    color: #007bff;
  }
  
  
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    height: 4px;
    width: 100%;
    background-color: #ddd;
    z-index: -1;
    transform: translateY(-50%);
  }
  
  .step.active ~ .step::after {
    background-color: #007bff;
  }
  

  #stepper-form {
    max-width: 600px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  

  .step-content {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step-content.active {
    display: flex;
  }
  

  input[type="text"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
  }
  
  input[type="text"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.2);
  }
  #main a {
    text-decoration: none  !important;
    z-index: 1 !important; 
    position: relative !important; 
  }

  #myModal{
    display: none;
  }
*/
 

  .project-list {
    max-width: 100%;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}
.project-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.project-details {
    flex-grow: 1;
    margin-right: 10px;
}
.project-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
.project-description {
    color: #666;
    margin: 5px 0;
}
.project-due {
    font-size: 14px;
    color: #888;
}
.project-actions button {
    border: none;
    background: #0073aa;
    color: white;
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}
.project-actions button:hover {
    background: #005b86;
}

.project-meta {
    line-height: 1.6;
}

.project-meta div {
    margin-bottom: 5px;
}
  
/* Container for splitting sections */
.resume-upload-section {
  display: flex;
  width: 100%;
  gap: 20px; /* Space between the two sections */
  margin: 20px 0;
}

/* Style for each section */
.resume-file-section, 
.resume-display-section {
  width: 50%; /* Each section takes up 50% width */
  padding: 20px;
  box-sizing: border-box; /* Includes padding in the width calculation */
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Headings */
.resume-upload-section h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* File upload section styles */
#resumeForm input[type="file"] {
  display: block;
  margin-bottom: 15px;
}

#resumeForm button {
  background-color: #0073aa;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#resumeForm button:hover {
  background-color: #005177;
}

/* File display section styles */
.resume-display-section .resume-file {
  margin-top: 10px;
}

.resume-display-section a#downloadLink {
  color: #f6f9fa;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.resume-display-section a#downloadLink:hover {
  color: #005177;
}

/* Responsive Design: Stack sections vertically on small screens */
@media (max-width: 768px) {
  .resume-upload-section {
      flex-direction: column;
  }

  .resume-file-section, 
  .resume-display-section {
      width: 100%; /* Full width on smaller screens */
  }
}


#resumeForm {
  display: flex;
  flex-direction: column;
  align-items: center;
}

input[type="file"] {
  margin-bottom: 15px;
  border: 1px solid #ccc;
  padding: 10px;
  width: 100%;
  border-radius: 4px;
  cursor: pointer;
}


.resume-file p {
  margin: 10px 0;
  font-size: 16px;
  color: #555;
}

.resume-file a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.resume-file a:hover {
  background-color: #0056b3;
}

 


  /* Calendar Styles */
.calendar-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.calendar {
  width: 100%;
  border-collapse: collapse;
}

/* Ensure all table cells have the same size */
.calendar th,
.calendar td {
  width: 120px; /* Set a fixed width for each cell */
  height: 100px; /* Set a fixed height for each cell */
  text-align: center;
  vertical-align: top;
  border: 1px solid #ddd; /* Optional: Add a border for better visibility */
  position: relative;
  padding :0px !important;
}

/* Style for the date number */
.calendar td .date {
  font-size: 16px;
  font-weight: bold;
  margin-top: 5px;
}

/* Style for clock in/out time */
.calendar td .time-attachment {
  font-size: 14px;
  margin-top: 5px;
}

/* Disabled or unavailable days */
.calendar td.disabled {
  background-color: #f5f5f5;
  color: #aaa;
  pointer-events: none;
}

/* Style for weekends */
.calendar td.weekend {
  background-color: #ffe6e6;
  color: #b30000;
  pointer-events: none;
}

/* Optional: Add consistent padding */
.calendar td div {
  padding: 5px;
  box-sizing: border-box;
}

/* Style for the clock-in and clock-out p tags */
.time-attachment p {
  margin-bottom: 5px;
  background-color: #7cdb7c;
  color: #020202;
  border-radius: 10px;
  font-size: 14px;
  position: relative;
  cursor: pointer;
  max-width: 150px; /* Limit the text width */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: background-color 0.3s ease; /* Smooth background color change on hover */
}

/* Hover state for p tags */
.time-attachment p:hover {
  background-color: #63c563;
}

/* Popup styling */
.popup {
  position: absolute;
/*  background-color: rgba(0, 0, 0, 0.8); /* Darker background for contrast */
  background-color:white;
  color: black;
  padding: 15px;
  border-radius: 12px;
  width: 220px;
  max-width: 300px;
  z-index: 1000;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
  font-size: 16px;
  white-space: normal; /* Allow text to wrap */
  transition: opacity 0.2s ease-in-out; /* Smooth appearance */
  opacity: 0;
  visibility: hidden;
}

/* Make popup visible when hovered */
.popup.show {
  opacity: 1;
  visibility: visible;
}

/* Close button styling for the popup */
.popup-close {
  background-color: transparent;
  color: white;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 16px;
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}

/* Close button icon */
.popup-close::before {
  content: '\00d7'; /* Unicode for '×' */
  font-size: 20px;
  font-weight: bold;
}

/* Close button on hover */
.popup-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Popup content styling */
.popup-content {
  padding-top: 10px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Optionally add a subtle animation for showing the popup */
.popup.show {
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

table#list_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

table#list_table thead {
  background-color: #007bff;
  color: white;
}

table#list_table th, table#list_table td {
  text-align: left;
  padding: 10px;
  border: 1px solid #ddd;
}

table#list_table tr:nth-child(even) {
  background-color: #f9f9f9;
}

table#list_table .status {
  font-weight: bold;
  text-align: center;
  padding: 5px;
  border-radius: 4px;
}

table#list_table .status.present {
  background-color: #28a745;
  color: white;
}

table#list_table .status.holiday {
  background-color: #ffc107;
  color: #212529;
}

table#list_table .status.weekend {
  background-color: #6c757d;
  color: white;
}
.loader_more {
  text-align: center;
  margin: 20px 0;
  font-size: 1.2em;
  color: #007bff;
}


.view-toggle-buttons {
  text-align: center;
  margin-bottom: 20px;
}

.view-toggle-buttons button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  margin: 0 5px;
  border-radius: 4px;
  color: white;
  background-color: #00000052;
  transition: background-color 0.3s ease;
}

.view-toggle-buttons button.active {
  background-color: #0056b3;
}

.view-toggle-buttons button:hover {
  background-color: #0056b3;
}

/* List View */
#list_view {
  display: none;
  margin-top: 20px;
}

/* Calendar View */
#calendar_view {
  display: none;
  margin-top: 20px;
}



/* Custom login form */
.custom-login-form-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #f9f9f9;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-login-form-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

.custom-login-form-container .form-row {
  margin-bottom: 15px;
}

.custom-login-form-container label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 14px;
}

.custom-login-form-container input[type="text"],
.custom-login-form-container input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.custom-login-form-container .custom-login-button {
  display: block;
  width: 100%;
  padding: 10px;
  background: #0073aa;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.custom-login-form-container .custom-login-button:hover {
  background: #005f8d;
}

.custom-login-form-container a {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #0073aa;
  text-decoration: none;
}

.custom-login-form-container a:hover {
  text-decoration: underline;
}

/* Courses */
.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.course {
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  width: 300px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 1; /* Fully visible by default */
  pointer-events: auto; /* Clickable by default */
}

.course.active {
  border-color: green;
  background-color: #e6ffe6;
}

.course.inactive {
  border-color: red;
  background-color: #ffe6e6;
  opacity: 0.5; /* Dimmed appearance */
  pointer-events: none; /* Disable all interactions */
}

.course-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.course-status {
  font-weight: bold;
  text-transform: uppercase;
}

.course.active .course-status {
  color: green;
}

.course.inactive .course-status {
  color: red;
}

.course button {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.course.active button {
  background-color: green;
  color: white;
}

.course.inactive button {
  background-color: gray;
  color: white;
  cursor: not-allowed; /* Indicates the button is not clickable */
}

.out{
  background: red !important;
}

/* success and error messages */
.success-message {
  background-color: #d4edda; /* Light green background */
  color: #155724; /* Dark green text */
  border: 1px solid #c3e6cb; /* Green border */
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 16px;
  display: inline-block;
  margin: 10px 0;
}

.error-message {
  background-color: #f8d7da; /* Light red background */
  color: #721c24; /* Dark red text */
  border: 1px solid #f5c6cb; /* Red border */
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 16px;
  display: inline-block;
  margin: 10px 0;
}

.success-message::before {
  content: "\2714 "; /* Unicode checkmark */
  font-weight: bold;
  margin-right: 5px;
}

.error-message::before {
  content: "\2716 "; /* Unicode cross */
  font-weight: bold;
  margin-right: 5px;
}

label.required::after {
  content: " *";
  color: red;
  font-weight: bold;
}

@media screen and (max-width: 737px) {
     .sidebar-wrapper {
        max-height: 100vh;
        overflow-y: scroll;
     }

     .dashboard-head-wrap button{
	margin-top: 10px;
     }
}

.dashboard-head-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

  

