html {
    background-color: #211f22;
    height: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #211f22;
    color: #ddd;
    padding: 2rem 1rem;
    min-height: 100vh;
    height: 100%;
}

.section {
    padding: 1rem 0;
}

.container {
    background: #242424;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 2px 5px 13px -3px rgba(0, 0, 0, 1);
    -webkit-box-shadow: 2px 5px 13px -3px rgba(0, 0, 0, 1);
    -moz-box-shadow: 2px 5px 13px -3px rgba(0, 0, 0, 1);
}

a {
    color: #1eabb5;
    cursor: pointer;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    color: #12787f;
}

.faceit-profile {
    margin-top: 2rem;
}

label {
    color: #fff !important;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0,0,0,0.75);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 1000;
}

.tooltip:hover::after {
  opacity: 1;
}

.faceit-lvl-1 {
    color: #DDDDDD !important;
    font-weight: bold;
    border: 2px solid #DDDDDD;
}

.faceit-lvl-2-3 {
    color: #47E36E !important;
    font-weight: bold;
    border: 2px solid #47E36E;
}

.faceit-lvl-4-7 {
    color: #FFCD25 !important;
    font-weight: bold;
    border: 2px solid #FFCD25;
}

.faceit-lvl-8-9 {
    color: #FF6C20 !important;
    font-weight: bold;
    border: 2px solid #FF6C20;
}

.faceit-lvl-10 {
    color: #E80128 !important;
    font-weight: bold;
    border: 2px solid #E80128;
}

.faceit-lvl {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 0.95em;
}


.searchbar {
    width: 500px;
}

@media (max-width: 600px) {
    .searchbar {
        width: 100%;
    }
}

.button.is-primary {
    background-color: #12787f;
}

.profile-name {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.profile-name a {
    text-decoration: none;
}

.emoji {
    font-size: 1.5rem;
    vertical-align: middle;
}

.pTdyr {
    width: 16px;
    height: 16px;
    display: table;
    color: rgb(241, 241, 241);
    fill: rgb(241, 241, 241);
    transition: color 0.2s;
}

.footer {
    background-color: transparent;
    padding: 0 0 1rem 0;
    font-size: 14px;
}

.person-box,
.stats-box,
.teams-box {
    background: linear-gradient(135deg, #117a80, #36376c);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.person-box p,
.stats-box p,
.teams-box p {
    font-size: 1.1rem;
    margin: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

strong {
    color: #fff;
}

.teams-box a {
    color: #fff;
}

.teams-box a:hover,
.teams-box a:focus,
.teams-box a:active {
    color: #35396d;
}

.box-title {
    font-weight: bold;
    text-align: left;
}

.team-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
}

.team-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.team-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.text-green-500 {
    color: #22c55e;
}

.text-red-500 {
    color: #ef4444;
}

.text-gray-500 {
    color: #6b7280;
}

.button.is-link {
    background-color: #186e7c;
}

.tabs {
    margin-top: 1rem;
    margin-bottom: .5rem;
}

.tabs ul {
    justify-content: center;
    gap: 0.5rem;
}

.tabs li a {
    padding: 0.4em 0.9em;
    font-size: 0.95rem;
    background-color: #2a2a2a;
    color: #fff;
    border-radius: 6px;
}

.tabs li.is-active a {
    background-color: #4CAF50;
    color: #fff;
}

.tabs:not(:last-child) {
    margin-bottom: 1.5rem;
}

.tabs.is-toggle li.is-active a {
    background-color: #48c797;
    border-color: #48c797;
    color: #fff;
    z-index: 1;
}

.tabs.is-toggle li a:hover {
    background-color: #48c797;
    border-color: #48c797;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.text {
    margin-bottom: 1rem;
}

code {
  background-color: #211f22;
  color: #cac3c3;
  font-size: .875em;
  font-weight: 400;
  padding: .25em .5em .25em;
  word-wrap: break-word;
}

.faq-text {
    margin-bottom: 1rem;
}

.last-section {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .tabs ul {
        flex-direction: column;
        align-items: center;
    }

    .tabs li {
        width: 100%;
        text-align: center;
        margin-bottom: 0.4rem;
    }

    .tabs li a {
        display: block;
        width: 100%;
        padding: 0.6em 1em;
    }

    .box-title {
        margin-bottom: 1rem;
    }

    .team-item {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }

    .team-item a {
        flex-direction: column;
        align-items: center;
        text-align: center;
        display: flex;
    }

    .team-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }

    .win-or-lose {
        margin-right: 2px;
    }

    .person-box p,
    .stats-box p,
    .teams-box p {
        font-size: 1rem;
        margin: 0.3rem 0;
        display: block;
    }

    .faceit-profile {
        font-size: 2rem !important;
        margin-top: 2rem !important;
    }

}