/* Hamburger button */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #337ab7;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  nav ul.nav-links {
    flex-direction: column;
    width: 100%;
    display: none; /* Hidden by default */
    background-color: #a4f1b6;
    border-radius: 12px;
    padding: 12px 0;
  }

  nav ul.nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  #right-section {
    width: 100%;
  }

  #right-section a {
    display: block;
    padding: 10px;
  }
}
@media (max-width: 768px) {
  #myfirstpanel {
    padding: 10px 10px;
    min-height: unset;
  }

  #tlvcclogo img {
    max-height: 50px;
    height: auto;
    width: auto;
  }

  #tlvcc {
    font-size: 1.2rem;
    margin: 0;
  }
}


/* Base Styles */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0 24px 0 0;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  align-items: center;
  background: rgba(156, 247, 176, 0.7);
  border-radius: 12px;
  box-shadow: 0 2px 8px dimgray;
  min-height: 3rem;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

nav li {
  margin: 8px 12px;
}

nav a {
  text-decoration: none;
  color: #337ab7;
}

nav a:hover {
  color: #fff;
  background: linear-gradient(90deg, #680775 0%, #337ab7 100%);
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(51, 122, 183, 0.15);
  padding: 6px 18px;
  transition: all 0.25s cubic-bezier(.4,2,.6,1);
  text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* Header Panel */
#myfirstpanel {
  top: 0;
  left: 0;
  width: 100%;
  min-height: 5rem;
  background-color: #88f088;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border: solid aqua 2px;
  border-radius: 20px;
  padding: 10px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  z-index: 999;
  box-sizing: border-box;
  overflow: hidden;
}

/* Title */
#tlvcc {
  font-size: 1.5rem;
  font-weight: bold;
  color:purple;
  font-family: 'Pacifico', cursive;
  margin-right: auto;
  position: relative;
  left: 0;
  padding: 10px 0;
}

/* Logo Adjustments */
#tlvcclogo {
  margin: 10px;
  padding: 5px;
  position: relative;
  top: 0;
}
#tlvcclogo-pastor-panel {
  position: relative;
  top: 0;
  left: 0;
}

/* Center Section */
#center-section {
  flex-grow: 1;
  text-align: left;
}

/* Right Navigation */
#right-section ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
}
#right-section a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}
#right-section a:hover {
  color: #23527c;
}

/* Background and base body settings */
body {
  background: linear-gradient(skyblue, lightgreen); 
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: "Segoe UI", sans-serif;
  border: none;
  zoom: 0.9;
}
@media (max-width: 768px) {
  body {
    margin-top: 1px;
  }
}
@media (max-width: 768px) {
  nav ul.nav-links {
    padding: 6px 0;
    font-size: 0.95rem;
  }

  nav a {
    padding: 8px 12px;
  }
}
/* Responsive Breakpoint */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    gap: 10px;
  }

  #myfirstpanel {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  #tlvcc {
    position: static;
    text-align: center;
    margin: 10px 0;
  }

  #right-section ul {
    flex-direction: column;
    align-items: flex-start;
  }
}

#lorem
{
  font-size: 20px;
  color: darkblue;
  margin: 20px;
  text-align: justify;

}
#welcome {
  text-align: justify;
  color: darkblue;
  font-size: 30px;
  margin-top: 20px;
  padding: 10px;
}

