*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
  line-height: 1.5; /* must be unitless */
}

:not(:defined) {
  visibility: hidden;
}

button {
  border-radius: 4px;
  padding: 10px 20px;
  border: none;
  background: #007bff;
  color: white;
}

select,
input:not([type="file"]):not([type="submit"]) {
  border-radius: 5px;
  border: 1px gray solid;
  background: none;
}

.input-form  input, .input-form select {
  height: 2rem;
}

.full-width {
  width: 100%;
}
.hide {
  display: none;
}

body {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0;
  font-family: sans-serif;
}

.site-body {
  width: 850px;
  display: flex;
  justify-content: center;
  height: 100vh;
  text-align: center;
}

.horizontally-center {
  display: flex;
  justify-content: center;
}

.horizontally-right {
  display: flex;
  justify-content: flex-end;
}


.vertically-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-msg {
    color: green;
}

.error-msg {
    color: red;
    font-size: 2rem;
    text-align: center;
}
.error-border {
  border-color: red !important;
}

.btn-as-link {
    background: none;
    border: none;
    padding: 0;
    color: blue;
    text-decoration: underline;;
    cursor: pointer;
    font: inherit;
}

/* top icons bar start */
.top-icons {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.top-icons img {
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.top-icons img:hover {
  opacity: 1;
}
/* top icons bar end */
/* Hamburger Menu */
.hamburger {
  position: fixed;
  top: 20px;
  left: 20px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger div {
  width: 30px;
  height: 3px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}

/* Sliding Menu */
.slider-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #333;
  transition: 0.4s;
  z-index: 999;
}

.slider-menu.active {
  left: 0;
}

.slider-menu ul {
  list-style: none;
  padding: 0;
  margin: 80px 0 0 0;
}

.slider-menu ul li {
  padding: 15px 20px;
  border-bottom: 1px solid #444;
}

.slider-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
}

.slider-menu ul li a:hover {
  color: #007bff;
}

/* Overlay when menu is open */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  z-index: 998;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}
/* Hamburger Menu End */

/* Table  */
.centered-table-container {
  width: 100%;
  max-width: 100%;
  margin-top: 20px;
  position: relative;
  /* overflow-x: auto; */
}

.centered-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  white-space: nowrap;
}

.centered-table th, .centered-table td {
  border: 1px solid #ddd;
  padding: 5px; /* Reduced padding from 8px to 5px */
  text-align: left;
  line-height: 1.2; /* Added line height to control text spacing */
}

.centered-table th {
  background-color: #f2f2f2;
}

.centered-table tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

/* End Table  */
