@font-face {
  font-family: "Meera Inimai";
  /* Your custom font name */
  src: url("../../font/MeeraInimai-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Roboto VF";
  src: url("../../font/roboto/Roboto-VariableFont_wdth,wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Roboto italic";
  src: url("../../font/roboto/Roboto-Italic-VariableFont_wdth,wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-display: swap;
}


body,
html {
  height: 100%;
  margin: 0;
}

/* Navbar styling for accessibility - focus on color changes */
.navbar-left {
  width: 250px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #2c3e50;
  /* Dark blue background for high contrast */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #dee2e6;
  transition: transform 0.3s ease-in-out;
}

.navbar-left.collapsed {
  transform: translateX(-250px);
}

.navbar-brand {
  color: #ecf0f1;
  /* Light text for high contrast */
  padding: 20px;
}

/* Navbar items */
.navbar-nav {
  flex-grow: 1;
  justify-content: center;
  text-align: center;
}

.navbar-nav .nav-link {
  color: #ecf0f1;
  /* Light text for contrast */
  padding: 10px;

  background-color: transparent;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background-color: #34495e;
  /* Slightly lighter background for hover */
  color: #ffffff;
}

/* Bottom logo */
.navbar-logo {
  padding: 20px;
}

/* Main content area */
.content {
  margin-left: 250px;
  padding: 20px;
  background-color: #f4f6f7;
  /* Light background for content */
  color: #2c3e50;
  /* Dark text for readability */
  height: 100vh;
  overflow-y: auto;
  transition: margin-left 0.3s ease-in-out;
}

.content.expanded {
  margin-left: 0;
}

/* Login form styling */
.login-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 30px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.login-container h2 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #2c3e50;
}

/* Toggle button styling */
.navbar-toggle {
  position: fixed;
  left: 280px;
  top: 10px;
  z-index: 4000;
  background-color: #2c3e50;
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  padding: 4px;
  border-radius: 5px;
  cursor: pointer;
  transition: left 0.3s ease-in-out;
}

.navbar-toggle:hover {
  background-color: #34495e;
}

.navbar-toggle .bi {
  font-size: 1.2rem;
}

.navbar-toggle.collapsed {
  left: 30px;
}

/* Mobile responsive adjustments */
@media (max-width: 994px) {
  .navbar-left {
    width: 100%;
    position: relative;
    height: auto;
    flex-direction: row;
    padding-right: 10px;
  }

  .content {
    margin-left: 0;
  }

  .login-container {
    margin-top: 20px;
  }
}

/* Ensure sufficient line spacing and larger font sizes for legibility */
.formsel {
  border-radius: 0 !important;
  border: 0 !important;
}

.formsel:disabled {
  background-color: white !important;
}

.invalid-cell {
  background-color: #f8d7da !important;
  /* Light red/pinkish background */
  border: 1px solid #f5c6cb !important;
  /* Light red border */
  color: #721c24 !important;
  /* Red text color */
}