*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Lato", sans-serif;
  background-color: #f5f5f5;
  min-height: 100vh !important;
  overflow-x: auto;
}

.header {
  display: flex;
  align-items: center;

  /* justify-content: space-between; */
  /* Push logo to left and text to right */
  padding: 4px 5px;
  color: white;
  background-color: #920000 !important;
}
.empty-field {
  border: 2px solid red;
  background-color: #ffe6e6;
}

.logo {
  width: 100px;
  height: 75px;
  margin-right: 20px;
}

.header-text {
  text-align: center;
  justify-content: flex-end;
}

.header-text h1 {
  font-size: 1.5rem;
}

.header-text h2 {
  font-size: 1rem;
  color: #333;
}

.header-text p {
  font-size: 0.8rem;
  color: #666;
}
.pagedescription {
  background-color: #1f4e79;
  color: #fff !important;
  padding: 5px;
}
.containerr {
  background-image: url("../images/background.jpg");
  background-color: #0056b3;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.menubarHeading{
 font-weight:900;
}
.login-box {
  width: 90%;

  max-width: 400px;

  padding: 20px;
  margin: 20px;

  background-color: rgba(255, 255, 255, 0.9);

  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  z-index: 1;
}

input#showpassword {
  width: auto;
  margin: 8px;
}
.input-field {
  margin-bottom: 15px;
}

.input-field label {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
}

.input-field input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  /* position: relative; */
}
.AreaCodeSelect {
  margin-top: 50px;
}
.buttons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.pageHeading {
  background-color: #1f4e79;
}
.pageName {
  text-align: center;
  color: #fff;
  font-size: 20px;
  padding: 10px;
}
.editButton {
  width: 50%;
  padding: 5px;
  background-color: #1f4e79;
  border: none;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}
.scrollSelect {
  max-height: 150px;
  overflow-y: scroll;
}
.btn {
  width: 100%;
  padding: 10px;
  background-color: #1f4e79;
  border: none;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  margin: 5px 0;
}

.btn:hover {
  background-color: #3989d4;
  color: white;
}

.forgot-password {
  display: block;
  text-align: center;
  color: #007bff;
  text-decoration: none;
}

.formSection {
  font-size: 20px;
  color: white;
  background-color: #920000;
  padding: 5px 10px ;
  margin-bottom: inherit;
}
.forgot-password:hover {
  text-decoration: underline;
}
.pageSection {
  background-color: darkgray;
  margin-bottom: 10px;
  border-radius: 5px;
}

.password-toggle-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
}

.password-toggle-icon i {
  font-size: 18px;
  line-height: 1;
  color: #333;
  transition: color 0.3s ease-in-out;
  margin-bottom: 20px;
}

.password-toggle-icon i:hover {
  color: #000;
}
.pageSectionHeading {
  padding: 5px;
  margin: 5px;
}
.footer {
  height: 170px;
  background-color: #1f4e78 !important;
  text-align: center;
  color: #fff;

  padding: 10px;
  
}

/* Profile Section */
.profile-menu {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: auto; /* Pushes the profile to the right */
  margin-right: 10px;
}

.profile-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.dropdown {
  position: relative;
}

.dropbtn {
  background-color: #920000;
  color: white;
  padding: 10px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.required {
  color: red;
  font-weight: bold;
}
.accHead {
  background-color: #920000 !important;
  color: #fff !important;
}
.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}
.specialCareRow {
  display: flex;
  flex-wrap: wrap;
}
.formbackground {
  background-color: #ffffff; /* White background for form */
  padding: 20px;
  border-radius: 8px;
  margin: 10px auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for elevation */
}
.dropbtn:hover {
  background-color: #1f4e78;
  border: none;
  border-radius: 35px;
}

/* Style of the table in dashboard */

.dashboardtable {
  margin-top: 20px;
}
.dashboardTableRow {
  text-align: center;
}
.buttonOnDashboard {
  margin: 10px 0px 0px 0px !important;
  width: 200px;
}
.buttonOnsidebar {
  margin: 10px 0px 0px 0px !important;
  width: 250px;
}
.facultyRow {
  background-color: #ebebe8;
}
.sidebarBtn {
  padding: 10px;
  background-color: #1f4e79;
  border: none;
  color: #fff;
  border-radius: 50px;
  cursor: pointer;
  text-align: center;
  margin: 3px 8px;
  width: 45px;
}
.btn-close::before {
  color: #fff; /* Change this to your desired color */
}
.tableHead {
  background-color: #920000;
  color: #fff;
  text-align: center !important;
}
.maternalHealthANCTh{
  background-color: rgb(100, 100, 100) !important;
  color: #fff;
  text-align: center !important;
}
.thclass {
  text-align: center !important;
}

table.dataTable,
table.dataTable td,
table.dataTable th {
  border: 1px solid #dee2e6 !important; /* Force Bootstrap borders */
}

.tableData {
  height: 50px !important;
}

