.fadeIn, .rotateIn {
  animation-fill-mode: both
}

body {
  background: #f1f1f1;
  color: #222;
  font-family: Roboto,sans-serif;
  padding: 15px
}

h2 {
  font-weight: 800
}

.container {
  max-width: 980px;
  background: #fff;
  margin-top: 20px
}

.logo {
  max-width: 250px;
  margin-top: 10px;
}

.form-label {
  font-weight: 600;
  text-align: center; 
  font-size: 20px;
}

.btn-download img {
  width: 100%;
  max-width: 300px
}

.success-list {
  display: block;
  max-width: 190px;
  margin: auto !important;
  text-align: left
}

.terms h5 {
  font-size: 16px
}

.terms h6 {
  font-size: 14px
}

.terms ul li, .terps p {
  font-size: 12px
}

.text-primary {
  color: #13943c !important
}

.btn-primary {
  background: #13943c;
  border-color: #13943c
}

  .btn-primary:hover {
    background: #0e722e;
    border-color: #0e722e
  }

.success-check {
  color: #60ab78;
  font-size: 85px
}

.terms a:active, .terms a:focus, .terms a:link {
  color: #13943c
}

.rotateIn {
  animation-name: rotateIn;
  animation-duration: .3s
}

@keyframes rotateIn {
  0% {
    transform-origin: center;
    transform: rotate3d(0,0,1,-200deg);
    opacity: 0
  }

  100% {
    transform-origin: center;
    transform: none;
    opacity: 1
  }
}

.fadeIn {
  animation-name: fadeIn;
  animation-duration: .5s
}

@keyframes fadeIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

.container-mobile-confirm {
  margin-top: 20px;
  max-width: 980px;
  text-align: center;
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 4px 4px lightgray;
}

.submit-mobile {
  padding-top: 30px;
  padding-bottom: 30px;
}

.table-card {
  border: 2px solid black;
  border-radius: 8px;
  background-color: #f1f1f1;
  /*padding: 20px;*/
  margin-bottom: 20px;
  margin-top: 20px;
  margin: 0 auto;
  width: 350px;
  padding: 8px;
}

.table-card-transfer {
  /*border: 2px solid black;*/
  /*border-radius: 8px;*/
  /*background-color: #f1f1f1;*/
  /*padding: 20px;*/
  width: 275px;
  margin: 0 auto;
  margin-bottom: 20px;
  margin-top: 20px;
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 15px solid #0e722e;
  margin: 20px auto;
}

/* This is the styling for the slider selections */
/* Slider container */
.slider {
  width: 200px;
  height: 10px;
  background-color: #ccc;
  border-radius: 5px;
  position: relative;
}

  /* Inactive state */
  .slider .slider-handle {
    width: 20px;
    height: 20px;
    background-color: #aaa;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    left: -5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

    /* Active state */
    .slider .slider-handle.active {
      background-color: #4caf50;
    }

  /* Inactive state */
  .slider .slider-track {
    width: 0;
    height: 100%;
    background-color: #ccc;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.3s ease;
  }

  /* Active state */
  .slider.active .slider-track {
    background-color: #4caf50;
  }

.btn-primary {
  margin-top: 20px;
  /* padding: 10px 20px; */
  font-size: 16px;
  font-weight: 400;
  margin-left: 10px;
  color:#fff; 
  text-decoration: none;
}

/* This is the styling for the gender selection */
.dropdown {
  border-radius: 8px;
  background-color: #f1f1f1;
  padding: 10px;
  width: 200px;
}

  .dropdown select {
    width: 100%;
    height: 30px;
    border: none;
    border-radius: 8px;
    outline: none;
    padding: 5px;
  }

.menu-btn-primary {
  width: 250px;
  border-radius: 8px;
  padding: 10px;
  background-color: #0e722e;
  margin-top: 5px;
  margin-bottom: 5px;
}

/* This is the logout button styling */

.logout {
  width: 50px;
  position: fixed;
  right: 100px;
  top: 35px;
}

/* Slider container 1 */
.slider-container {
  display: inline-block;
  position: relative;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px; /* Customize width as per your needs */
  height: 30px; /* Customize height as per your needs */
  background-color: grey; /* Inactive color */
  border-radius: 15px; /* Half of height to create a circular shape */
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

  .slider:before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 20px; /* Customize size as per your needs */
    height: 20px; /* Customize size as per your needs */
    background-color: white;
    border-radius: 50%; /* To create a circular handle */
    transition: transform 0.2s ease-in-out;
  }

input[type="checkbox"] {
  display: none;
}

  input[type="checkbox"]:checked + .slider {
    background-color: green; /* Active color */
  }

    input[type="checkbox"]:checked + .slider:before {
      transform: translateX(20px); /* Move the handle to the right */
    }

/* Slider container 2 */
.slider-container-2 {
  display: inline-block;
  position: relative;
}

.slider-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px; /* Customize width as per your needs */
  height: 30px; /* Customize height as per your needs */
  background-color: grey; /* Inactive color */
  border-radius: 15px; /* Half of height to create a circular shape */
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

  .slider-2:before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 20px; /* Customize size as per your needs */
    height: 20px; /* Customize size as per your needs */
    background-color: white;
    border-radius: 50%; /* To create a circular handle */
    transition: transform 0.2s ease-in-out;
  }

input[type="checkbox"] {
  display: none;
}

  input[type="checkbox"]:checked + .slider-2 {
    background-color: green; /* Active color */
  }

    input[type="checkbox"]:checked + .slider-2:before {
      transform: translateX(20px); /* Move the handle to the right */
    }


.label {
  padding: 0px 10px;
}

/* Dashboard page menu items styling */

.menu {
  text-align: center;
}

.heading {
  margin-bottom: 20px;
}

.menu-option {
  padding: 10px;
  margin: 10px;
  background-color: #4caf50;
  text-decoration: none;
  border-radius: 8px;
  color: #fff !important;
  width: 220px;
}

.flex {
  display: inline-flex;
}

a {
  color: #fff;
  text-decoration: none;
}

/* Camera button styling */

.camera-btn {
  padding: 10px;
  background-color: #0e722e;
  border: none;
  border-radius: 8px;
  color: #fff;
  margin-top: 10px;
}

/* Changes after first review w Casper */

.mb-3 {
  text-align: center;
}

a:hover {
  color: #ccc !important;
  text-decoration: underline !important;
}

/* Width styling for input fields */

input.form-control.input-lg {
  max-width: 500px;
  margin: 0 auto;
  text-align: center; 
  border-radius: 8px;
  margin-top: 10px;
}

/* Popup container */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Popup content */
.popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 200px;
  background-color: #f1f1f1;
  border-radius: 8px;
  margin: 250px auto;
  padding: 20px;
  color: #000;
}

  /* Yes and No buttons */
  .popup-content button {
    margin: 5px;
    width: 50px;
    border-radius: 8px;
    justify-content: center;
    display: flex;
    background-color: #0e722e;
    color: #fff;
    font-weight: 400;
  }

.button {
  margin-right: 10px;
  justify-content: center;
  display: inline-flex;
  flex-direction: row;
}

/* Styling for scan QR code button */

.scan-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: #0e722e;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin: 0 auto;
}

  .scan-button i {
    margin-right: 5px;
  }

.fa-pencil-alt {
    color: #13943c;
}