body.centered {
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height:100vh;
    margin: 0;
}



/* GENERAL PAGE STYLES */
.page-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f8f8;
  min-height: 100vh;
  padding: 1rem;
  box-sizing: border-box;
}

/* Inner content layout */
.content-wrapper {
  width: 100%;
  max-width: 800px;
  text-align: center;
}

/* Headings and text */
.page-heading {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #333;
}

.appointment-box {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.main-text {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #555;
}

.highlight {
  color: #d35400;
  font-weight: bold;
}

/* Login box */
.login-box {
  margin-top: 1.5rem;
}

.login-box input[type="email"] {
  width: 100% !important;
  padding: 10px;
  margin-bottom: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.login-box button {
  width: 95%;
  padding: 10px;
  background-color: #fbc834;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
}

.login-box button:hover {
  background-color: #e0b729;
}


/* body {
    font-family: Arial, sans-serif;
    margin:0;
    padding:0;
    background-color:#fff;
    color:#000;
} */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #fbc834;
    max-width: 100%;
    flex-wrap: wrap; /* ensure responsiveness */
}

.header .logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #000;
}

.header .user-menu {
    position: relative;
}

.header .user-dropdown {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px; /* increase touch area */
}

.header .user-name {
    font-weight: bold;
    color: #000;
    font-size: 1.5rem;
}

.header .caret {
    font-size: 1.5rem;
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.header .caret.open {
    transform: rotate(180deg);
}

.header .user-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-width: 140px;
    z-index: 1000;
}

.header .user-dropdown-menu.show {
    display: block;
}

.header .user-dropdown-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    color: #000;
    text-decoration: none;
}

.header .user-dropdown-menu a:hover {
    background: #ffe57c;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 600px) {
    .header {
        padding: 10px 20px;
    }

    .header .logo {
        font-size: 1.4rem;
    }

    .user-menu {
        display: none;
        width: 100%;
        padding: 10px 0;
    }

    .user-menu.show {
        display: block;
    }

    .user-menu .user-dropdown {
        justify-content: flex-start;
    }

    .header .user-name {
        font-size: 1.5rem !important;
    }

    .header .user-dropdown-menu a {
        padding: 14px;
        font-size: 1.5rem !important;
    }

    .menu-toggle {
        display: block;
    }
}


.otp-box {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 90%;
    margin: auto;
}

