/* Importing Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/*
#table-form {
  background-color: #fff;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
} */

label {
  display: block;
  margin-top: 1rem;
}

input, select, button {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  background-color: #ffe600;
  color: #fff;
  border: none;
  cursor: pointer;
  margin-top: 1rem;
}

button:hover {
  background-color: #ffe600;
}
/*
#table-display {
  background-color: #fff;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;

} */

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 0.1rem;
  border: 1px solid #ddd;
  text-align: left;
}

th {
  background-color: #f8f9fa;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}



/*
body {
  min-height: 100vh;
  display: flex;
  margin: 0;
  background: #d3d3d3;
} */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 85px;
  display: flex;
  overflow-x: hidden;
  flex-direction: column;
  background: #000000;
  padding: 25px 20px;
  transition: all 0.4s ease;
}

.sidebar:hover {
  width: 260px;
}

.sidebar .sidebar-header {
  display: flex;
  align-items: center;
}

.sidebar .sidebar-header img {
  width: 42px;
  border-radius: 50%;
}

.sidebar .sidebar-header h2 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 23px;
}

.sidebar-links h4 {
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
  margin: 10px 0;
  position: relative;
}

.sidebar-links h4 span {
  opacity: 0;
}

.sidebar:hover .sidebar-links h4 span {
  opacity: 1;
}

.sidebar-links .menu-separator {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #ffe600;
  transform: translateY(-50%);
  transition-delay: 0.2s;
}

.sidebar:hover .sidebar-links .menu-separator {
  transition-delay: 0s;
  transform: scaleX(0);
}

.sidebar-links {
  list-style: none;
  margin-top: 20px;
  height: 80%;
  overflow-y: auto;
  scrollbar-width: none;
}

.sidebar-links::-webkit-scrollbar {
  display: none;
}

.sidebar-links li a {
  display: flex;
  align-items: center;
  gap: 0 20px;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
  padding: 15px 10px;
  text-decoration: none;
  transition: 0.2s ease;
}

.sidebar-links li a:hover {
  color: #ffe600;
  background: #fff;
  border-radius: 4px;
}

.user-account {
  margin-top: auto;
  padding: 12px 10px;
  margin-left: -10px;
}

.user-profile {
  display: flex;
  align-items: center;
  color: #000000;
}

.user-profile img {
  width: 42px;
  border-radius: 50%;
  border: 2px solid #0a0a0a;
}

.user-profile h3 {
  font-size: 1rem;
  font-weight: 600;
}

.user-profile span {
  font-size: 0.775rem;
  font-weight: 600;
}

.user-detail {
  margin-left: 23px;
  white-space: nowrap;
}

.sidebar:hover .user-account {
  background: #ffffff;
  border-radius: 4px;
}

:root {
  --sidebar-background-color: #000000; /* Default sidebar background color */
  --sidebar-text-color: #ffffff; /* Default sidebar text color */
  --sidebar-link-hover-color: #ffe600; /* Default link hover color */
  --sidebar-accent-color: #ffe600; /* Default accent color */
}

.sidebar {
  background-color: var(--sidebar-background-color);
  color: var(--sidebar-text-color);
}

.sidebar a {
  color: var(--sidebar-text-color);
}

.sidebar a:hover {
  background-color: var(--sidebar-link-hover-color);
  color: var(--sidebar-accent-color);
}

.sidebar h4 {
  border-bottom: 2px solid var(--sidebar-accent-color);
}

main {
  margin-left: 85px; /* Adjust based on the width of the sidebar */
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

