.fab {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    color: #BC451C;
}
.faf {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    color: #BC451C; /*#6D322B;*/
}
.placing{
    margin-left:10%;
    width:80%;
}
.btn3-primary {
  color: white;
  background-color: #337ab7;
  border-color: #2e6da4;
  font-family: "Encode Sans Condensed", sans-serif;
}

.analytics-container {
  max-width: 1400px;
  margin-left: 10px;
  margin-right: 10px;
  margin-top:20px;
  /*background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);*/
  overflow: hidden;
}

.header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.controls {
  padding: 20px 40px;
  border-bottom: 2px solid #eee;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.control-group label {
  font-weight: normal;
  color: #333;
}
select {
-webkit-appearance: listbox !important;
}
select,
button {
  padding: 10px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

select:hover,
button:hover {
  border-color: #4ECDC4;
  transform: translateY(-2px);
}

.refresh-btn {
  color: black;
  border: none;
  font-weight: normal;
}

.refresh-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.tables-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 30px;
}

.table-section {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.table-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: -1;
  margin: -3px;
  border-radius: 15px;
}

.table-header {
  color: white;
  padding: 20px;
  text-align: center;
}

.table-header h2 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #026467; /* #C66754;*/
  margin-bottom: 5px;
  font-family: "Encode Sans Condensed", sans-serif;
}

.table-header p {
  opacity: 0.9;
  font-size: 0.9rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-family: "Encode Sans Condensed", sans-serif;
  font-size:16px;
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  font-family: "Encode Sans Condensed", sans-serif;
  border-bottom: 1px solid #eee;
}

th {
  background-color: #026467;
  color: white;
  font-weight: normal;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

tr:hover {
  background: #E5F5EA; /* #bedfff; */
  border: 1px solid 222;
  transform: scale(1.01);
  transition: all 0.3s ease;
}

.rank {
  font-weight: bold;
  color: #E5F5EA /* #667eea; */
  min-width: 40px;
}

.team-name {
  font-weight: normal;
  color: #333;
}

.rating-good {
  color: #28a745;
  font-weight: normal;
}

.rating-average {
  color: #c107ff;
  font-weight: normal;
}

.rating-poor {
  color: #dc3545;
  font-weight: normal;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding: 30px;
  background:  #f8f9fa;
}

.stat-card {
  background: #ECF8F0;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-value {
  font-size: 1.65rem;
  font-weight: normal;
  color: #039599; /* #337ab7; /* 667eea; */
  font-family: Merriweather, sans-serif;
  margin-bottom: 5px;
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .tables-container {
    grid-template-columns: 1fr;
  }

  .controls {
    flex-direction: column;
    align-items: stretch;
  }

  .control-group {
    justify-content: space-between;
  }
}

.code-section {
  padding: 30px;
  width: 70%;
  margin-left: 15%;
  /*background: #1a1a1a;
  color: #f8f8f2;*/
}

.code-header {
  font-weight: 500;
    color: #C66754;
    margin-bottom: 5px;
    font-family: "Encode Sans Condensed", sans-serif;
    font-size:1.2rem;
}

.code-block {
  background: #282a36;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  /*border-left: 4px solid #50fa7b;*/
  font-family: "Encode Sans Condensed", sans-serif;

  overflow-x: auto;
}

.code-block pre {
  margin: 0;
  font-family: "Encode Sans Condensed", sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
}

.keyword {
  color: #ff79c6;
}

.string {
  color: #f1fa8c;
}

.comment {
  color: #6272a4;
}

.function {
  color: #8be9fd;
}

.number {
  color: #bd93f9;
}

.demo-container {
    background-color: #fafafa;
    border-radius: 6px;
    width: 100%;
    margin-right: 1%;
    padding: 10px 10px;
    margin-top: 2%;
    display: flex;
    justify-content: flex-end; 
}

.segmented-control {
    display: inline-flex;
    border-radius: 8px;
    background: #ecf0f4;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-right: 20px; 
    gap: 12px;
    font-family: Buttler, Sans-serif;
}

  .segmented-control input[type="radio"] {
    display: none;
  }

  .segmented-control label {
    padding: 5px 10px;
    /*border-radius: 6px;
    background: linear-gradient(to bottom, #fefefe, #d9d9d9);*/
    color: #333;
    font-weight: 450;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size:15px;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);*/
    margin: 0 2px;
  }

  .segmented-control input[type="radio"]:checked + label {
    /*background: linear-gradient(to bottom, #444, #222);*/
    color: black;
    /*box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);*/
    transform: translateY(1px);
    border-bottom: 3px solid #026467;;
    border-spacing:10px;
  }

  .segmented-control label:hover {
    border-bottom: 3px solid #b0232f;
    border-spacing:10px;
  }

  .segmented-control input[type="radio"]:checked + label:hover {
    border-bottom: 3px solid #026467;;
    border-spacing:10px;
  }
  
  label {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    margin-left: 10px;
}
  
