:root {
  --bgColor: #9e97ff;
  --darkBgColor: #7e75ff;
  --fontColor: #353535;
}

body {
  font-family: poppins, sans-serif;
  font-size: 62.4%;
  margin: 0;
}

p,
h1,
h2 {
  color: var(--fontColor);
  margin: 0;
}

label {
  display: block;
  font-size: 1rem;
  margin-top: 0.2rem;
  font-weight: 500;
}

input,
select {
  width: 100%;
  font-family: poppins;
  outline: none;
  border: 2px solid #cecece;
  padding: 0.4rem;
  transition: all 0.2s;
  border-radius: 0.2rem;
  margin: 0.4rem 0;
}

input:focus {
  border: 2px solid var(--darkBgColor);
}

button {
  font-family: poppins, sans-serif;
  display: block;
  background-color: var(--bgColor);
  color: var(--fontColor);
  border: none;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 1.2rem 0;
  padding: 0.4rem 1.2rem;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
}

button:hover {
  background-color: var(--darkBgColor);
}

.active {
  border: 2px solid var(--darkBgColor);
  background-color: var(--darkBgColor);
}

.inactive {
  border: 2px solid var(--darkBgColor);
  background-color: #ffffff00;
}

span {
  color: var(--darkBgColor);
}

.welcome-title {
  font-size: 2.4rem;
}

.course-title {
  text-transform: uppercase;
}

.toast-contanier {
  position: relative;
  transition: all 0.2s;
}

.toast {
  position: fixed;
  display: flex;
  left: 50%;
  top: 2px;
  transform: translate(-50%, -40px);
  align-items: center;
  padding: 10px 20px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.toast-success {
  background-color: #28a745;
}

.toast-error {
  background-color: #dc3545;
}

.toast-info {
  background-color: #17a2b8;
}

.toast-hidden {
  opacity: 0;
}

table {
  /* width: 100% */
  border-collapse: collapse;
  font-size: 0.8rem;
}

th,
td {
  border: 1px solid black;
  padding: 8px;
  text-align: left;
  text-align: center;
}
th {
  /* background-color: #f2f2f2; */
  background-color: var(--bgColor);
}

td {
  width: 20px;
}

td input {
  width: 12ch;
  text-align: center;
}

td button {
  font-size: 0.8rem;
  margin: 0;
}

.highlight {
  background-color: #dc3545;
  color: #fff;
}

.hide {
  display: none;
}

.div-header {
  display: flex;
  justify-content: space-between;
}

.button-logout {
  margin: 0;
  background-color: #dc3545;
  color: #fff;
}