.offcanvas-start {
  top: 0;
  left: 0;
  width: 320px !important;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  transform: translateX(-100%);
}
.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  background-color: #920000 !important;
  color: #fff !important;
  height: 83px !important;
}
.offcanvas-body {
  flex-grow: 1;
  padding: 1rem 1rem;
  overflow-y: auto;
  background-color: #fff;
}
.material-symbols-outlined {
  font-size: 15px !important ;
}
.formLink {
  text-decoration: none;
  color: #fff;
}
.regno {
  display: none !important;
}
.regnum {
  margin-right: 5px !important;
}
.developmentSection{
  border-style: groove !important;
  border: #101111;
  border-radius: 15px;
  border-width: 3px;
  padding: 10px;
  background-color: lightgray;
  margin-bottom: 10px;
}
.geriatricSection{
  border-style: groove !important;
  border: #101111;
  border-radius: 15px;
  border-width: 3px;
  padding: 10px;
  background-color: lightgray;
  margin-bottom: 10px;
}
.excludedSection{
  border-style: groove !important;
  border: #101111;
  border-radius: 15px;
  border-width: 3px;
  padding: 10px;
  background-color: lightgray;
  margin-bottom: 10px;
}
#childSection{
  border-style: groove !important;
  border: #101111;
  border-radius: 15px;
  border-width: 3px;
  padding: 10px;
  background-color: lightgray;
  margin-bottom: 10px;
}
/* style for tab vital events */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #920000;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  color: white;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #1f4e79;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #1f4e79;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}
/* Styles for mobile devices with max-width of 425px */
@media (min-width: 100px) and (max-width: 449px) {
  .regno {
    display: block !important;
  }
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px;
    background-color: #e1e1e1;
  }
  .logo {
    width: 80px;
    height: 80px;
    margin-right: 5px;
  }

  .header-text {
    text-align: center;
    justify-content: flex-end;
    margin-right: 20px;
  }

  .header-text h1 {
    font-size: 20px;
  }

  .header-text h2 {
    font-size: 15px;
    color: #333;
  }

  .header-text p {
    font-size: 10px;
    color: #666;
  }

  .login-box,
  .signup-box {
    width: 90%;
    /* Make the box width 90% of the screen */
    max-width: none;
    /* Remove max-width for small screens */
    margin: 15px;
    /* Add margin for spacing */
    padding: 15px;
    /* Reduce padding for small screens */
  }

  .btn {
    width: 100%;
    /* Ensure buttons are full width */
  }
  .pagedescription {
    background-color: #1f4e79;
    color: #fff !important;
    padding: 5px;
    width: 109%;
  }

  #regnum {
    display: none;
  }
  .form-container {
    display: flex;
    flex-direction: row;
    gap: 0;
  }

  .form-group .row {
    width: 100%;
    margin-bottom: 15px !important;
    display: flex !important;
    flex-direction: row !important;
  }

  .button-container {
    justify-content: center;
    width: 100%;
  }

  .button-container button {
    padding: 10px 20px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  .formRow {
    display: flex;
    flex-direction: column;
  }

  .dropdown-content p {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
}
/* Make the table scrollable on small screens */
@media (max-width: 700px) {
  .table-scroll {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */
    width: 100%;
  }

  /* Optional: add a minimum width to prevent columns from shrinking too much */
  .table-scroll table {
    min-width: 600px; /* Adjust according to your content */
  }
}

@media (min-width: 450px) and (max-width: 699px) {
  /* Styles for screens between 700px and 900px */

  .login-box {
    width: 90%;
    max-width: 400px;
    padding: 20px;
    margin-left: 360px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1;
  }
  .forget-box {
    width: 90%;
    max-width: 400px;
    padding: 20px;
    margin: 20px;
    margin-left: 550px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1;
  }
}
@media (min-width: 700px) and (max-width: 900px) {
  /* Styles for screens between 700px and 900px */

  .containerr,
  .container-signup {
    position: relative;
    height: auto;
    width: 100%;
    /* Full screen height */
    background-image: url("../images/background.jpg");
    /* Ensure correct background image path */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: right;
    /* Center content horizontally */
    align-items: baseline;
    /* Center content vertically */
  }

  .login-box {
    width: 90%;
    /* Make the box width 90% of the screen */
    max-width: none;
    /* Remove max-width for small screens */
    margin: 10px;
    /* Add margin for spacing */
    padding: 15px;
    /* Reduce padding for small screens */
  }

  .forget-box {
    margin-left: 325px;
  }
  #table-scroll {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */
  }

  /* Optional: add a minimum width to prevent columns from shrinking too much */
  #table-scroll table {
    min-width: 600px; /* Adjust according to your content */
  }
}

@media (min-width: 901px) and (max-width: 1025px) {
  /* Styles for screens between 700px and 900px */

  .login-box {
    width: 90%;

    max-width: 400px;

    padding: 20px;
    margin-left: 600px;

    background-color: rgba(255, 255, 255, 0.9);

    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1;
  }
  .forget-box {
    width: 90%;
    max-width: 400px;
    padding: 20px;
    margin: 20px;
    margin-left: 550px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1;
  }
}

@media (min-width: 1026px) and (max-width: 1099px) {
  /* Styles for screens between 700px and 900px */

  .login-box {
    width: 90%;

    max-width: 400px;

    padding: 20px;
    margin-left: 600px;

    background-color: rgba(255, 255, 255, 0.9);

    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1;
  }
  .forget-box {
    width: 90%;
    max-width: 400px;
    padding: 20px;
    margin: 20px;
    margin-left: 550px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1;
  }
}
@media (min-width: 1100px) and (max-width: 1199px) {
  /* Styles for screens between 700px and 900px */

  .login-box {
    width: 90%;
    max-width: 400px;
    padding: 20px;
    margin-left: 650px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1;
  }
  .forget-box {
    width: 90%;
    max-width: 400px;
    padding: 20px;
    margin: 20px;
    margin-left: 550px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1;
  }
}

.form-container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ccc;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.form-container .row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.form-group label {
  margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-group input[type="date"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-group {
  flex: 1;
}

.button-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
  margin-top: 15px;
}

.button-container button {
  padding: 10px 20px;
  background-color: #1f4e79;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.button-container button:hover {
  background-color: #3989d4;
}

.full-width {
  display: flex;
  justify-content: space-between;
}
