*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: "Roboto", sans-serif;
  background: #f8f9fa;
}

h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
img,
picture {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}
ul,
li {
  list-style: none;
}
.site-header {
  background: #fff;
}
.container {
  max-width: 1150px;
  margin: 0 auto;
  position: relative;
}

.subcontainer {
  margin: auto;
}
.antena-brand {
  width: 60px;
  height: 15px;
  display: block;
  position: absolute;
  top: 0;
  left: 86px;
  background: url(../images/antena.png) no-repeat;
  background-size: contain;
}
@media (min-width: 1138px) {
  .antena-brand {
    left: 50%;
    transform: translateX(-50%);
  }
}
.logo-container {
  position: absolute;
  top: 25px;
  left: 75px;
  width: 80px;
  height: 36px;
}
@media (max-width: 720px) {
  .logo-container {
    left: 50%;
    margin-left: -40px;
  }
  .antena-brand,
  .logo {
    position: absolute;
    left: 50%;
    top: 0;
    width: 67px;
    height: 40px;
    transform: translateX(-50%);
    margin: 0;
    z-index: 10;
  }
}
@media (min-width: 1138px) {
  .logo-container {
    left: 50%;
    transform: translateX(-50%);
  }
}
.logo1 {
  width: 80px;
  height: 48px;
}
.navbar {
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 640px) {
  .navbar {
    padding: 20px 15px 15px 15px;
  }
}
.nav-branding {
  font-size: 2rem;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  z-index: 9;
  max-width: 460px;
  background: #fff;
}
.nav-menu {
  position: absolute;
  left: -100%;
  top: 70px;
  gap: 0;
  flex-direction: column;
  width: 100%;
  text-align: center;
  transition: 0.3s;
}
.nav-link {
  transition: 0.3s ease-out;
}
.nav-item .link,
.nav-item .nav-link {
  color: black;
}
.hamburger {
  display: block;
}
.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: black;
}

/* DROPDOWN CODE */

.link {
  background: none;
  border: none;
  padding: 0;
  color: white;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.75rem;
  transition: 0.3s ease-out;
}

.link p {
  font-size: 1.5rem;
}

.dropdown.active > .link {
  color: white;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 0.25rem);
  background-color: white;
  padding: 0.75rem;
  border-radius: 0.25rem;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 150ms ease-in-out,
    transform 150ms ease-in-out;
  width: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dropdown-menu a {
  color: black;
  text-decoration: none;
}

.dropdown.active > .link + .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-menu.active {
  left: 0;
}
.nav-menu.active {
  padding: 5px 20px;
  display: inline-block;
}
.nav-menu.active li {
  list-style: none;
  text-align: left;
}
.nav-menu.active:before {
  content: " ";
  position: absolute;
  border-left: 8px solid #00b140;
  border-top: 8px solid #00b140;
  border-bottom: 8px solid #00b140;
  padding: 5px;
  top: -10px;
  bottom: -10px;
  left: -5px;
}
.nav-menu.active:after {
  content: " ";
  position: absolute;
  border-right: 8px solid #00b140;
  border-top: 8px solid #00b140;
  border-bottom: 8px solid #00b140;
  padding: 5px;
  top: -5px;
  bottom: -5px;
  right: -5px;
}
.nav-menu li {
  border-bottom: 1px solid #eee;
  position: relative;
}
.nav-menu a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  background-color: #fff;
  font-weight: 600;
}
.sub-menu {
  display: none;
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
@media (max-width: 1600px) {
  .container {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .nav-item {
    margin: 16px 0;
  }
}

/* LOGIN SECTION */

.d-section,
.articles {
  padding: 50px 0;
  margin: 20px auto;
  background-image: url("../images/fifa2.png");
  border-radius: 15px;
  position: relative;
}
.container .d-section::before,
.articles::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: #006046;
  background: linear-gradient(
    180deg,
    rgba(0, 96, 70, 0.81) 1%,
    rgba(13, 80, 64, 0.9) 49%,
    rgba(25, 66, 59, 1) 100%
  );
  border-radius: 15px;
}

.d-section .user-zone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  align-content: center;
}

.user-zone > [class^="col-"]:first-child:not(:only-child) {
  padding: 0 40px;
}

