@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

/* Ensure body takes full height */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* ========== HERO SECTION ========== */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  margin-top: 100px;
  text-align: center;
  padding: 40px;
}

.hero-container {
  text-align: center;
  animation: fadeInUp 1.5s ease-in-out;
}

.hero-container h1 {
  font-size: 3rem;
  font-weight: 700;
  color: midnightblue;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-container p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 20px auto;
}

/* Button style for the admin search button */
.btn-search {
  background-color: black !important; /* Force black background for the search button */
  color: white !important; /* White text */
  border: none; /* Remove border */
  padding: 10px 20px; /* Padding for better click area */
  cursor: pointer; /* Cursor pointer on hover */
  transition: background-color 0.3s ease; /* Smooth transition */
  max-width: 100px; /* Limit the width of the button */
  width: auto; /* Let the button adjust based on content */
  height: 37.8px; /* Match the height of the input field */
  text-align: center; /* Center the text inside the button */
}

.btn-search:hover {
  background-color: #555 !important; /* Slightly lighter background when hovered */
}


/* ========== VISI & MISI SECTION ========== */
.column-center {
  text-align: center;
  margin: 9px auto;
  padding: 50px;
  width: 99%;
  background: rgba(0, 0, 0, 0.052);
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease;
}

.column-center:hover {
  transform: translateY(-5px);
}

.column-center ul {
  list-style-position: inside;
  text-align: left;
  padding-left: 20px;
}

.column-center li {
  margin-bottom: 10px;
}

.column-center h1 {
  font-size: 2rem;
  font-weight: 600;
  color: midnightblue;
}

.column-center p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ========== FIXED RIGHT SIDEBAR CALENDAR ========== */
/* Ensure the calendar table does not overflow */
.calendar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 5px; /* Reduce padding */
  margin: 10px 0;
  background: white; /* Ensure a white background */
  border: 2px solid #ccc; /* Light gray border */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow effect */
  
}

.calendar-widget .calendar-header h4 {
  font-size: 2rem; /* Match the heading size */
  font-weight: 700; /* Match the font weight */
  color: midnightblue; /* Match the color */
  text-align: center;
  margin-bottom: 20px;
}






/* Restrict the calendar table width */
.calendar table {
  font-size: 12px;
  width: 100%;
  table-layout: fixed; /* Ensures all columns fit evenly */
}

/* Ensure the table cells do not stretch */
.table th, .table td {
  text-align: center;
  padding: 6px;
  word-wrap: break-word;
  white-space: nowrap; /* Prevents text from wrapping */
  overflow: hidden;
  text-overflow: ellipsis;
}


.table th {
  background-color: #007bff;
  color: white;
}

.event-day {
  background-color: #FFD700;
  font-weight: bold;
  border-radius: 5px;
}

.event-day:hover {
  background-color: #FFA500;
  color: white;
}

#event-info {
  font-size: 10px; /* Reduce text size */
  padding: 8px; /* Reduce padding */
  margin-top: 3px;
  border-radius: 5px;
  background: #f8f9fa;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  width: 100%; /* Ensure it fits the calendar */
  text-align: center;
}

#event-info h4 {
  font-size: 12px; /* Smaller heading */
  margin-bottom: 5px;
}

#event-info p {
  font-size: 10px; /* Smaller paragraph text */
  margin: 0;
}

/* Wrapper for all page content except footer */
.content-wrapper {
  flex: 1; /* Pushes the footer to the bottom */
}

/* Ensure the footer stays at the bottom */
footer {
  text-align: center;
  margin-top: 0 !important;
  background: midnightblue;
  color: white;
  font-size: 0.9rem;
  position: relative;
  width: 100%;
  bottom: auto;
    padding-bottom: 0 !important;
}




/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 768px) {
  .hero {
     height: auto;
     padding: 50px 20px;
  }

  .hero-container h1 {
     font-size: 2rem;
  }

  .hero-container p {
     font-size: 1rem;
  }

  .column-center {
     padding: 20px;
  }

  .calendar-widget {
     width: 100%;
     max-width: 500px;
     margin: 0 auto;
     display: flex;
     flex-direction: column;
     align-items: center;
  }

  .calendar table {
     font-size: 14px;
  }

  .calendar-title {
     font-size: 10px;
     margin-bottom: 5px;
     margin-left: -20px;
  }
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  text-align: center;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 800px;
  margin: 50px auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #333;
}

.video-container {
  margin: 20px 0;
}

.progress-bar {
  width: 100%;
  background: #ddd;
  border-radius: 5px;
  height: 20px;
  margin-top: 10px;
  position: relative;
}

#progress-fill {
  height: 100%;
  width: 0;
  background: #4caf50;
  border-radius: 5px;
  transition: width 0.5s ease-in-out;
}

.forgot-password-wrapper {
  max-height: 10000px; /* Adjust as needed */
  overflow: hidden; /* Prevents unnecessary scrolling */
}

