/* Green Color palette http://paletton.com/#uid=52H0w0ko2jEtIsRq4nElGgqjJcP */
.background-wrapper {
  /* https://coolors.co/gradient-maker */
  background: hsla(93, 42%, 56%, 1);

  background: linear-gradient(90deg, hsla(93, 42%, 56%, 1) 0%, hsla(93, 71%, 26%, 1) 100%);

  background: -moz-linear-gradient(90deg, hsla(93, 42%, 56%, 1) 0%, hsla(93, 71%, 26%, 1) 100%);

  background: -webkit-linear-gradient(90deg, hsla(93, 42%, 56%, 1) 0%, hsla(93, 71%, 26%, 1) 100%);

  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#8ABD5F", endColorstr="#3E7213", GradientType=1 );

  background-size: cover;
  min-height: 100vh;
}


a {
  color: inherit;
}

a:hover {
  color: #bfd200;
}

.nav-link {
  color: #FFF !important;
}

.btn-link {
  color: #bfd200;
}

p.Logo {
  font-family: 'Reem Kufi Fun', sans-serif;
  font-size: 30px;
  color: orange;
  margin-bottom: 0px;
}
p.Fen {
  font-family: 'Courier New';
  font-size: 11px;
  vertical-align: middle;

}
img.icon {
  width: 18px;
  height: 18px;
}
img.brandlogo {
  width: 60px;
  height: 60px;
}
img.profile {
  width: 60px;
  height: 60px;
}

.login-btn {
    justify-content: left;
    flex-direction: row;
    display: flex;
    background-color: rgb(255, 255, 255);
    justify-content: left;
    vertical-align: middle;
    width: 220px;
    padding: 10px;
    box-shadow: 3px 3px 3px rgb(170, 170, 170);
    border-radius: 15px;
}
.btn-text {
    justify-content: left;
    vertical-align: middle;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: rgb(85, 85, 85);
}

/* For titles and comments on the review page*/
.kiwi-info {
  color: #f8f9fa;
  background-color: #343a40cc;
  border-color: #212529;
  padding: 3px 3px 3px;
}
.kiwi-info-comment {
  color: #adb5bd;
}

.list-group-item-kiwi {
  background-color: rgb(163 197 173 / 73%) !important;;
  padding: 0px 0px !important;;

}

.progress {
  height: 4px;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-left: 0px;
  margin-right: 8px;
  background-color: rgb(255, 255, 255, 0.15);
}
.progress-bar {
  background-color: orange;
}
/* Add this to the existing /static/css/kiwichess.css file */

/* Mobile adjustments */
@media (max-width: 768px) {
  /* Ensure navbar font size is reduced */
  .navbar.navbar-expand-lg.navbar-light.bg-transparent {
    padding: 5px 10px;  /* Reduces padding */
  }
  
  .navbar .navbar-brand,
  .navbar .Logo,
  .navbar .nav-link {
    font-size: 1.5rem !important;  /* Ensures font size is reduced */
  }

  /* Adjust navbar toggler icon size */
  .navbar-toggler-icon {
    font-size: 1rem !important;  /* Adjust if necessary */
  }
  #ChapterTitleRow {
    /* Your styles here */
    font-size: 0.8rem;  /* Example: change font size */
    padding: 0px;    /* Example: adjust padding */
  }
  /* Hide unnecessary items (if any) */
  .navbar .extra-item {
    display: none;
  }

  /* Compact layout for navbar */
  .navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  /* Ensure board takes up full width on mobile */
  #board.board--fit-height {
    width: 100%;
  }

  /* Shrink the brandlogo image */
  .navbar .brandlogo {
    width: 50px;  /* Adjust width */
    height: auto; /* Maintain aspect ratio */
  }

  #navbarSupportedContent .nav-link {
    font-size: 0.8rem !important;
  }

  .stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
    gap: 0px;
    font-size: 0.8rem;
  }

  .stat-grid li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    background-color: rgb(163 197 173 / 73%) !important;
    border: 1px solid rgb(140, 180, 150);
    white-space: nowrap;
    font-size: 0.8rem;
    border-radius: 0 !important;
  }

  /* Just in case: Ensure Stockfish Eval fits properly */
  .stat-grid li:last-child {
    justify-content: flex-start;
  }

  .gptMessages {
    font-size: 0.7rem;
  }
  .gptInputGroup {
    font-size: 0.7rem;
  }





}
