.lineup-builder-container {
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    padding: 20px 0;
}

#teamModal, #wikimediaLogoModal, #backgroundModal, #playerModal, #presetBackgroundModal {
    font-family: 'Segoe UI', sans-serif;
}

#teamModal, #backgroundModal, #playerModal {
    z-index: 2002;
}

#wikimediaLogoModal, #presetBackgroundModal {
    z-index: 2003;
}

#presetBgGallery {
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.preset-bg {
    width: 120px;
    height: 90px;
    object-fit: cover;
    margin: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s, border 0.3s;
}

.preset-bg:hover {
    border: 2px solid #007f5f;
    transform: scale(1.05);
}

.preset-bg.selected {
    border: 3px solid #28a745;
}

.builder-options button {
	  margin: 10px;
}

.player-wrapper {
    text-align: center;
    margin: 0 1vw;
    flex-shrink: 0;
    flex-grow: 0;
    box-sizing: border-box;
    transition: width 0.3s ease;
}

.player {
    background: #f8f9fa;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    aspect-ratio: 1 / 1;
    width: 100%;
    font-size: 1.10rem;
    position: relative;
    transition: width 0.3s ease;
}

.player-name.goalkeeper-name {
    white-space: nowrap !important;
    width: 100%;
    min-width: 100px;
    margin-left: -10px;
    max-width: none;
    text-align: center;
    font-size: 1rem;
}

.player-name.goalkeeper-name::before {
    content: '';
    background-image: url('../../images/fun/goalkeeper-icon.png');
    background-size: 16px 16px;
    background-repeat: no-repeat;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    position: relative;
    left: 0;
    top: 5px;
}

.player.player-empty::after {
    content: "?";
    position: absolute;
    font-size: 2rem;
    color: #333;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.player.player-empty:hover {
    background-color: #ffbf00;
    position: relative;
}

.player.player-empty:hover::after {
    content: "+";
    position: absolute;
    font-size: 2rem;
    color: #333;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.player-name {
    background: #cdeac0;
    color: #000;
    font-size: 1rem;
    padding: 3px 6px;
    margin-top: 5px;
    border-radius: 0 0 5px 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

#previewImage {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 2px solid #007f5f;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

#lineupCaptureWrapper {
    margin: 0 auto;
    max-width: 600px;
}

.field-container {
    background-color: #007f5f;
    background-image: url(../../images/fun/soccer-fields/soccer-field.jpeg);
    border: 5px solid #fff;
    border-radius: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 20px 20px 40px;
    margin: 30px auto;
    margin-top: 0;
    max-width: 600px;
    position: relative;
    min-height: 400px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    transition: background-color 0.3s ease, background-image 0.3s ease;
	box-sizing: border-box;
    overflow-x: hidden;
}

.field-row {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    overflow-x: hidden;
    padding: 0 10px;
    box-sizing: border-box;
}

.team-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    background-color: #007f5f;
    border: 5px solid #fff;
    border-bottom: none !important;
    border-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    flex-wrap: wrap;
}

.team-header img {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.team-header div {
    min-width: 40px;
    min-height: 40px;
}

.modal-body label {
    font-weight: 600;
    color: #12232E;
}

.wikimedia-thumb {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 4px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}
.wikimedia-thumb:hover {
    transform: scale(1.1);
    border-color: #0078d7;
}

.custom-file-upload {
    cursor: pointer;
    padding: 6px 12px;
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid #007f5f;
    color: #007f5f;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
    user-select: none;
}

.custom-file-upload:hover {
    background-color: #007f5f;
    color: #fff;
}

#wikimediaLogoModal img {
    max-height: 60px;
    cursor: pointer;
    margin: 4px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: 0.2s ease-in-out;
}

#wikimediaLogoModal img:hover {
    border-color: #007bff;
    transform: scale(1.05);
}

.options-button {
    color: #000;
}

.options-button:hover {
    background-color: #0045cc;
    color: #fff;
}

.reset-button {
    background-color: #ff4444;
    color: #000;
}

