@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");

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --color-main: #5a0000;
  --color-sub: #650008;
  --color-body: #f2f2f2;
  --font-heading1: #ffffff;
  --font-heading2: #8e8e8e;
  --font-heading3: #650008;
  --font-family1: "Poppins", sans-serif;
  --font-family2: "Inter", sans-serif;
  --font-family3: "Montserrat", sans-serif;
}

/* remove the arrow key on the side of the input box with the type of number */
/* Hide the up and down arrows for number inputs */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
  -webkit-appearance: none; /* Chrome, Safari, and Edge */
  appearance: none; /* Standard */
}

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* LOGIN SCREEN CSS */
.loginbg {
  z-index: -1;
  position: absolute;
  object-fit: cover;
  height: 100%;
  width: 100%;
  opacity: 0.7;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%); /* Adjust for center alignment */
}

.black-film {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Black film with 0.7 opacity */
  z-index: 0;
}

.btn-custom-danger {
  background-color: white;
  border-color: #650008;
  color: 808080; /* optional: to change the text/icon color */
}

.btn-custom-danger:hover {
  background-color: #650008;
  border-color: #650008;
  color: white; /* optional: to change the text/icon color */
}
.login-frame h1,
.login-frame label,
.login-frame h2 {
  color: black;
}

.login-frame h3 {
  color: var(--font-heading3);
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 10px;
  font-family: var(--font-family1);
}

.login-frame input {
  border-radius: 5px;
  width: 99%;
  padding: 15px;
  margin: 10px 0;
  border: 1px solid #808080; /* Border color */
}
.login-frame #togglePassword {
  margin: 10px 0;
  border: 1px solid #808080;
  border-radius: 0 4px 4px 0;
}

.login-frame #togglePassword {
  margin: 10px 0;
  border-width: 1px 1px 1px 0; /* top, right, bottom, left */
  border-style: solid;
}

.login-frame input:focus {
  outline: 1px solid #000000; /* Border color */
}

.login-frame input[type="submit"] {
  background-color: var(--font-heading3);
  color: white;
  font-size: 16px;
  font-weight: bold;
}

.login-frame input[type="submit"]:hover {
  background-color: var(--font-heading3);
  opacity: 0.9;
}

.login-frame input::placeholder {
  color: #808080; /* Placeholder text color */
  font-family: var(--font-family1);
}

.login-frame {
  background-color: rgba(255, 255, 255, 0.675);
  margin: 5px;
  padding: 25px;
  border-radius: 10px;
  z-index: 2;
  position: relative; /* Ensure stacking context */
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 1); /* Subtle shadow */
}

.login-frame a {
  text-decoration: none;
  color: var(--color-main);
  font-family: var(--font-family1);
  font-weight: 500;
  font-size: 13px;
}

.login-frame a:hover {
  text-decoration: underline;
}

.logoswu {
  height: 60%;
  width: auto;
  min-width: 150px;
}

.login {
  z-index: 3;
  padding-top: 10vh;
  position: relative; /* Ensure stacking context */
}

.loginpage span {
  position: absolute;
  width: 100%;
  padding: 0 12px;
  margin-bottom: 10px;
  bottom: 0;
  color: white;
  font-size: 12px;
  font-weight: light;
  font-family: var(--font-family1);
}

body {
  opacity: 1;
  overflow-y: scroll;
  margin: 0;
  font-family: "Open sans", sans-serif;
}

a {
  cursor: pointer;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}

li {
  list-style: none;
}

h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.275rem;
  color: var(--bs-emphasis-color);
}

/* ADMIN DASHBOARD RESPONSIVE WRAPPER*/

.wrapper {
  align-items: stretch;
  display: flex;
  width: 100%;
}

#sidebar {
  max-width: 264px;
  min-width: 264px;
  background: var(--color-sub);
  transition: all 0.35s ease-in-out;
  position: sticky;
  top: 0;
  height: 100vh; /* Set height to viewport height */
  overflow-y: auto; /* Enable vertical scrolling */
}

.main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
  transition: all 0.35s ease-in-out;
  width: 100%;
  background: var(--color-body);
  color: #000000;
}

/* SIDEBAR CSS */

.content {
  max-width: auto !important;
  width: auto !important;
}