.user-zone > [class^="col-"] + [class^="col-"] {
  border-left: 1px solid #e5dfdc;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .user-zone > [class^="col-"]:first-child:not(:only-child) {
    padding: 0 0 24px;
  }

  .user-zone > [class^="col-"] + [class^="col-"] {
    padding: 16px 0 0;
    border-top: 1px solid #e5dfdc;
    border-left: 0;
  }
}

.user-zone.flex-invert > [class^="col-"]:first-child:not(:only-child) {
  padding: 0 40px;
}

.user-zone.flex-invert > [class^="col-"] + [class^="col-"] {
  border-left: 1px solid #e5dfdc;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .user-zone.flex-invert > [class^="col-"]:first-child:not(:only-child) {
    padding: 16px 0 0;
    border-top: 1px solid #e5dfdc;
  }

  .user-zone.flex-invert > [class^="col-"] + [class^="col-"] {
    border: 0;
    padding: 0 0 24px;
  }
}

.d-section .user-zone .col-md-6 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.col-md-6 header {
  position: relative;
  height: auto;
  padding: 0;
  box-shadow: none;
  background: none;
  z-index: 0;
}

.d-section .user-zone .col-md-6 form .form-group {
  position: relative;
  width: 100%;
  text-align: left;
  font-size: 13px;
  margin: 0 0 10px;
}

.flex-end {
  display: flex;
  justify-content: end;
  padding: 5px 10px;
  font-size: 13px;
}

.sso_form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.sso_form textarea,
.sso_form select {
  font-size: 13px;
  line-height: 1.5;
  color: #222;
  background-color: #eeedef;
  font-weight: 300;
  border-radius: 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  outline: none;
  width: 100%;
  padding: 10px 10px;
}

.sso_form input[type="checkbox"] {
  display: inline-block;
  appearance: auto;
}

.sso_form button,
.sso_form input[type="submit"] {
  display: block;
  background-color: #00b140;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  color: #fff;
  text-transform: none;
  font-size: 14px;
  font-weight: 400;
  border-radius: 5px;
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  cursor: pointer;
}

.section-cta {
  width: 100%;
}

.cta-button,
.sso_form button,
.sso_form input[type="submit"] {
  display: block;
  background-color: #04db3b;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  color: #fff;
  text-transform: none;
  font-size: 14px;
  font-weight: 400;
  border-radius: 5px;
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  cursor: pointer;
  min-height: 41px;
  text-decoration: none;
}
.cta-button {
  background-color: #b0ea00;
}

.sso_form .logout input {
  background: #fff;
  color: #eb1010;
  border: 1px solid #eb1010;
}

.section-cta.logout {
  position: relative;
}

.logout::after {
  content: "";
  position: absolute;
  background-position: center center;
  width: 18px;
  height: 18px;
  background: url("../img/icon-logout.svg") no-repeat;
  left: 22px;
  top: 54%;
  transform: translate(-50%, -50%);
}
.sso-link {
  color: #00b140;
  font-weight: 700;
}
.item-red:hover {
  color: #03b832;
}

.c-title {
  font-size: 25px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #fff;
}

.s-info,
.user-zone .s-info {
  font-size: 12px;
  margin-bottom: 0.5rem;
  display: inline-block;
  color: #fff;
}
.sso_form .c-checkbox {
  color: #fff;
}
.s-title,
.user-zone .s-title {
  font-size: 25px;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
}

.col-md-6 {
  position: relative;
  width: 100%;
  padding-right: 4px;
  padding-left: 4px;
  max-width: 362px;
}

@media (min-width: 768px) {
  .col-md-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.sso_form
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus,
.sso_form textarea:focus,
.sso_form select:focus {
  background: #eeedef;
  border: 1px solid #dadada;
}

@media (max-width: 768px) {
  .flex-invert {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
}

#sso_form_logout,
#sso_form_register,
#sso_form_verify,
#sso_form_login,
#sso_form_edit,
#sso_form_resetpass {
  width: 100%;
}

#sso_form_edit .form-group svg {
  position: absolute;
  top: 15px;
  right: 10px;
}

.sso_form .form-group.has-error .l-input,
.sso_form .form-group.has-error .l-input:focus {
  border: 1px solid #00b140;
}

.error-block {
  color: #00b140;
  display: none;
}

.error-txt {
  font-size: 14px;
  margin-bottom: 0;
}

.success-block .success-txt {
  color: #eb1010;
  font-size: 14px;
  font-weight: 600;
}