.otp-box h2 {
    color: #000;
    font-size: 1.5rem;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.otp-inputs input {
    width: 3rem;
    height: 3rem;
    font-size: 1.1rem;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.otp-inputs input:focus {
    outline: none;
    border-color: #fbc834;
}

.otp-box button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background: #fbc834;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.otp-box button:hover {
    background: #e0a800;
}

/* 🔽 Optional: Media query for very small screens */
@media (max-width: 400px) {
    .otp-inputs input {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .otp-box {
        padding: 1.2rem;
        max-width: 200px;
    }
}

.logo-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.sltda-logo {
    max-width: 150px;
    height: auto;
}

@media (max-width: 600px) {
    .sltda-logo {
        max-width: 85px;
    }
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

/* General Styles */
.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height:100vh;
  background-color: #f9fafb;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 40px 20px;
}

/* Main Heading */
.page-heading {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
}

/* Info Box */
.appointment-box {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  max-width: 100%;
  background: #fff;
}

/* Text Styles */
.appointment-box .main-text {
  font-size: 1rem;
  font-weight: 500;
  color: #555;
  margin: 10px 0;
}
.appointment-box .main-text strong {
  font-weight: bold;
}
.appointment-box .highlight {
  color: #000000;
}

/* Button Styles */
.login-button {
  margin-top: 25px;
  padding: 14px 35px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #ffc107;
  border: none;
  color: #333;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.login-button:hover {
  background-color: #e0a800;
}

/* Responsive Styles for Larger Screens */
@media (min-width: 768px) {
  .page-wrapper {
    justify-content: flex-start;
    padding: 60px;
  }
  .page-heading {
    font-size: 2.0rem;
  }
  .appointment-box {
    max-width: 800px;
    padding: 40px;
  }
  .appointment-box .main-text {
    font-size: 1.25rem;
    max-width: 100%;
    margin: 0 auto;
  }
}

.form-group {
  margin-bottom: 15px;
}

input[type="email"],
input[type="text"]#contact_no {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
  display: block;
  transition: border-color 0.3s ease;
}

input[type="text"]#contact_no:focus,
input[type="email"]:focus {
  border-color: #fbc834;
  outline: none;
  box-shadow: 0 0 5px rgba(251, 200, 52, 0.4);
}


/* ---------------admin dashboard------------ */

.content {
    padding: 20px;
}
.controls {
    text-align: center;
    margin-bottom: 20px;
}
.controls button {
    padding: 8px 16px;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
    background: #000;
    color: #fbc834;
    cursor: pointer;
}
.controls button:hover {
    background: #333;
}
.controls span {
    font-size: 1.25rem;
    font-weight: bold;
}
.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid #ccc;
}
.day-header {
    font-weight: bold;
    text-align: center;
    padding: 10px;
    background: #f9f9f9;
}
.day-cell {
    min-height: 80px;
    padding: 8px;
    text-align: left;
    border: 1px solid #eee;
    position: relative;
}
.day-cell:hover {
    background-color: #fafafa;
}
.has-bookings {
    background-color: #ffeaa7;
}
.today {
    outline: 2px solid #fbc834;
}
#selected-date {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 20px 0 10px;
}
#searchInput {
    margin:10px 0;
    padding:5px;
    font-size:1rem;
}
#bookingsTable {
    margin-top: 20px;
    border-collapse: collapse;
    width: 100%;
}
#bookingsTable th, #bookingsTable td {
    padding: 10px;
    border: 1px solid #ccc;
}
#bookingsTable th {
    background: #f9f9f9;
}
.export-buttons {
    margin: 10px 0;
}
.export-buttons button {
    padding: 5px 15px;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
    background: #000;
    color: #fbc834;
    cursor: pointer;
}
.export-buttons button:hover {
    background: #333;
}
.pagination {
    margin: 10px 0;
}
.pagination button {
    padding: 5px 10px;
    margin: 0 3px;
    font-size: 0.9rem;
}
@media (max-width: 600px) {
    .calendar {
        grid-template-columns: repeat(3, 1fr);
    }
}
.entity-name {
    color: #fbc834;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: auto;
}

@media (max-width: 768px) {
  #calendar {
    max-width: 100%;
    font-size: 14px;
    padding: 0 10px;
  }

  .fc .fc-toolbar-title {
    font-size: 1rem;
    text-align: center;
  }

  .fc .fc-button {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .fc .fc-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .fc .fc-toolbar {
    flex-direction: column;
    align-items: center;
  }

  .fc-daygrid-day-number {
    font-size: 0.8rem;
    padding: 2px;
  }

  .fc-event {
    font-size: 0.75rem;
    padding: 2px;
  }
}

html, body {
  margin: 0;
  padding: 0;
}

/* Main wrapper for your content */
.page-wrapper {
  min-height: 100vh;
  box-sizing: border-box;
  padding-bottom: 70px; /* space for fixed footer */
}

/* Fixed footer at bottom */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f5e3ad;
  color: #333;
  text-align: center;
  padding: 10px 15px;
  font-size: 14px;
  border-top: 1px solid #ddd;
  z-index: 1000;
  box-sizing: border-box;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .site-footer {
    font-size: 16px;
    padding: 8px 10px;
  }

  .site-footer p {
    line-height: 1.4;
    margin: 0;
  }
}

/* Stretch page height to full viewport */
/* html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-area {
  flex: 1;
}

.site-footer {
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f5e3ad;
  color: #333;
  text-align: center;
  padding: 10px 15px;
  font-size: 14px;
  border-top: 1px solid #ddd;
  z-index: 1000;
  box-sizing: border-box;
  margin-top: 40px;
}

@media (max-width: 480px) {
  .site-footer {
    font-size: 12px;
    padding: 10px;
  }
} */