.sidebar-logo {
  padding: 1rem 1.15rem 0.7rem 1.15rem;
}

.sidebar-logo a {
  color: #e9ecef;
  font-size: 1.15rem;
  font-weight: 600;
}

.sidebar-nav {
  flex-grow: 1;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
  margin-left: 0;
}

.sidebar-header {
  color: #e9ecef;
  font-size: 0.75rem;
  padding: 1.5rem 1.5rem 0.375rem;
}

a.sidebar-link {
  padding: 0.5rem 0.825rem 0.5rem 2.325rem;
  color: #e9ecef;
  position: relative;
  display: block !important;
  font-size: 0.775rem;
}

a.sidebar-link:hover {
  color: rgb(168, 163, 163);
}

#options-dropdown {
  position: absolute; /* Allows positioning relative to the closest positioned ancestor */
  background-color: white; /* Background color */
  border: 1px solid #ccc; /* Border style */
  z-index: 1000; /* Ensures it appears above other content */
  padding: 10px; /* Padding for better aesthetics */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow for a 3D effect */
}

a.sidebar-link.sidebar-link-child {
  font-size: 0.675rem;
  padding: 0.4rem 0rem 0.4rem 5.15rem;
}

.sidebar-item i {
  padding-top: 2px;
  margin-bottom: -3px;
  width: 20px;
}

.icon-svg {
  width: 16px; /* Adjust as needed */
  height: 16px; /* Adjust as needed */
  margin-bottom: 2.5px;
  fill: white; /* Change color to white */
}

.icon-svg-banner {
  width: 16px; /* Adjust as needed */
  height: 16px; /* Adjust as needed */
  margin-bottom: 2.5px;
  fill: initial;
  color: inherit;
}

.sidebar-link[data-bs-toggle="collapse"]::after {
  border: solid;
  border-width: 0 0.075rem 0.075rem 0;
  content: "";
  display: inline-block;
  padding: 2px;
  margin-top: -4px;
  position: absolute;
  right: 1.5rem;
  top: 1.4rem;
  transform: rotate(-135deg);
  transition: all 0.2s ease-out;
}

.sidebar-link[data-bs-toggle="collapse"][aria-expanded="true"]::after {
  transform: rotate(45deg);
}

#sidebar .sidebar-item .active,
#sidebar .sidebar-link .active {
  background: rgba(224, 150, 150, 0.4);
  background: linear-gradient(
    90deg,
    rgba(224, 150, 150, 0.4) 0%,
    rgba(122, 82, 82, 0.4) 100%
  );
}

.navbar-expand .navbar-nav {
  margin-left: auto;
}

.active-nav {
  border: solid;
  border-width: 0 0.075rem 0.075rem 0;
  content: "";
  display: inline-block;
  padding: 2px;
  margin-top: -4px;
  position: absolute;
  right: 1.5rem;
  top: 1.4rem;
  background-color: blue;
}

.la-user-circle {
  font-size: 40px;
}

nav {
  background-color: var(--color-sub);
}

.navbar span {
  color: white;
  font-size: 12px;
  font-weight: regular;
}

.navbar a {
  color: white;
}

.navbar a:hover {
  color: rgb(226, 224, 224);
}

/* Set the border color */

.custom-toggler .navbar-toggler-icon {
  border-color: white;
}

.custom-toggler .navbar-toggler-icon:active {
  border-color: white;
}
/* Setting the stroke to green using rgb values (0, 128, 0) */

.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='4' stroke-linecap='round' stroke-miterlimit='10' d='M6 10h28M6 20h28M6 30h28'/%3E%3C/svg%3E");
}

.custom-toggler .navbar-toggler-icon:active {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='4' stroke-linecap='round' stroke-miterlimit='10' d='M6 10h28M6 20h28M6 30h28'/%3E%3C/svg%3E");
}

.content {
  flex: 1;
  max-width: 100vw;
  width: 100vw;
}

.sidebar-background {
  background-color: var(--color-sub);
}

.card {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  margin-bottom: 20px;
}

.dashboard-card h1,
.dashboard-icons p {
  font-family: "Montserrat";
}

.dashboard-card span {
  color: var(--font-heading2);
  font-size: 12px;
  padding-left: -5px;
}