.stats-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding: 30px;
  margin-left:75px;
  margin-right:75px;
  background-color: #f8f9fa; 
}

.stats-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
  text-align: center;
}
.stat-box {
  border: 2px solid black;
  padding: 15px;
}
.stat-value {
  font-size: 24px;
  font-weight: bold;
  margin: 5px 0;
}
.stat-label {
  font-size: 12px;
  color: #666;
}
.rankings-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}
.section-subtitle {
  font-size: 16px;
  color: #666;
  text-align:center;
  font-family: "Encode Sans Condensed", sans-serif;
  margin-bottom:15px;
}
.rankings-table {
  width: 100%;
  border-collapse: collapse;
}

.rank-number {
  font-weight: bold;
  text-align: center;
  width: 40px;
}
.details{
  margin-top:25px;
  font-family: "Encode Sans Condensed", sans-serif;
  font-size:20px;
  margin-left:22px;
  color: #444;
}
.team-name {
  font-weight: normal;
  min-width: 120px;
}
.positive {
  color: black;
}
.negative {
  color: #666;
}

@media (max-width:600px){
    table {
      width: 100%;
      font-size:11px;
    }
    
    th,
    td {
      padding: 2px 5px;
    }
    
    th {
      font-size: 0.65rem;
      letter-spacing: 0.5px;
    }    
    .placing{
       margin-left:2px;
       width:100%;
    }
    .code-section {
       padding: 3px;
       width: 100%;
       margin-left: 5px;
    }
    .code-block pre {
        font-size: 0.65rem;
    }
}
.buttler {
    font-family: Buttler, Sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: #222;
}
.buttler:hover {
    border-bottom: 3px solid #b0232f;
}

@media (max-width: 768px) {
  .rankings-container {
    grid-template-columns: 1fr;
  }
  
}
select,
button {
  padding: 10px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  cursor Allows control over cursor appearance in an element Learn more Don't show
: pointer;
  transition: all 0.3s ease;
}
h5 {
  font-size: 1.1rem;
  font-weight:350;
  color: #666;
}
.stat-value {
  font-size: 1.65rem;
  font-weight: normal;
  color: #039599; /* #337ab7;*/
  font-family: Merriweather, sans-serif;
  margin-bottom: 5px;
}
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}
.stat-box {
    background: #E5F5EA;
    padding: 20px;
    border-radius: 10px;
    border-color: #e5e7eb;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.section-header2 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #026467; /* #C66754; */
    margin-bottom: 5px;
    background-color:transparent;
    text-align:center;
    font-family: "Encode Sans Condensed", sans-serif;
}
.toph1{
    font-family: "Encode Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 2.4rem;
    color: #C66754;
}
.topic-title2 {
    font-family: "Encode Sans Condensed", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.8rem;
    color: #026467;
    margin-top:20px;
}