.user-login {
  background: url("../img/icon-new_user.svg") no-repeat;
  width: 26px;
  height: 26px;
  text-indent: -9999px;
  cursor: pointer;
  margin-top: -10px;
  z-index: 10;
  position: absolute;
  right: 15px;
}

#dag-login-message,
#dag-register-message,
#dag-resetpass-message,
#dag-verify-message,
#dag-edit-message {
  color: #ff0000;
}

/* FOOTER */
footer {
  padding: 30px 0;
  background-color: #f8f8f8;
  border-top: solid 6px #00b140;
}
.footer-logo img {
  animation-delay: 0s;
  width: 80px;
  height: 48px;
  margin: auto;
}
.footer-menu {
  display: flow;
  text-align: center;
}
.footer-menu li {
  width: 100%;
  padding: 8px 10px;
  display: inline-block;
}
.footer-menu a {
  font-size: 14px;
  color: #222;
  text-decoration: none;
  border-bottom: solid 1px #00b140;
}
.social-logo {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}
.social-logo li {
  margin: 0 5px;
}
.social-logo a {
  width: 40px;
  height: 40px;
  display: block;
  overflow: hidden;
  background-size: 100% 100%;
  border-radius: 50%;
  text-align: center;
  padding-top: 8px;
}
.social-logo img {
  width: 24px;
  height: 24px;
  display: inline-block;
}
.logo-facebook {
  background-color: #3b5998;
}
.logo-instagram {
  background-color: #e1306c;
}
.logo-youtube {
  background-color: #ff0000;
}
.logo-tiktok {
  background-color: #000000;
}
.rights {
  text-align: center;
  padding: 15px 0;
  font-size: 13px;
  color: #222;
}
@media (min-width: 768px) {
  .footer-menu li,
  .footer-menu li a {
    width: initial;
    display: inline-block;
  }
}

/* RULES */
.feature-section {
  background: linear-gradient(135deg, #00d29a, #005940);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  color: white;
  height: 100%;
}
.feature-card {
  color: unset;
  text-decoration: none;
}
.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 1rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 992px) {
  .feature-grid {
    display: flex;
    overflow: scroll;
    flex-wrap: nowrap;
  }
  .feature-card {
    min-width: 240px;
    flex: 1;
  }
}
.feature-image {
  border-radius: 12px;
}
.feature-image img {
  width: 100%;
}
.feature-content {
  padding-top: 10px;
}
.feature-content h3 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 800;
}
.feature-content p {
  line-height: 1.5;
  opacity: 0.9;
}

/* ARTICLE */
.articles {
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  color: white;
}
.section-title {
  color: #fff;
  padding: 0 10px;
  margin-bottom: 1rem;
  position: relative;
}
.article-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 10px;
  position: relative;
}
.article-row,
.feature-grid {
  scrollbar-color: lightgray #005940;
}
.article-card {
  min-width: 240px;
  flex: 1;
  color: unset;
  text-decoration: none;
}
.article-image {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  margin-bottom: 12px;
}
.article-card p {
  font-size: 14px;
  line-height: 1.5;
}
.dashboard {
  display: flex;
  margin: 35px auto;
}