#mission {
  text-align: justify;
  color: black;
  font-size: 20px;
  margin: 40px;
  padding: 24px 28px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(51, 122, 183, 0.10), 0 1.5px 6px rgba(0,0,0,0.04);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#parable{
   
  text-align: justify;
  color: black;
  font-size: 20px;
  margin: 40px;
  margin-top: 20px;
  padding: 24px 28px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(51, 122, 183, 0.10), 0 1.5px 6px rgba(0,0,0,0.04);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#mission {
  scroll-behavior: smooth;   /* or smooth */
}
a:link {
  font-weight: bold;
  color: purple;
  text-decoration: none;
}
a:visited {
  font-weight: bold;
  color: purple;
  text-decoration: none;
}
#quiz {
  text-align: justify;
  color: black;
  font-size: 20px;
  margin: 40px;
  padding: 24px 28px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(51, 122, 183, 0.10), 0 1.5px 6px rgba(0,0,0,0.04);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#btn1 {
  cursor: pointer;
  color: #fff;
  background: linear-gradient(90deg, #680775 0%, #337ab7 100%);
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(51, 122, 183, 0.15);
  padding: 6px 18px;
  transition: all 0.25s cubic-bezier(.4,2,.6,1);
  text-shadow: 0 1px 2px rgba(0,0,0,0.08);
  height: 40px;
  width: 120px;
} 
#footer {
  margin: 40px;
  padding: 10px 18px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(51, 122, 183, 0.10), 0 1.5px 6px rgba(0,0,0,0.04);
  height: auto;
  bottom: 0;
  
}
.aboutmediv{
  padding: 20px;
  border: 2px solid #337ab7;
  border-radius: 10px;
  background-color: #f9f9f9;
  margin:10px;
  display: flex;
  min-height: 800px;
  align-items: center;
  flex-wrap: nowrap;
}
#box1{
  background-color:  rgb(150, 211, 94);
  margin: 20px;
  gap : 10px;
}
#box2{
  background-color:  rgb(30, 184, 204);
}
#box3{
  background-color:  rgb(255, 153, 153);
}
/* Style for prayer request form using Bootstrap classes */
#txtusername,
#txtemail,
#txtcontact,
#prayer_request {
  width: 100%;
  max-width: 500px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(51, 122, 183, 0.04);
  transition: border-color 0.2s;
}

#txtusername:focus,
#txtemail:focus,
#txtcontact:focus,
#prayer_request:focus {
  border-color: #337ab7;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(51, 122, 183, 0.15);
}
#txtusername,#txtemail, #txtcontact {
 max-width: 221px;
}
#btnsubmit {
  display: inline-block;
  width: 160px;
  padding: 10px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #337ab7 0%, #5bc0de 100%);
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(51, 122, 183, 0.10);
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
  margin-left: 5px;
  vertical-align: bottom;
  margin-bottom: 20px;
}

#btnsubmit:hover {
  background: linear-gradient(90deg, #23527c 0%, #337ab7 100%);
  box-shadow: 0 4px 16px rgba(51, 122, 183, 0.18);
}
#guestform {
 /* border: 2px solid #030c14;*/
  align-items: center;
  padding: 20px;
  padding-left: 35px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(51, 122, 183, 0.10), 0 1.5px 6px rgba(0,0,0,0.04);
}
#prayer_request{
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
    height: 100px;
}
#bigcointainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh; /* Center vertically, but leave space for header */
  margin: auto;
  padding-top: 120px; /* Push down below fixed header */
  box-sizing: border-box;
  border: 10px solid #d40e1f;

}
.weekly_quiz{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;    /* Full viewport height */
  border-radius: 15px;
  padding: 3px;
  
  margin-top: 1rem;
}
.insider{
  display: flex;
  justify-content: center;
  align-items: center;
  
  padding: 3px;
  width: 100%;
  min-height: 50vh;
}
#container-fluid-pastor-panel {
  max-width: 100%;
  display: flex;
  align-content: center;
  bottom: 0;
  padding: 50px;
}
.container-fluid{
  max-width: 100%;
  display: flex;
  align-content: center;
  justify-content: center;
  padding: 50px;
  border-radius: 20px;
}
#navigator-pastor-panel{
  top: 30px;
  right: 20px;
  position: fixed;
}
#tlvcc-pastor-panel{
   font-size: 24px;
  font-weight: bold;
  color: purple;
  font-family: 'Pacifico', cursive;
  margin-right: auto;
  top: 50px;
  position:fixed;
  left: 130px;;
}
#pastor-panel1{
  background-color: #88f088;
  border-radius: 20px aqua;
}
#body-pastor-panel{
  min-height: 100vh;
}
#signup-form{
  backdrop-filter: blur(25px);
  border-radius: 20px;
   background-color: rgb(197, 235, 200);
  box-shadow: 0 4px 24px rgba(54, 112, 163, 0.1), 0 1.5px 6px rgba(32, 32, 32, 0.04);
  margin-top: 0px;
}
#signup-footer{
  margin-top: 100px;
}
#prayer-request-display{
  display: flex;
  justify-content: center;
  min-height: 500px;
  width: 1700px;
  backdrop-filter: blur(25px);
  opacity:0.9;
  padding: 10px;
  margin: 10px;
  box-shadow: 0 4px 24px rgba(54, 112, 163, 0.1), 0 1.5px 6px rgba(32, 32, 32, 0.04);
  border-radius: 15px;
}
#welcome-message { 
  color: #5fa233;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, sans-serif;
  font-weight: bold;
}
#prayer-request-panel{
 color:purple;
 margin: 30px;

}

