body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #e6fef3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/*.logo {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  position: absolute;*/
/*  top: 30px;*/
/*  left: 30px;*/
/*}*/

/*.logo img {*/
/*  width: 110px;*/
/*}*/
.forms {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
}

.form-container {
  background-color: #0b4d24;
  padding: 40px 30px;
  border-radius: 8px;
  width: 350px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
  color: #fff;
}

.form-container h2 {
  margin-bottom: 25px;
}

form input {
  width: 90%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  align-items: center;
  justify-content: center;
}

form input::placeholder {
  color: #999;
}

form select {
  width: 96%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  background-color: #fff;
  color: #000;
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color:rgb(20, 173, 0);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background-color:rgb(15, 131, 0);
}

.forgot-password {
  text-align: right;
  margin-top: -10px;
  margin-bottom: 20px;
  font-size: 14px;
}

.forgot-password a,
.form-container a {
  color: #ffcc00;
  text-decoration: none;
}

.password-note {
  color: #f44336;
  font-size: 13px;
  text-align: left;
  margin-bottom: 20px;
}

.btn {
  background-color: #d19000;
  color: white;
  padding: 12px;
  border: none;
  width: 100%;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.btn:hover {
  background-color: #b57800;
}
.consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  font-size: 14px;
}
/* Push dashboard container to the right */
.dashboard-container {
    background-color: #e6fef3;
  padding-top: 10px;
  padding-bottom: 100px;
  height: auto; /* slightly wider than nav to add some spacing */
  width: 90%;

  @media screen and (max-width: 720px) {
    margin: 10px 10px 10px 10px;
    max-width: 95%;
  }
}
.dashboard-container img {
  width: 100%;
  height: auto;
  display: block;
}
.dashboard-container a{
  display: inline-block;
  color:rgb(0, 117, 0);
  text-decoration: none;
  font-weight: 500;
}

.dashboard-container a:hover {
  text-decoration: underline;
  color: rgb(0, 66, 6);
  transform: scale(1.05);
  
}
.learning-container {
  padding-bottom: 100px;
  padding: 20px;
  height: auto;
  width: 100%;
  max-width: 100%;

  @media screen and (max-width: 720px) {
    margin: 10px 10px 10px 10px;
    max-width: 100%;
  }
}

h1 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.card {
  background-color: white;
  padding: 25px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
}

.card h2 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.card a {
  color: #32ab26;
  text-decoration: none;
  font-weight: 500;
}

.grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
  @media screen and (max-width: 1440px) {
    flex-direction: column;
  }
}

.grid-item {
  flex: 1;
  min-width: 250px;
  background-color:rgb(255 255 255);
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.grid-item h3 {
  margin-top: 0;
  color: black;
  font-size: 1rem;
}

.grid-item p {
  color: black;
}
.grid-item a {
  color: black;
  text-decoration: none;
  font-weight: 500;
}
.grid-item a:hover {
  text-decoration: underline;
}

.info-card {
  background: white;
  border-radius: 6px;
  
  overflow: hidden;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
}
.info-card img {
  width: 100%;
  height: auto;
  display: block;
}
.card-body {
  padding: 1.5rem;
}
.card-body a{
  text-decoration: none;
}
.card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #111;
}
.card-body h3:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
  color: #207019;
  cursor: pointer;
}
.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title span {
  font-size: 1.2rem;
  color: #111;
}

.card-body p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}


.side-nav {
  border-right: #8a8a8a 2px solid;
  position: fixed;
  top: 0;
  left: 0;
  width: 16%;
  height: 100vh;
  background-color:#ffffff;
  color: white;
  padding: 30px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 600;
  z-index: 1;

  @media screen and (max-width: 1000px) {
    display: none;
  }
}
.side-nav .dash-logo {
  width: 100px;
  height: 100px;
  display: flex;
  margin-bottom: 70px;
}
.side-nav .dash-logo img {
  width: 100px;
  height: 100px;
}
.side-nav .dash-logo p {
  color: black;
  align-self: center;
  font-size: 1.1rem;
  width: 100%;  
  overflow: hidden;
}

.side-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.side-nav ul li {
  margin-bottom: 20px;
  width: 100%;
}

.side-nav ul li a {
  color: black;
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
  padding-bottom: 20px;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.side-nav ul li a:hover,
.side-nav ul li a:focus {
  background-color: rgb(15, 131, 0);
  outline: none;
}

.settings {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 16%;
  background-color:#ffffff;
  color: black;
  padding: 30px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  text-align: center;
  font-weight: 600;
  z-index: 1;
  border-right: #8a8a8a 2px solid;
  overflow-x: hidden;

  @media screen and (max-width: 720px) {
    display: none;
  }
}
.settings li {
  margin-bottom: 20px;
  width: 100%;
  list-style: none;
}
.settings a {
  color: black;
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
  padding-bottom: 20px;
  border-radius: 8px;
  transition: background-color 0.3s;
}
.settings a:hover,
.settings a:focus {
  background-color: rgb(15, 131, 0);
  outline: none;
}

.right-side-nav {
  border-left: #8a8a8a 2px solid;
  position: fixed;
  top: 0;
  right: 0;
  width: 16%;
  height: 100vh;
  background-color:#ffffff;
  color: black;
  padding: 30px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 600;
  z-index: 1;

  @media screen and (max-width: 1000px) {
    display: none;
  }
}
  .profile {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  text-align: center;
}
.profile img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  align-self: center;
}
.profile p {
  width: 100%;
  margin-left: 10px;
  color: black;
  align-self: center;
  text-align: center;
  font-size: 20px;
}
.logout {
  border-left: #8a8a8a 2px solid;
  position: fixed;
  bottom: 0;
  right: 0;
  width: 16%;
  height: 100px;
  background-color:#ffffff;
  color: white;
  padding: 30px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  text-align: center;
  font-weight: 600;
  z-index: 1;
  overflow-x: hidden;
  
  @media screen and (max-width: 1000px) {
    display: none;
  }
}
.logout li {
  margin-bottom: 20px;
  width: 100%;
  list-style: none;
}
.logout a {
  color: black;
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
  padding-bottom: 20px;
  border-radius: 8px;
  transition: background-color 0.3s;
}
.logout a:hover,
.logout a:focus {
  background-color: rgb(15, 131, 0);
  outline: none;
}

.training-container {
  padding-top: 10px;
  padding-bottom: 100px;
  height: auto; /* slightly wider than nav to add some spacing */
  width: 100%;
  max-width: calc(80% - 20%);

  @media screen and (max-width: 720px) {
    margin: 10px 10px 10px 10px;
    max-width: 100%;
  }
}

.modules-container {
  width: 100%;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  
}
.modules-container h1 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 30px;
}
.module {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #ffffff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.module h2 {
  margin: 0 0 10px;
  font-size: 20px;
}
.module p {
  margin: 0 0 10px;
}
.module a {
  display: inline-block;
  margin-top: 10px;
  background-color: #0d7000;
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
}
.module a:hover {
  background-color: #0c6b00;
  color: white;
  text-decoration: none;
}
.appointment-card {
  background: #f0f0f0;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  max-width: 600px;
}