/* SIDEBAR */
.sidebar {
  width: 240px;
  padding-right: 24px;
  border-right: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.avatar {
  width: 52px;
  height: 52px;
  background: #000;
  border-radius: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 40px;
}

.menu {
  list-style: none;
}
.menu li a {
  color: unset;
  text-decoration: none;
}
.menu li {
  margin-bottom: 22px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  transition: 0.3s;
}

.menu li:hover {
  color: #0d5040;
}

.divider {
  height: 1px;
  background: #ddd;
  margin: 30px 0;
}

/* MAIN CONTENT */

.content {
  flex: 1;
  margin-left: 24px;
}

.top-section {
  display: block;
  margin-bottom: 30px;
}

/* HERO */

.hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 230px;
  background: linear-gradient(#00604670, #0d5040), url(../images/fifa2.png);
  background-size: cover;
  background-position: center;
  padding: 34px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero p {
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 28px;
  font-size: 15px;
}

.stats {
  display: flex;
  gap: 60px;
}

.stat span {
  display: block;
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.stat h2 {
  font-size: 48px;
  font-weight: 800;
}

/* MATCH SECTION */

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
}

.section-header p {
  margin-top: 6px;
  color: #666;
}

.tabs {
  display: flex;
  gap: 10px;
}

.tab {
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.tab.active {
  background: #e7e8e9;
}

/* MATCH GRID */

.match-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.match-card {
  background: white;
  border-radius: 18px;
  padding: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 20px;
}
.ranking-description .badge {
  color: #fff;
  background: #00946c;
  padding: 5px 10px;
}
.badge.green {
  background: #00946c;
  color: white;
}

.badge.gray {
  background: #efefef;
  color: #777;
}
.badge.end {
  background: #ffe5e5;
  color: #777;
  border: 1px solid #dc0510;
  padding: 5px;
}
.match-time-small {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 11px;
  color: #777;
}

.team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.team-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.ball {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #efefef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  padding: 5px;
}

.score-input {
  width: 60px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 28px;
  font-weight: 700;
  color: #111;
  text-align: right;
  outline: none;
  font-family: "Poppins", sans-serif;
}

.score-input::-webkit-outer-spin-button,
.score-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.finished .score-input {
  color: #111;
}

.finished .score-input {
  color: #111;
  pointer-events: none;
}

.odd {
  flex: 1;
  background: #f1f1f1;
  border-radius: 10px;
  text-align: center;
  padding: 12px 0;
  font-size: 13px;
  color: #666;
}

.odd strong {
  display: block;
  color: #111;
  margin-top: 4px;
  font-size: 16px;
}

.odd.active {
  background: #0d4ea6;
  color: white;
}

.predict-btn {
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #b0ea00;
  font-weight: 600;
  cursor: pointer;
}

.finished {
  opacity: 0.75;
}

.final-result {
  background: #f3f3f3;
  padding: 5px 10px;
  border-radius: 5px;
  color: #000000;
  width: fit-content;
}

/* FLOAT BUTTON */

.floating-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #004d40;
  color: white;
  border: none;
  padding: 20px 28px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.plus {
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 1200px) {
  .match-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .avatar {
    display: none;
  }

  .divider {
    margin: 0;
    margin-bottom: 20px;
  }

  .dashboard {
    flex-direction: column;
    padding: 0 15px;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding-right: 0;
  }

  .match-grid {
    grid-template-columns: 1fr;
  }

  .content {
    margin-left: 0;
  }

  .match-card {
    min-height: 250px;
  }

  .menu {
    display: flex;
    gap: 5px;
    overflow: scroll;
  }

  .menu li {
    padding: 10px;
    white-space: nowrap;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }

  .stats {
    gap: 30px;
  }

  .stat h2 {
    font-size: 32px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* how to play page */
.step {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0 5px;
  background: #ddff75;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* FAQ */
.faq-container {
  max-width: 680px;
  margin-top: 2rem;
}

details summary .icon svg {
  height: 24px;
  display: flex;
}

details .faq-content img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  margin: 16px 0;
  box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.2);
}

details .faq-content {
  padding: 16px;
  line-height: 1.8;
  margin-top: -10px;
}

details summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: #025442;
  color: #fff;
  user-select: none;
  transition: all 120ms ease;
  font-weight: 500;
}

details {
  background: #025442;
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] summary {
  margin-bottom: 10px;
  border-bottom: 1px solid #cccccc50;
}

details summary .icon {
  transition: all 120ms ease;
}

details[open] summary .icon {
  rotate: 180deg;
}

.faq-content ul li {
  font-size: 0.875rem;
  list-style: none;
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.prediction-type h4 {
  margin: 0 0 10px;
  font-weight: 600;
  color: #fff;
}

.prediction-type p {
  margin: 0;
  color: #bdbdbd;
  line-height: 1.7;
}

.prediction-type ul {
  margin: 0;
  padding-left: 20px;
  color: #bdbdbd;
}

.prediction-type li + li {
  margin-top: 6px;
}

/* PROFILE page */
.profile-section {
  display: grid;
  align-items: start;
}

@media (min-width: 768px) {
  .profile-section {
    grid-template-columns: 440px 1fr;
  }
}

.badge {
  color: #b8ff63;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0;
}

.stats {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.stat-card {
  flex: 1;
  background: #090909;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.stat-card span {
  text-transform: uppercase;
  color: #a4a4a4;
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: 600;
}

.stat-card strong {
  color: #b8ff63;
  font-weight: 800;
}

@media (min-width: 768px) {
  .stat-card {
    padding: 30px;
    min-height: 160px;
  }

  .stat-card strong {
    font-size: 42px;
  }
}

.predictions {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 768px) {
  .predictions {
    grid-template-columns: 1fr 360px;
  }
}

/* TABLE */
table {
  border-collapse: collapse;
  width: 100%;
}

td,
th {
  border: 1px solid #dddddd4d;
  text-align: left;
  padding: 8px;
}
.table-card {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.table-head,
.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  align-items: center;
  gap: 10px;
}

.table-head {
  background: #1b1b1b;
  color: #bfbfbf;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .table-head {
    font-size: 12px;
  }
  .global-standings .table-head,
  .global-standings .table-row {
    grid-template-columns: 30px 1fr 1fr 1fr 1fr;
  }
}

.table-row {
  padding: 15px 10px;
  color: white;
  font-weight: 600;
}
.team {
  text-align: left;
}
@media (max-width: 768px) {
  .team {
    max-width: 130px;
    overflow: scroll;
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  .history .table-head,
  .history .table-row {
    grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
  }

  .table-head {
    padding: 24px 30px;
  }

  .history .table-row {
    text-align: left;
  }
  .table-row {
    padding: 30px;
  }
}

.score-pill {
  background: #ececec;
  color: #000;
  padding: 8px 18px;
  border-radius: 8px;
  white-space: nowrap;
}

.positive {
  color: #b8ff63;
}

.negative {
  color: red;
}

/* Terms & cond */
.terms_group {
  margin-top: 2rem;
}

.terms_content {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}

.terms_number {
  background: #b4fd62;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  width: 50px;
  height: 45px;
  border-radius: 13%;
  text-align: center;
}

.terms_title {
  font-size: 1.3rem;
  margin-bottom: 0;
}
.position {
  text-align: left;
}

/* LIGILE MELE */
.leagues-page .league-section {
  margin-bottom: 36px;
}

.leagues-page .section-title {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 8px;
  padding-left: 0;
  color: #00946c;
}

.leagues-page .section-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.leagues-page .league-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

.leagues-page .league-card {
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

.leagues-page .league-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.leagues-page .league-card-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

.leagues-page .league-card-link {
  font-size: 14px;
  font-weight: 600;
  color: #0d5040;
  text-decoration: none;
}

.leagues-page .league-card-link:hover {
  text-decoration: underline;
}

.leagues-page .badge-creator {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: #e8f5f0;
  color: #0d5040;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.leagues-page .league-forms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.leagues-page .league-form-box {
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 20px;
  background: #0d5040;
}
.leagues-page .league-form-box:nth-child(2) {
  background: #16705b;
}
.leagues-page .league-form-box h3 {
  font-size: 16px;
  margin: 0 0 12px;
  color: #fff;
}

.leagues-page .form-field {
  margin-bottom: 12px;
}

.leagues-page .form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}

.leagues-page .form-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.leagues-page .form-field input:disabled {
  background: #eee;
  cursor: not-allowed;
}

.leagues-page .form-hint {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}

.leagues-page .form-error {
  font-size: 13px;
  color: #c0392b;
  margin-top: 6px;
}

.leagues-page .status-message {
  padding: 12px 16px;
  background: #e8f5f0;
  color: #0d5040;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.leagues-page .submit-btn {
  padding: 10px 20px;
  background: #1f1f1f;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.leagues-page .submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.leagues-page .empty-state {
  font-size: 14px;
  color: red;
}
.league-show-page .back-link {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 14px;
  color: #0d5040;
  text-decoration: none;
  font-weight: 600;
}

.league-show-page .back-link:hover {
  text-decoration: underline;
}

.league-show-page .league-header h1 {
  font-size: 28px;
  margin: 0 0 8px;
}

.league-show-page .league-header p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.league-show-page .invite-code-box {
  margin-top: 24px;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 12px;
  border: 1px solid #eaeaea;
}

.league-show-page .invite-code-box h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #333;
}

.league-show-page .invite-code {
  font-family: monospace;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #0d5040;
}

.league-show-page .invite-hint {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}

.league-show-page .members-section {
  margin-top: 32px;
}

.league-show-page .members-section h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.league-show-page .members-table {
  width: 100%;
  border-collapse: collapse;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.league-show-page .members-table th,
.league-show-page .members-table td {
  padding: 20px;
  text-align: left;
  font-size: 14px;
  border: none;
  color: #fff;
}

.league-show-page .members-table th {
  font-weight: 600;
  color: #bfbfbf;
  text-transform: uppercase;
  padding: 20px;
  border: none;
  background: #1b1b1b;
}

.league-show-page .status-message {
  padding: 12px 16px;
  background: #e8f5f0;
  color: #0d5040;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.league-show-page .member-you {
  font-size: 12px;
  color: #b8ff63;
  font-weight: 600;
}

.league-show-page .delete-league-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eaeaea;
}

.league-show-page .delete-league-hint {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

.league-show-page .delete-btn {
  padding: 10px 20px;
  background: #fff;
  color: #c0392b;
  border: 1px solid #c0392b;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.league-show-page .delete-btn:hover {
  background: #fdf2f2;
}

.league-show-page .delete-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.league-show-page .form-error {
  font-size: 13px;
  color: #c0392b;
  margin-top: 12px;
}

.league-show-page .leaderboard-section {
  margin-top: 32px;
}

.league-show-page .leaderboard-section h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.league-show-page .leaderboard-rank {
  font-size: 14px;
  color: #0d5040;
  margin-bottom: 16px;
  font-weight: 600;
}

.league-show-page .leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.league-show-page .leaderboard-table th,
.league-show-page .leaderboard-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid #eaeaea;
  font-size: 14px;
  border: none;
  color: #fff;
}

.league-show-page .leaderboard-table th {
  font-weight: 600;
  color: #bfbfbf;
  text-transform: uppercase;
  border: none;
  padding: 20px;
  background: #1b1b1b;
}

.league-show-page .leaderboard-you {
  color: #fff;
}

/* dashboard etape */
.dashboard .team-row {
  margin-bottom: 3px;
}

.dashboard .score-input {
  width: 40px;
  height: 36px;
  border: 1px solid #eaeaea;
  text-align: center;
}

.dashboard .score-input::placeholder {
  color: #bbb;
}

.dashboard .ball {
  width: 28px;
  height: 21px;
  border-radius: 5px;
  padding: 0;
  overflow: hidden;
  background: #f0f0f0;
  flex-shrink: 0;
}

.dashboard .ball .team-flag {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dashboard .match-result {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
}

.dashboard .match-card-badges,
.dashboard .match-card-prediction-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.dashboard .match-card-badges .badge,
.dashboard .match-card-prediction-badges .badge {
  margin-bottom: 0;
}

.dashboard .badge.gray,
.dashboard .badge.green,
.dashboard .badge.booster {
  padding: 5px;
}

.dashboard .match-card.finished .match-card-badges {
  margin-bottom: 8px;
}

.dashboard .match-card.finished .match-card-prediction-badges {
  margin-bottom: 16px;
}

.dashboard .badge.booster {
  background: #fff3cd;
  color: #856404;
}

.dashboard .booster-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  cursor: pointer;
}

.dashboard .booster-hint {
  margin-top: 6px;
  font-size: 12px;
  color: #888;
}

.dashboard .prediction-error {
  margin-top: 8px;
  font-size: 13px;
  color: #c0392b;
}

.dashboard .predict-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.dashboard .etape-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  margin-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.dashboard .etape-pill {
  scroll-snap-align: start;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 108px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  background: #fafafa;
  color: #333;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}

.dashboard .etape-pill:hover {
  background: rgba(0, 177, 64, 0.08);
  border-color: #00b140;
  color: #333;
}

.dashboard .etape-pill.is-active {
  background: #005940;
  border-color: transparent;
  color: #fff;
}

.dashboard .etape-pill.is-active .etape-pill-progress,
.dashboard .etape-pill.is-active .etape-pill-badge {
  color: rgba(255, 255, 255, 0.85);
}

.dashboard .etape-pill.is-current:not(.is-active) {
  border-color: #00b140;
  background: rgba(0, 177, 64, 0.06);
}

.dashboard .etape-pill.is-closed:not(.is-active) {
  opacity: 0.82;
}

.dashboard .etape-pill.is-empty:not(.is-active) {
  opacity: 0.65;
}

.dashboard .etape-pill-top {
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 768px) {
  .dashboard .etape-pill-top {
    flex-direction: column-reverse;
  }
}
.dashboard .etape-pill-label {
  font-size: 14px;
  font-weight: 800;
}

.dashboard .etape-pill-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0, 177, 64, 0.12);
  color: #00b140;
}

.dashboard .etape-pill.is-active .etape-pill-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.dashboard .etape-pill-check {
  font-size: 12px;
  font-weight: 800;
  color: #00b140;
}

.dashboard .etape-pill.is-active .etape-pill-check {
  color: rgba(255, 255, 255, 0.9);
}

.dashboard .etape-pill-progress {
  font-size: 12px;
  font-weight: 600;
  color: #888;
}

.dashboard .etape-context-banner {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.dashboard .etape-context-banner.is-info {
  border: 1px solid #00b140;
  background: rgba(0, 177, 64, 0.08);
  color: #333;
}

.dashboard .etape-context-banner.is-muted {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  color: #666;
}

/* Ranking page */

.ranking-page .ranking-description p {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.ranking-page .ranking-description .badge {
  color: #fff;
  background: #00946c;
  padding: 5px 10px;
  margin-bottom: 0;
}

.ranking-page .ranking-description p:not(:has(.badge)) {
  padding-top: 20px;
}

.ranking-page .ranking-tabs {
  margin-bottom: 24px;
}

.ranking-page .ranking-tabs .tab {
  display: inline-flex;
  min-width: 108px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  background: #fafafa;
  color: #333;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.ranking-page .ranking-tabs .tab:hover {
  background: rgba(0, 177, 64, 0.08);
  border-color: #00b140;
  color: #333;
}
.ranking-page .ranking-tabs .tab.active {
  background: #e7e8e9;
}

.ranking-page .user-rank {
  margin: 0 0 24px;
  padding: 14px 18px;
  background: #e8f5f0;
  color: #0d5040;
  border-radius: 10px;
  font-weight: 600;
}

.ranking-page .global-standings .table-head,
.ranking-page .global-standings .table-row {
  grid-template-columns: 50px 2fr 1fr 1fr 1fr 1fr;
}
@media (max-width: 768px) {
  .history .table-head > div:nth-child(5),
  .history .table-row > div:nth-child(5) {
    display: none;
  }
  .dashboard.profile-page .history .table-head,
  .dashboard.profile-page .history .table-row {
    grid-template-columns: repeat(5, 1fr);
  }
}
.ranking-page .global-standings .table-row.is-you {
  background: #1f3d32;
}

.ranking-page .member-you {
  font-size: 12px;
  color: #7dcea0;
  font-weight: 600;
  margin-left: 6px;
}

.ranking-page .leaderboard-window-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: #666;
}

.ranking-page .global-standings .table-row-gap {
  background: transparent;
  pointer-events: none;
}

.ranking-page .global-standings .table-row-gap .table-row-gap-label {
  grid-column: 2 / -1;
  text-align: center;
  color: #999;
  letter-spacing: 2px;
  font-weight: 600;
}

.ranking-page .etape-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
}

.ranking-page .etape-pill {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 5px 10px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #666;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.15s,
    color 0.15s;
}

.ranking-page .etape-pill:hover {
  background: #f0f0f0;
  color: #333;
}

.ranking-page .etape-pill.is-active {
  background: #e7e8e9;
  color: #111;
}

.ranking-page .etape-pill.is-current:not(.is-active) {
  color: #0d5040;
}

.ranking-page .etape-pill.is-closed:not(.is-active),
.ranking-page .etape-pill.is-empty:not(.is-active) {
  opacity: 0.55;
}

.ranking-page .etape-pill-top {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ranking-page .etape-pill-label {
  font-size: 12px;
  font-weight: 600;
}

.ranking-page .etape-pill-badge {
  display: none;
}

.ranking-page .etape-pill-check {
  font-size: 10px;
  font-weight: 700;
  color: #0d5040;
}

.ranking-page .etape-pill.is-active .etape-pill-check {
  color: #333;
}

@media (max-width: 768px) {
  .ranking-page .global-standings .table-head,
  .ranking-page .global-standings .table-row {
    grid-template-columns: 30px 1.5fr 1fr 1fr 1fr 1fr;
    font-size: 12px;
  }

  .ranking-page .ranking-tabs {
    flex-wrap: wrap;
  }
}