td textarea {
  word-wrap: break-word;
  white-space: pre-wrap;
}
td textarea {
  width: 200px; /* adjust the width to your liking */
  height: 100px; /* adjust the height to your liking */
  overflow-y: auto;
}
#weekly-quiz-result{
  border: cyan 5px solid;
  margin:auto;
  display: flex;
  justify-content: center;
  min-height: 500px;
  width: 1700px;
  backdrop-filter: blur(25px);
  opacity:0.9;
  padding: 10px;
  margin: 10px;
  box-shadow: 0 4px 24px rgba(54, 112, 163, 0.1), 0 1.5px 6px rgba(32, 32, 32, 0.04);
  border-radius: 15px;
}
#table-prayer-request{
  min-width: 1500px;
}
#searchbar{
  max-width: 500px;
  justify-content: center;
}
/* Zebra striping for better row distinction */
#table-prayer-request tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

#table-prayer-request tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

/* Add hover effect */
#table-prayer-request tbody tr:hover {
  background-color: #e7f3e7;
  transition: 0.3s ease;
}

/* User Info Column Styling */
#table-prayer-request td:first-child {
  background-color: #f0fdf4;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Prayer Request Column Styling */
#table-prayer-request td:nth-child(2) {
  
  font-size: 1.1rem;
}

/* Shadow for the table */
.table-responsive {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#filter{
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;

}
#searchPrayerUser{
  max-width: 300px;
}
#filterDate{
  max-width: 300px;
}
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    margin: 20px auto;
    padding: 20px;
  }
}
#logout{
  border-radius: 7px;
  border: solid 3px black;
  text-decoration: none;
  color: purple;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
}
.display-username{
  margin-top: 2rem;
  margin-left: 2rem;
}
.admin-main-content{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 60vh;
}
.admin-main-content{
  display: flex;
  justify-content:flex-start;
  align-items: center;
  width: 100%;
  min-height: 60vh;
  margin-top: 3rem;
  padding: 2rem;
}
/* nadadamay ung nasa index 
.admin-table1 th, td{
  border: solid 1px black;
}
*/
#searchUseradminpanel{
  width: 50%;
  margin-bottom: 3px;
}
#monthFilter{
  width: 50%;
}
#newsletterlink{
  margin-left: 60rem;
  background-color: turquoise;
}
#main-outer{
    display:flex;
    width: 100%;
    min-height: 40vh;
    align-items: center;
    justify-content: center;
    
    border-radius: 7px;
    margin: 2rem;
    
}
#footer-forgot_password{
 margin: 40px;
  padding: 10px 18px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(51, 122, 183, 0.10), 0 1.5px 6px rgba(0,0,0,0.04);
  height: auto;
  bottom: 0;
  margin-top: 26rem;
}
#footer-verify_pin{
  margin: 40px;
  padding: 10px 18px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(51, 122, 183, 0.10), 0 1.5px 6px rgba(0,0,0,0.04);
  height: auto;
  bottom: 0;
  margin-top: 26rem;
}
#footer-reset_password{
  margin: 40px;
  padding: 10px 18px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(51, 122, 183, 0.10), 0 1.5px 6px rgba(0,0,0,0.04);
  height: auto;
  bottom: 0;
  margin-top: 22rem;
}
    


