/* orders page styles */

.results-header {
  text-align: center;
  font-weight: bold;
  padding: 0;
}

.results-table {
  text-align: center;
  border-collapse: separate;  
  border-spacing: 0;  
  overflow: hidden;  
}

.results-table th, td { 
  border: 1px solid #6B8C5A;
}

.results-table th {
  background: #D9D9D9; 
}

.results-table tr:nth-child(even) {
  background: #D9D9D9; 
}

.progress-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

progress::-webkit-progress-bar {
  background-color: #D9D9D9;
  width: 100%;
}

.progress {
  background-color: #D9D9D9;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.progress[value] {
  color: #6B8C5A;
}

.results-button {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: var(--primary-dark);
  border: none;
  height: 110%;
  text-decoration: none;
  color: #D9D9D9;
  margin: auto;
}

.results-button:hover {
  cursor: pointer;
  transition: 0.2s;
  color: #000;
}

.results-button:active > span {
  color: #000;
}

.dis {
  display: none;
}

@media (min-width: 1919.5px) {
  .results-header {
    font-size: 2.5rem;
    margin: 20px auto 10px auto;
    font-weight: bold;
  }

  .results-table {
    width: 100%;
    margin: 0 auto;
    font-size: 1.6rem;
    border-radius: 20px;
  }

  .results-table th, td { 
    height: 70px;  
  }

  .results-table tr:first-child th:first-child {  
    border-top-left-radius: 20px;  
  }  

  .results-table tr:first-child th:last-child {  
    border-top-right-radius: 20px;  
  }  

  .results-table tr:last-child td:first-child {  
    border-bottom-left-radius: 20px;  
  }  

  .results-table tr:last-child td:last-child {  
    border-bottom-right-radius: 20px;  
  }  

  .results-table th {
    font-weight: bold; 
  }

  .progress-container {
    gap: 0.3rem;
  }

  .progress::-webkit-progress-bar {
    border: 1px solid #6B8C5A;
    border-radius: 20px;
  }

  .progress {
    border: 1px solid #6B8C5A;
    border-radius: 20px;
    height: 1.2rem;
  }

  .progress[value] {
    border-radius: 20px;
  }

  .results-button {
    width: 90.67%;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: bold;
  }
}

@media (min-width: 1279.5px) and ( max-width: 1919.5px) {
  .results-header {
    font-size: 1.86rem;
    margin: 1vw auto;
  }

  .results-table {
    width: 85.14%;
    margin: 0 auto;
    font-size: 1.2rem;
    border-radius: 1.56vw;
  }

  .results-table th, td { 
    height: 4vw;  
  }

  .results-table tr:first-child th:first-child {  
    border-top-left-radius: 1.56vw;  
  }  

  .results-table tr:first-child th:last-child {  
    border-top-right-radius: 1.56vw;  
  }  

  .results-table tr:last-child td:first-child {  
    border-bottom-left-radius: 1.56vw;  
  }  

  .results-table tr:last-child td:last-child {  
    border-bottom-right-radius: 1.56vw;  
  }  

  .results-table th {
    font-weight: bold;
  }

  .progress-container {
    gap: 0.3rem;
  }

  .progress::-webkit-progress-bar {
    border: 1px solid #6B8C5A;
    border-radius: 1.56vw;
  }

  .progress {
    border: 1px solid #6B8C5A;
    border-radius: 1.56vw;
    height: 1rem;
  }

  .progress[value] {
    border-radius: 1.56vw;;
  }

  .results-button {
    width: 90.67%;
    border-radius: 1.56vw;
    font-size: 1rem;
    font-weight: bold;
  }
}

@media (min-width: 992.5px) and (max-width: 1279.5px) {
  .results-header {
    font-size: 1.5rem;
    margin: 1vw auto;
  }

  .results-table {
    width: 85.14%;
    margin: 0 auto;
    font-size: 1rem;
    border-radius: 1.5vw;
  }

  .results-table th, td { 
    height: 3vw;  
  }

  .results-table tr:first-child th:first-child {  
    border-top-left-radius: 1.5vw;  
  }  

  .results-table tr:first-child th:last-child {  
    border-top-right-radius: 1.5vw;  
  }  

  .results-table tr:last-child td:first-child {  
    border-bottom-left-radius: 1.5vw;  
  }  

  .results-table tr:last-child td:last-child {  
    border-bottom-right-radius: 1.5vw;  
  }  

  .results-table th {
    font-weight: bold;
  }

  .progress-container {
    gap: 0.45rem;
  }

  .progress::-webkit-progress-bar {
    border: 1px solid #6B8C5A;
    border-radius: 1.56vw;
  }

  .progress {
    border: 1px solid #6B8C5A;
    border-radius: 1.56vw;
    height: 0.9rem;
  }

  .progress[value] {
    border-radius: 1.56vw;;
  }

  .results-button {
    width: 90.67%;
    border-radius: 1.56vw;
    font-size: 0.9rem;
    font-weight: bold;
  }
}

@media (min-width: 768.5px) and (max-width: 992.5px) {
  .results-header {
    font-size: 1.5rem;
    margin: 1vw auto;
  }

  .results-table {
    width: 90%;
    margin: 0 auto;
    font-size: 0.8rem;
    border-radius: 1.5vw;
  }

  .results-table th, td { 
    height: 3vw;  
  }

  .results-table tr:first-child th:first-child {  
    border-top-left-radius: 1.5vw;  
  }  

  .results-table tr:first-child th:last-child {  
    border-top-right-radius: 1.5vw;  
  }  

  .results-table tr:last-child td:first-child {  
    border-bottom-left-radius: 1.5vw;  
  }  

  .results-table tr:last-child td:last-child {  
    border-bottom-right-radius: 1.5vw;  
  }  

  .results-table th {
    font-weight: bold;
  }

  .progress-container {
    gap: 0.35rem;
  }

  .progress::-webkit-progress-bar {
    border: 1px solid #6B8C5A;
    border-radius: 1.56vw;
  }

  .progress {
    border: 1px solid #6B8C5A;
    border-radius: 1.56vw;
    height: 0.7rem;
  }

  .progress[value] {
    border-radius: 1.56vw;;
  }

  .results-button {
    width: 95.67%;
    border-radius: 1.56vw;
    font-size: 0.7rem;
  }
}

@media (max-width: 768.5px) {
  .results-header {
    font-size: 1.5rem;
    margin: 1vw auto;
  }

  .results-table {
    width: 95%;
    margin: 0 auto;
    font-size: 0.52rem;
    border-radius: 1.5vw;
  }

  .results-table th, td { 
    height: 3vw;  
  }

  .results-table tr:first-child th:first-child {  
    border-top-left-radius: 1.5vw;  
  }  

  .results-table tr:first-child th:last-child {  
    border-top-right-radius: 1.5vw;  
  }  

  .results-table tr:last-child td:first-child {  
    border-bottom-left-radius: 1.5vw;  
  }  

  .results-table tr:last-child td:last-child {  
    border-bottom-right-radius: 1.5vw;  
  }  

  .results-table th {
    font-weight: bold;
  }

  .progress-container {
    gap: 0.28rem;
  }

  .progress::-webkit-progress-bar {
    border: 1px solid #6B8C5A;
    border-radius: 1.56vw;
  }

  .progress {
    border: 1px solid #6B8C5A;
    border-radius: 1.56vw;
    height: 0.56rem;
  }

  .progress[value] {
    border-radius: 1.56vw;;
  }

  .results-button {
    width: 90.67%;
    border-radius: 1.56vw;
    font-size: 0.4rem;
    font-weight: bold;
  }
}