.dashboard-dropdown h6 {
  color: var(--font-heading2);
  font-size: 12px;
}

.button-label {
  color: var(--font-heading2);
  font-size: 12px;
}

.dashboard-icons i {
  display: block;
  font-size: 12px;
}

.dashboard-icons .user-card,
.dashboard-icons .user-card1,
.dashboard-icons .user-card2 {
  width: 120px;
}

.dashboard-icons .user-card3 {
  max-width: 200px;
}

.dashboard-icons .user-card:nth-child(1) {
  background-color: #d2d2d2;
  padding: 5px 10px;
  color: #650008;
  border-radius: 5px 0 0 5px;
}

.dashboard-icons .user-card:nth-child(2) {
  background-color: #d3ebe5;
  padding: 5px 10px;
  color: #006550;
  border-radius: 0 5px 5px 0;
}

.dashboard-icons .user-card1:nth-child(1) {
  background-color: #dee6f2;
  padding: 5px 10px;
  color: #133353;
  border-radius: 5px 0 0 5px;
}

.dashboard-icons .user-card1:nth-child(2) {
  background-color: #f3e4f5;
  padding: 5px 10px;
  color: #755882;
  border-radius: 0 5px 5px 0;
}

.dashboard-icons .user-card2:nth-child(1) {
  background-color: #b9ffd1;
  padding: 5px 10px;
  color: #124a0d;
  border-radius: 5px;
}

.dashboard-icons .user-card3:nth-child(1) {
  background-color: rgba(52, 152, 219, 0.1);
  padding: 5px 10px;
  color: #1981c6;
  border-radius: 5px;
}

.dashboard-icons p {
  font-size: 12px;
}

.dashboard-card h1,
.dashboard-card p {
  margin: 0;
}

/* Sidebar Toggle */

#sidebar.collapsed {
  margin-left: -264px;
}

/* Footer and Nav */

@media (max-width: 767.98px) {
  .js-sidebar {
    margin-left: -264px;
  }

  #sidebar.collapsed {
    margin-left: 0;
  }

  .navbar,
  footer {
    width: 100vw;
  }
}

table td {
  font-size: 13px !important;
  font-family: "Open Sans", sans-serif;
}

/* DATA TABLES CSS */
table td,
table th {
  text-align: left !important;
}

/* .dt-scroll-headInner, .table{
  width: auto !important;     
} */

/* full calendar styling */
.fc-scroller {
  overflow: hidden;
}

.table-wrapper {
  overflow-x: auto;
}

.table {
  min-width: 100%; /* Ensures the table takes up the full width */
}

.dt-scroll-headInner {
  min-width: 100%; /* Ensures the table head takes up the full width */
}

/* ERROR HANDLING */

.error_handling main {
  height: 100vh;
  background-image: linear-gradient(
      rgba(22, 20, 21, 0.47),
      rgba(22, 20, 21, 0.4) 5%
    ),
    url("../Resources/swubg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
  filter: sepia(20%) saturate(150%);
}

.error_handling .col-5 {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
}

.error_handling .container {
  padding-top: 30vh;
}

.alert {
  position: absolute;
  display: block;
  right: 10;
  z-index: 99;
}

/* Style the search input */
.dataTables_filter input {
  background-color: #f8f9fa; /* Light gray background */
  border: 1px solid #6c757d; /* Gray border */
  border-radius: 0.25rem; /* Rounded corners */
  color: #6c757d; /* Secondary text color */
  padding: 0.375rem 0.75rem;
}

/* Style the pagination buttons */
.dataTables_paginate .paginate_button {
  background-color: #f8f9fa; /* Light gray background */
  border: 1px solid #6c757d; /* Gray border */
  color: #6c757d; /* Secondary text color */
  margin: 0 0.25rem;
  border-radius: 0.25rem;
  padding: 0.375rem 0.75rem;
  cursor: pointer;
}

/* Hover and active state for pagination buttons */
.dataTables_paginate .paginate_button:hover {
  background-color: #e2e6ea;
  border-color: #5a6268;
  color: #5a6268;
}

.dataTables_paginate .paginate_button.current {
  background-color: #6c757d;
  color: #fff;
}

/* Extra Small devices (small phones, 576px and below) */
@media (max-width: 575.98px) {
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}