.reset-button:hover {
    background-color: #aa0000;
    color: #fff;
}

.download-png-button {
    background-color: #006000;
    color: #fff;
    border-color: #fff;
}

.download-png-button:hover {
    background-color: #003000;
    color: #ccc;
    border-color: #ccc;
}

.download-png-button:active {
    border-color: #fff;
}

.soccer-section {
  background: linear-gradient(to bottom, #0c1f15, #163021, #1f3d2b);
}

.spad {
  padding-top: 100px;
  padding-bottom: 100px;
}
.breadcrumb-option {
  position: relative;
  padding-top: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.breadcrumb-option::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.breadcrumb-option > * {
  position: relative;
}

.breadcrumb__text h2 {
  color: #ffffff;
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 12px;
}

.breadcrumb__links a {
  font-size: 16px;
  color: #ffffff;
  font-weight: 300;
  display: inline-block;
  margin-right: 32px;
  position: relative;
}
.breadcrumb__links a:after {
  position: absolute;
  right: -22px;
  top: -3px;
  content: "/";
  color: #adadad;
  font-size: 20px;
}
.breadcrumb__links a:hover {
  color: #fff000;
}
.breadcrumb__links span {
  font-size: 16px;
  color: #adadad;
  font-weight: 300;
  display: inline-block;
}

.site-wrap:before {
  display: none;
  -webkit-transition: .3s all ease-in-out;
  -o-transition: .3s all ease-in-out;
  transition: .3s all ease-in-out;
  background: rgba(0, 0, 0, 0.6);
  content: "";
  position: absolute;
  z-index: 2000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden; }

.offcanvas-menu .site-wrap {
  height: 100%;
  width: 100%;
  z-index: 2; }
  .offcanvas-menu .site-wrap:before {
    opacity: 1;
    visibility: visible; }

/* Navbar */
.site-logo {
  position: relative;
  font-weight: 900;
  font-size: 1.3rem; }
  .site-logo a {
    color: #fff; }

.site-navbar {
  margin-bottom: 0px;
  z-index: 1999;
  position: absolute;
  width: 100%; }
  .site-navbar .container-fluid {
    padding-left: 7rem;
    padding-right: 7rem; }
  .site-navbar .site-navigation.border-bottom {
    border-bottom: 1px solid #f3f3f4 !important; }
  .site-navbar .site-navigation .site-menu {
    margin-bottom: 0; }
    .site-navbar .site-navigation .site-menu .active > a {
      display: inline-block;
      position: relative; }
      .site-navbar .site-navigation .site-menu .active > a:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 15px;
        right: 15px;
        height: 4px;
        background: #fff; }
    .site-navbar .site-navigation .site-menu a {
      text-decoration: none !important;
      display: inline-block; }
    .site-navbar .site-navigation .site-menu > li {
      display: inline-block; }
      .site-navbar .site-navigation .site-menu > li > a {
        padding: 5px 20px;
        margin: 10px;
        color: #fff;
        background-color: rgba(0, 0, 0, 0.45);
        font-size: 12px;
        letter-spacing: .1rem;
        text-transform: uppercase;
        font-weight: 400;
        display: inline-block;
        text-decoration: none !important; }
        .site-navbar .site-navigation .site-menu > li > a:hover {
          color: #fff;
          background-color: #000; }
    .site-navbar .site-navigation .site-menu .has-children {
      position: relative; }
      .site-navbar .site-navigation .site-menu .has-children > a {
        position: relative;
        padding-right: 20px; }
        .site-navbar .site-navigation .site-menu .has-children > a:before {
          position: absolute;
          content: "\e313";
          font-size: 16px;
          top: 50%;
          right: 0;
          -webkit-transform: translateY(-50%);
          -ms-transform: translateY(-50%);
          transform: translateY(-50%);
          font-family: 'icomoon'; }
      .site-navbar .site-navigation .site-menu .has-children .dropdown {
        visibility: hidden;
        opacity: 0;
        top: 100%;
        position: absolute;
        text-align: left;
        border-top: 2px solid #f89d13;
        -webkit-box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.1);
        box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.1);
        border-left: 1px solid #edf0f5;
        border-right: 1px solid #edf0f5;
        border-bottom: 1px solid #edf0f5;
        padding: 0px 0;
        margin-top: 20px;
        margin-left: 0px;
        background: #fff;
        -webkit-transition: 0.2s 0s;
        -o-transition: 0.2s 0s;
        transition: 0.2s 0s; }
        .site-navbar .site-navigation .site-menu .has-children .dropdown.arrow-top {
          position: absolute; }
          .site-navbar .site-navigation .site-menu .has-children .dropdown.arrow-top:before {
            bottom: 100%;
            left: 20%;
            border: solid transparent;
            content: " ";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none; }
          .site-navbar .site-navigation .site-menu .has-children .dropdown.arrow-top:before {
            border-color: rgba(136, 183, 213, 0);
            border-bottom-color: #fff;
            border-width: 10px;
            margin-left: -10px; }
        .site-navbar .site-navigation .site-menu .has-children .dropdown a {
          text-transform: none;
          letter-spacing: normal;
          -webkit-transition: 0s all;
          -o-transition: 0s all;
          transition: 0s all;
          color: #343a40; }
        .site-navbar .site-navigation .site-menu .has-children .dropdown .active > a {
          color: #f89d13 !important; }
        .site-navbar .site-navigation .site-menu .has-children .dropdown > li {
          list-style: none;
          padding: 0;
          margin: 0;
          min-width: 200px; }
          .site-navbar .site-navigation .site-menu .has-children .dropdown > li > a {
            padding: 9px 20px;
            display: block; }
            .site-navbar .site-navigation .site-menu .has-children .dropdown > li > a:hover {
              background: #f4f5f9;
              color: #25262a; }
          .site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children > a:before {
            content: "\e315";
            right: 20px; }
          .site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children > .dropdown, .site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children > ul {
            left: 100%;
            top: 0; }
          .site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children:hover > a, .site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children:active > a, .site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children:focus > a {
            background: #f4f5f9;
            color: #25262a; }
      .site-navbar .site-navigation .site-menu .has-children:hover > a, .site-navbar .site-navigation .site-menu .has-children:focus > a, .site-navbar .site-navigation .site-menu .has-children:active > a {
        color: #f89d13; }
      .site-navbar .site-navigation .site-menu .has-children:hover, .site-navbar .site-navigation .site-menu .has-children:focus, .site-navbar .site-navigation .site-menu .has-children:active {
        cursor: pointer; }
        .site-navbar .site-navigation .site-menu .has-children:hover > .dropdown, .site-navbar .site-navigation .site-menu .has-children:focus > .dropdown, .site-navbar .site-navigation .site-menu .has-children:active > .dropdown {
          -webkit-transition-delay: 0s;
          -o-transition-delay: 0s;
          transition-delay: 0s;
          margin-top: 0px;
          visibility: visible;
          opacity: 1; }
    .site-navbar .site-navigation .site-menu.site-menu-dark > li > a {
      color: #000; }

.site-mobile-menu {
  width: 300px;
  position: fixed;
  right: 0;
  z-index: 2000;
  padding-top: 20px;
  background: #0a1a12;
  height: calc(100vh);
  -webkit-transform: translateX(110%);
  -ms-transform: translateX(110%);
  transform: translateX(110%);
  -webkit-box-shadow: -10px 0 20px -10px rgba(0, 0, 0, 0.1);
  box-shadow: -10px 0 20px -10px rgba(0, 0, 0, 0.1);
  -webkit-transition: .3s all ease-in-out;
  -o-transition: .3s all ease-in-out;
  transition: .3s all ease-in-out; }
  .offcanvas-menu .site-mobile-menu {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%); }
  .site-mobile-menu .site-mobile-menu-header {
    width: 100%;
    float: left;
    padding-left: 20px;
    padding-right: 20px; }
    .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close {
      float: right;
      margin-top: 8px; }
      .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close span {
        font-size: 30px;
        display: inline-block;
        color: #999;
        padding-left: 10px;
        padding-right: 0px;
        line-height: 1;
        cursor: pointer;
        -webkit-transition: .3s all ease;
        -o-transition: .3s all ease;
        transition: .3s all ease; }
        .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close span:hover {
          color: #555; }
    .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo {
      float: left;
      margin-top: 10px;
      margin-left: 0px; }
      .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo a {
        display: inline-block;
        text-transform: uppercase; }
        .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo a img {
          max-width: 70px; }
        .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo a:hover {
          text-decoration: none; }
  .site-mobile-menu .site-mobile-menu-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    padding: 0 20px 20px 20px;
    height: calc(100vh - 52px);
    padding-bottom: 150px; }
  .site-mobile-menu .site-nav-wrap {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative; }
    .site-mobile-menu .site-nav-wrap a {
      padding: 10px 20px;
      display: block;
      position: relative;
      color: #fff; }
      .site-mobile-menu .site-nav-wrap a:hover {
        color: #f89d13; }
    .site-mobile-menu .site-nav-wrap li {
      position: relative;
      display: block; }
      .site-mobile-menu .site-nav-wrap li.active > a {
        color: #f89d13; }
    .site-mobile-menu .site-nav-wrap .arrow-collapse {
      position: absolute;
      right: 0px;
      top: 10px;
      z-index: 20;
      width: 36px;
      height: 36px;
      text-align: center;
      cursor: pointer;
      border-radius: 50%; }
      .site-mobile-menu .site-nav-wrap .arrow-collapse:hover {
        background: #f8f9fa; }
      .site-mobile-menu .site-nav-wrap .arrow-collapse:before {
        font-size: 12px;
        z-index: 20;
        font-family: "icomoon";
        content: "\f078";
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%) rotate(-180deg);
        -ms-transform: translate(-50%, -50%) rotate(-180deg);
        transform: translate(-50%, -50%) rotate(-180deg);
        -webkit-transition: .3s all ease;
        -o-transition: .3s all ease;
        transition: .3s all ease; }
      .site-mobile-menu .site-nav-wrap .arrow-collapse.collapsed:before {
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%); }
    .site-mobile-menu .site-nav-wrap > li {
      display: block;
      position: relative;
      float: left;
      width: 100%; }
      .site-mobile-menu .site-nav-wrap > li > a {
        padding-left: 20px;
        font-size: 20px; }
      .site-mobile-menu .site-nav-wrap > li > ul {
        padding: 0;
        margin: 0;
        list-style: none; }
        .site-mobile-menu .site-nav-wrap > li > ul > li {
          display: block; }
          .site-mobile-menu .site-nav-wrap > li > ul > li > a {
            padding-left: 40px;
            font-size: 16px; }
          .site-mobile-menu .site-nav-wrap > li > ul > li > ul {
            padding: 0;
            margin: 0; }
            .site-mobile-menu .site-nav-wrap > li > ul > li > ul > li {
              display: block; }
              .site-mobile-menu .site-nav-wrap > li > ul > li > ul > li > a {
                font-size: 16px;
                padding-left: 60px; }
    .site-mobile-menu .site-nav-wrap[data-class="social"] {
      float: left;
      width: 100%;
      margin-top: 30px;
      padding-bottom: 5em; }
      .site-mobile-menu .site-nav-wrap[data-class="social"] > li {
        width: auto; }
        .site-mobile-menu .site-nav-wrap[data-class="social"] > li:first-child a {
          padding-left: 15px !important; }

.btn.btn-primary:hover {
    border-color: #fff;
    background: #000;
    color: #fff; }

a {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease; }
  a:hover {
    text-decoration: none; }

.footer-section {
  padding: 70px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  background: #0a1a12; }
  .footer-section .widget h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px; }
  .footer-section .widget .links li {
    margin-bottom: 10px; }
    .footer-section .widget .links li a {
      text-decoration: none;
      color: rgba(255, 255, 255, 0.5); }
      .footer-section .widget .links li a:hover {
        color: #f89d13; }