@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* admin_upper_nav */
@media (min-width: 1600px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 90vw;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
/* Update Admin navbar */
.sub_menu {
  list-style: none;
}
.menu .sub_menu a.active,
.menu a.active {
  /* background-color: #e8f0fe; */
  font-weight: bold;
  color: #2b2b2b;
}

.dropdown_nav > a > .fa-caret-down {
  position: absolute;
  top: 15px;
  right: 5px;
  margin: 0px 0px 0px 5px;
}
.navbar_nav {
  display: flex;
  /* flex-direction: column; */
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.dropdown_nav {
  position: relative;
}
.drop_down {
  display: flex;
  justify-content: space-between;
  /* border-bottom: 1px solid #444; */
  border-radius: 10px;
  color: #000;
}

.drop_down > a:first-child {
  font-size: 14px;
  text-decoration: none;
  display: block;
  width: 90%;
  border-bottom: 0px !important;
  border-radius: 0px !important;
  padding-right: 0px !important;
  line-height: 45px;
}
.drop_down > a:last-child {
  width: 10%;
  padding: 4px 0px !important;
  padding-right: 13px !important ;
  border-bottom: 0px !important;
  border-radius: 0px !important;
}
.drop_down > a:last-child:hover {
  background: #fff !important;
  color: #000 !important;
  transition: 0.3s;
}
.drop_down > a:last-child:hover > i {
  transition: 0.3s;
  transform: rotate(90deg);
}
.item a {
  position: relative;
}
a > .fa-caret-down {
  position: absolute;
  right: 0;
  top: 15px;
}
body {
  background-color: #f8f9fa;
  padding-top: 56px;
  /* height of fixed navbar */
  overflow-x: hidden;
}

/* SIDEBAR */
.side-bar {
  position: fixed;
  top: 0;
  left: -100%;
  /* width: 16%; */
  height: 100%;
  background: #fff;
  /* padding-top: 10px; */
  overflow-y: auto;
  transition: 0.4s ease;

  z-index: 3;
}
.side-bar::-webkit-scrollbar {
  display: none;
}

.side-bar.active {
  left: 0;
}

.side-bar .menu .item a {
  color: #000;
  font-size: 14px;
  text-decoration: none;
  display: block;
  padding: 4px 13px;
  line-height: 45px;
  /* border-bottom: 1px solid #444; */
  border-radius: 10px;
}

.side-bar .menu .item a i {
  margin-right: 10px;
  font-size: 20px;
}

.side-bar .menu .item a:hover {
  background: #5193ea;
  color: white;
}

/* CLOSE BUTTON */
.close-btn {
  /* position: absolute;
  top: 10px;
  right: 20px; */
  color: #000;
  font-size: 28px;
  cursor: pointer;
}

/* MENU BUTTON */
.menu-btn {
  padding-left: calc(30px - 0.5rem);

  font-size: 28px;
  cursor: pointer;
  z-index: 2;
  color: #000;
  display: flex;
  align-items: center;
  background: #fff;
  gap: 20px;
  visibility: visible;
}

/* Hide menu-btn when sidebar is active */
.side-bar.active ~ .menu-btn {
  visibility: hidden;
}
.side-bar .menu a.active {
  font-weight: bold;
  color: #007bff;
  background-color: #eaf1ff;
  border-left: 3px solid #007bff;
}
.side-bar .dropdown_nav > a.active {
  background-color: #f0f8ff;
}
/* COMPANY LOGO */
.company {
  display: flex;
  align-items: center;
  position: relative;
  /* height: 69px; */
  font-size: 28px;
  gap: 20px;
  padding-top: 0.5rem;
  padding-left: 30px;
}
menu {
  padding-top: 10px;
}

/* MAIN CONTENT */
.main-content {
  margin-top: 100px;
  transition: margin-left 0.4s ease;
  margin-left: 0;
}

.main-content.shift {
  margin-left: 18%;
  margin-right: 10px;
}

/* CARD */
.card {
  margin-top: 40px;
  margin-left: 10px;
  background: #5193ea;
  color: white;
  padding: 50px 10px;
  border-radius: 10px;
  text-align: center;
}
.card-container a {
  text-decoration: none;
}

.card:hover {
  background: #1b5bae;
}

.card i {
  font-size: 25px;
}

.card p {
  font-size: 16px;
  margin-top: 10px;
}

/* Top navbar */
.navbar {
  position: fixed;
  position-area: top left;
  background: #fff;
}
.admin_nav {
  color: #ba0202;
  margin-right: 15px;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 500;
}
.nav-item {
  font-size: 20px;
}

.nav-item > a > i {
  font-size: 20px;
  margin-right: 10px;
}

.nav-item > a {
  color: black;
}

.nav-item > .logout {
  color: red;
  font-size: 20px;
}

.nav-item > .logout > i {
  margin-right: 5px;
}
.nav-link {
  position: relative;
}
.notification {
  text-align: center;
  color: #fff;
  position: absolute;
  top: 5px;
  font-size: 15px;
  right: 10px;
  width: 17px;
  border-radius: 50%;
  background: red;
  height: 17px;
}
/* form.html */

.title-container {
  background: #fff;
  display: flex;
  justify-content: space-between;
  border: 1px solid #878585;
  border-bottom: 1px solid transparent;
  padding: 10px 20px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.title,
.title-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.title {
  font-size: 18px;
  font-weight: 700;

  text-transform: uppercase;
}

.title > i {
  padding-bottom: 15px;
  padding-right: 10px;
}

.title-btn > button {
  padding: 10px 20px;
  margin-left: 10px;
}

.title-btn > button > i {
  margin-right: 10px;
}

.title-btn > button:first-child {
  border: 1px solid #1b5bae;
  color: #1b5bae;
  font-weight: bold;
  border-radius: 20px;
}

.title-btn > button:last-child {
  border: 1px solid red;
  color: red;
  font-weight: bold;
  border-radius: 10px;
}
.title-btn > button > a {
  text-decoration: none;
}

/* Centering the form horizontally */
.form-wrapper {
  display: flex;
  justify-content: center;
  padding-top: 50px;
  background: #fff;
  flex-wrap: wrap;
  border: 1px solid #878585;
  border-top: 1px solid transparent;
  padding: 10px 20px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  /* Optional: for vertical spacing */
}
.form-tables {
  /* display: flex;
  justify-content: center; */
  padding-top: 50px;
  flex-wrap: wrap;
  border: 1px solid #878585;
  border-top: 1px solid transparent;
  padding: 10px 20px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  /* Optional: for vertical spacing */
}
.table-responsive {
  font-size: 14px;
}
/* No card styling, just plain form */
.form {
  width: 100%;
  /* or use max-width: 100% for responsiveness */
}

/* Label & input in one line */
.input_box {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

/* Label aligned left */
.input_box label {
  width: 200px;
  font-weight: bold;
  margin-right: 10px;
}

/* Input fields take rest of the space */
.input_box input,
.input_box textarea {
  flex: 1;
  padding: 6px;
  font-size: 14px;
}

/* Hint text below input */
.input_box .hint {
  width: 100%;
  margin-left: 210px;
  font-size: 12px;
  color: #666;
}

.input_box input {
  width: 30vw;
  border: 1px solid #878585;
}

/* Single_Student_Registration_form.html */
body {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

section {
  padding: 20px;
}

/* .container {
        width: 90%;
        max-width: 800px;
        margin: 20px auto;
        background-color: #ffffff;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      } */

/* 
    .sub-header {
      text-align: center;
      font-size: 18px;
      margin-top: 5px;
      color: #d32f2f;
      font-weight: bold;
    } */

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px;
  border-radius: 25px;

  border: 1px solid #185a9d;
}
.form-table > td > .form-group input,
.form-table > td > .form-group select,
.form-table > td > .form-group textarea {
  width: auto !important;
  padding: 8px;
  border: 1px solid #185a9d;
}

/* Responsive Table */
.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

table,
th,
td {
  border: 1px solid #333;
  text-align: center;
}

th {
  background-color: #1b5bae !important;
  color: white;
  /* padding: 8px; */
}

.registration_table td {
  padding: 8px;
  background-color: #fff8e1;
}
.registration_table th {
  padding: 8px;
}

.declaration {
  margin-top: 20px;
  font-size: 14px;
  background-color: #ffeb3b;
  padding: 10px;
  border-radius: 5px;
}

.footer {
  margin-top: 20px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer span {
  display: inline-block;
  font-weight: bold;
  text-align: center;
  flex: 1;
  padding: 5px;
}

/* Responsive Design */
@media (max-width: 600px) {
  .footer {
    flex-direction: column;
  }

  .footer span {
    width: 100%;
    margin-bottom: 10px;
  }

  th,
  td {
    font-size: 12px;
    padding: 5px;
  }
}

.btn {
  box-shadow: 0 0 0 0 !important;
  margin-bottom: 5px;
  /* width: 70px; */
  border-radius: 25px !important;
  font-size: 15px !important;
  background: #1b5bae !important;
  color: #fff !important;
}
.btn-transactions {
  box-shadow: 0 0 0 0 !important;
  margin-bottom: 5px;
  /* width: 110px; */
  text-decoration: none;
  font-size: 15px !important;
  background: #1b5bae !important;
  color: #fff !important;
}

.btn-normal {
  box-shadow: 0 0 0 0 !important;
  border-radius: 25px !important;
  /* margin-bottom: 50px; */
  /* width: 200px; */
  border: 1px solid transparent !important;
  padding: 10px 20px;
  margin-right: 10px;
  /* font-size: 20px !important; */
  background: #1b5bae !important;
  color: #fff !important;
}

.btn-danger {
  margin-top: 10px;
  box-shadow: 0 0 0 0 !important;
  /* margin-bottom: 50px; */
  /* width: 250px; */
  padding: 10px 20px;
  border: 1px solid transparent !important;

  background: red !important;
  color: #fff !important;
}

input[type="checkbox"] {
  width: 25px;
  /* Set width */
  height: 25px;
  /* Set height */
}

/* multi-student-registration-form----------------- */
table th,
table td {
  vertical-align: middle;
  text-align: center;
  /* min-width: 150px; */
  border: 1px solid black;
}

table th {
  border: 1px solid #fff;
}

table td {
  border: 2px solid #fff;
}

th.group-header {
  background-color: #1b5bae;
  font-weight: bold;
  text-align: center;
}

.form-control,
.form-select {
  min-width: 130px;
}

/* Student_upload_excel */
.file_input {
  border: 1px solid black !important;
}

.input_table {
  /* display: flex;
  align-items: center; */
  margin-bottom: 15px;
  /* flex-wrap: wrap; */
}

.input_table > input,
select {
  /* border: 1px solid black; */
  border: 1px solid #878585;
}

.btn-regular {
  padding: 10px 20px;
  margin-left: 10px;
  color: #fff !important;
  background: #1b5bae;
  border: 1px solid #1b5bae;
  color: #1b5bae;
  font-weight: bold;
  border-radius: 20px;
}

.btn-delete {
  padding: 10px 20px;
  text-align: center;
  margin-left: 10px;
  color: #fff !important;
  background: #1b5bae;
  border: 1px solid #1b5bae;
  color: #1b5bae;
  font-weight: bold;
}

.btn-regular > i {
  margin-right: 10px;
}

/* admin_student_management */

.student-management-container {
  display: flex;
  justify-content: space-between;
  /* border: 1px solid #878585;
  border-bottom: 1px solid transparent; */
  padding: 10px 20px;
  /* border-top-left-radius: 10px;
  border-top-right-radius: 10px; */
}

/* Admin_add_course_form */
.addSpecial {
  width: 30%;
}

/* student_scholarship_update_form */
.heading > p {
  font-size: 20px;
}

.set-container input {
  margin-top: 10px;
}

.set-container input {
  margin-top: 10px;
}

.set-container button {
  margin-top: 20px;
}

.btn-select {
  /* margin-left: 10px; */
  /* width: 150px; */
  padding: 10px 20px;
  color: #fff !important;
  background: #1b5bae;
  border: 1px solid #1b5bae;
  color: #1b5bae;
  /* font-weight: bold; */
  /* border-radius: 20px; */
}

.btn-select1 {
  margin-left: 10px;
  border-radius: 25px;
  /* width: 280px; */
  padding: 10px 20px;
  color: #fff !important;
  background: #1b5bae;
  border: 1px solid #1b5bae;
  color: #1b5bae;
  /* font-weight: bold; */
  /* border-radius: 20px; */
}
.btn-select1 > a {
  text-decoration: none;
}

/* admin_show_student_pending */
.btn-download:hover {
  border: 1px solid green;
  color: green;
  background: transparent;
  transition: all 0.3s;
}

.btn-download {
  border: 1px solid green;
  background: green;
  color: #fff;
  font-size: 13px;
  padding: 10px 5px;
  /* width: 100%; */
  font-weight: bold;
}

.transaction-container {
  width: 100%;
}

/* admin_show_balance_sheet */

.card-table {
  border: 1px solid transparent;
  position: relative;
  margin-top: 40px;
  margin-left: 10px;
  width: 100%;
  /* height: 100%; */
  background: #090979;
  background: linear-gradient(
    90deg,
    rgba(9, 9, 121, 1) 39%,
    rgba(0, 0, 255, 1) 100%
  );
  color: white;
  padding: 50px 10px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
}
.total-table {
  height: 100% !important;
}

.card-table .title_table {
  position: absolute;
  font-size: 18px;
  font-weight: bold;
  top: 10px;
  /* left: 20px; */
}
.card-table .amount_table {
  position: absolute;
  font-size: 17px;
  font-weight: bold;
  bottom: 10px;
  left: 10px;
  /* left: 20px; */
}

.card-table .output_table {
  position: absolute;
  font-size: 17px;
  bottom: 10px;
  right: 5px;
}

/* Testing css */

.tab-button {
  border: none;
  background: none;
  font-weight: 600;
  padding: 10px 10px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.tab-button.active {
  border-color: #6f42c1;
  color: #6f42c1;
}

.form-section {
  margin-top: 20px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
}

.form-control,
.form-select {
  font-size: 14px;
}

.form-label {
  font-weight: 500;
}

.btn-purple {
  background-color: #6f42c1;
  color: white;
}

.btn-purple:hover {
  background-color: #59359d;
}
.btn_edit {
  border: 1px solid transparent;
}
.btn_hide {
  border: 1px solid transparent;
  position: absolute;
  top: 0;
  right: 0;
  margin-top: 5px;
  margin-right: 5px;
  background: transparent;
}
/* Single_employee_registration_form */
.tab-content-section {
  display: none;
}

.tab-content-section.active {
  display: block;
}

/* Student Profile */
.profile_btn {
  font-size: 14px;
}
/* employee_student-attendance.html */
.attendance_row > input {
  transform: scale(1.5);
  margin: 0px 8px;
}
.no-data-box {
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

/* employee dashboard */
/* Highlight active links */
.notification-dot {
  position: absolute;
  top: 4px;
  right: 18px;
  height: 15px;
  width: 15px;
  font-size: 13px;
  color: #fff;
  text-align: center;
  background-color: red;
  border-radius: 50%;
}

/* ================================================================= */
/* Toast  */

.toast-container-center {
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
}

.fancy-toast {
  min-width: 320px;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.85);
  border-left: 6px solid;
  border-radius: 1rem;
  padding: 1rem 1rem 1rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  font-weight: 500;
  animation:
    toastSlideIn 0.6s ease,
    toastFadeOut 0.7s ease 6s forwards;
  transition: all 0.4s ease-in-out;
}

.alert-success {
  border-color: #28a745;
}
.alert-danger {
  border-color: #dc3545;
}
.alert-warning {
  border-color: #ffc107;
}
.alert-info {
  border-color: #17a2b8;
}

@keyframes toastSlideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes toastFadeOut {
  to {
    opacity: 0;
    transform: translateY(-50%);
    pointer-events: none;
  }
}
.modal-body {
  max-height: 70vh;
  overflow-y: auto;
}
/* ================================================================= */
/* Required field ke label par red star */
.form-label:has(+ .form-group input[required])::after,
.form-label:has(+ .form-group select[required])::after,
.form-label:has(+ .form-group textarea[required])::after {
  content: " *";
  color: #dc3545;
  font-weight: bold;
}

/* Input normal style */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #ced4da;
  border-radius: 8px;
  outline: none;
  transition: 0.3s ease;
}

/* Focus */
/* .form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
} */

label:has(+ input[required])::after,
label:has(+ textarea[required])::after,
label:has(+ select[required])::after {
  content: " *";
  color: #dc3545;
  font-weight: bold;
}
