.lb-teaser {
  width: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.lb-teaser__overlay {
  position: absolute;
  inset: 0;
}

.lb-teaser img {
  display: block;
  width: 90%;
  height: auto;
  margin:auto;
}

.lb-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.lb-modal.is-open {
  display: block;
}

.lb-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.lb-modal__dialog {
  position: relative;
  width: min(1280px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  margin: 12px auto;
  background: #fff;
  overflow: auto;
  padding: 25px;
  border-radius: 8px;
  font-family: "Aestetico", Sans-serif;
}

.lb-modal__close {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 3;

  display: flex !important;
  align-items: center;
  justify-content: center;

  width: 50px !important;
  height: 50px !important;
  padding: 0 !important;
  margin: 0 !important;

  border: 1px solid #781414 !important;
  background: #fff !important;
  color: #781414 !important;
  cursor: pointer !important;
  border-radius: 50px !important;
}

.lb-modal__close svg {
  width: 24px;
  height: 24px;
  display: block;
}

.lb-step {
  display: none;
}

.lb-step.is-active {
  display: block;
}

.lb-title {
  margin: 0 0 12px 0;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: #000000;
}

.lb-descriere{
  font-size: 14px;
  line-height: 1.2;
  width: 800px;
  max-width: 100%;
  text-align:center;
  color: #000000;
  margin: auto;
  padding:15px 0;
}

.lb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  background: #f7f7f7;
  cursor: pointer;
  font-weight: 600;
}


.lb-btn--primary {
  background: #000000;
  border-color: #000000;
  color: #fff;
}

.lb-btn--primary:hover,
.lb-btn--inscrie:hover {
  background: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
}

.lb-btn--genereaza {
  width: 200px !important;
  max-width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 7px 4px !important;
  border-radius: 50px !important;
  border: 1px solid #E30420 !important;
  background: #E30420 !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
}

.lb-btn--descarca {
  width: 200px !important;
  max-width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 7px 4px !important;
  border-radius: 50px !important;
  border: 1px solid #781414 !important;
  background: #781414 !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
}

.lb-btn--inscrie {
  width: 200px !important;
  max-width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 7px 4px !important;
  border-radius: 50px !important;
  border: 1px solid #000000 !important;
  background: #ffffff !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #000000 !important;
}

.lb-btn--genereaza:hover[disabled] {
  opacity: 0.55;
  cursor: not-allowed !important;
  border: 1px solid #E30420 !important;
  background: #E30420 !important;
}

.lb-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.lb-btn--back {
  border: none !important;
  text-decoration: underline !important;
  padding: 15px 0 !important;
  color: #000 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  background: transparent !important;
}

.lb-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.lb-row--back {
  justify-content: center;
}

.lb-row--end {
  justify-content: flex-end;
}


.lb-game-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.lb-counts {
  font-size: 13px;
  color: #444;
}

.lb-game {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.lb-game__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  align-items: start;
}



.lb-pitch-wrap {
  background: transparent;
  padding: 0;
  align-self: start;
}

.lb-pitch {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #781414;
  padding: 5%;
  border-radius: 8px;
}

.lb-pitch__img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}

.lb-pitch__slots {
  position: absolute;
  inset: 0;
}

.lb-slot {
  position: absolute;
  transform: translate(-50%, -50%);
  aspect-ratio: 0.88 / 1;
  background: #D0A66F;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  overflow: hidden;
}

.lb-slot.has-player {
  background: transparent;
}

.lb-slot.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(255, 255, 255, 0.95);
  pointer-events: none;
}

.lb-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lb-slot .lb-plus {
  font-size: clamp(24px, 4vw, 60px);
  font-weight: 100;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  /* transform: translateY(-5px); */
  font-family: "Times New Roman";
}

.lb-picker {
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 0;
}

.lb-picker__tabs {
  flex: 0 0 auto;
  padding-bottom: 20px;
}

.lb-picker__products {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;

  scrollbar-width: thin;
  scrollbar-color: #b7b7b7 transparent;
}

.lb-picker__products::-webkit-scrollbar {
  width: 6px;
}

.lb-picker__products::-webkit-scrollbar-track {
  background: transparent;
}

.lb-picker__products::-webkit-scrollbar-thumb {
  background: #b7b7b7;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.lb-picker__products::-webkit-scrollbar-thumb:hover {
  background: #8f8f8f;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.lb-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.lb-tab {
  width: 100% !important;
  min-width: 0;
  min-height: 38px;
  padding: 7px 4px !important;
  border-radius: 50px !important;
  border: 1px solid #781414 !important;
  background: #781414 !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
}

.lb-tab.is-active {
  background: #000000 !important;
  border-color: #000000 !important;
}

.lb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  min-height: 0;
  overflow: visible;
  padding-right: 4px;
}


.lb-card {
  border: 1px solid #eee;
  background: #fff;
  cursor: pointer;
  border-radius: 8px;
}

.lb-card img {
  width: 100%;
  height: 110px;
  object-fit: contain;
  background: #fafafa;
  display: block;
}

.lb-card__title {
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
}

.lb-game__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.lb-game__footer .lb-row {
  margin-top: 0;
  display: contents;
}

.lb-download {
  margin-top: 0;
}

.lb-signup-cta {
  margin-top: 0;
}

.lb-loader {
  position: absolute;
  inset: 0;
  z-index: 20;
}

.lb-loader__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.lb-loader__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lb-loader__content img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

[hidden] {
  display: none !important;
}

.lb-form-message[hidden] {
  display: none !important;
}

.lb-form-message {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.7);
}

.lb-form-message .wrapper-mesaj {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 600px;
  max-width: calc(100% - 40px);
  transform: translate(-50%, -50%);
  padding: 40px;
  background: #fff;
  border-radius: 8px;
}

.lb-form-message #close-mesaj {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 24px;
  cursor: pointer;
}

.lb-form-message.eroare .wrapper-mesaj {
  border-left: 10px solid #ffb900;
}

.lb-form-message.succes .wrapper-mesaj {
  border-left: 10px solid #46b450;
}

.lb-form-message #content-mesaj {
  text-align: left;
  font-size: 18px;
  line-height: 1.3;
}

.lb-form-message.succes #content-mesaj {
  text-align: center;
}

.lb-form-message.succes #content-mesaj .mesaj-participare h3 {
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

.wpcf7 form.sent .wpcf7-response-output {
  display: none !important;
}

.formular-giveaway .wpcf7-spinner {
  display: none;
}


.formular-giveaway {
  font-size: 0px;
  max-width: 100%;
  font-family: Aestetico;
  width: 800px;
  margin: auto;
}

.formular-giveaway p {
  font-size: 14px;
  font-family: Aestetico;
}

.formular-giveaway .formular-giveaway-left,
.formular-giveaway .formular-giveaway-right {
  display: inline-block;
  width: 50%;
  vertical-align: top;
}

.formular-giveaway .formular-giveaway-left p,
.formular-giveaway .formular-giveaway-right p {
  padding: 10px 0px;
}

.formular-giveaway .formular-giveaway-left {
  padding-right: 15px;
}

.formular-giveaway .formular-giveaway-right {
  padding-left: 15px;
}

.formular-giveaway input.wpcf7-text {
  font-size: 17px;
  font-weight: 600;
  color: #000000;
  font-family: Aestetico;
  border-radius: 50px;
  height: 50px;
  line-height: 50px;
  padding-left: 25px;
  border: 1px solid #ededed;
  background: #ededed;
}

.formular-giveaway .wpcf7-acceptance .wpcf7-list-item {
  margin-left: 0;
  color: #781414;
}

.formular-giveaway .wpcf7-acceptance .wpcf7-list-item-label a {
  color: #781414;
  font-weight: bold;
  text-decoration: underline;
}

.formular-giveaway .formular-giveaway-submit {
  text-align: center;
}

.formular-giveaway .formular-giveaway-submit .wpcf7-submit {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  border-radius: 50px;
  background: #E30420;
  border: none;
  margin-top: 30px;
  height: 50px;
  width: 250px;
  max-width: 100%;
}

.formular-giveaway .formular-giveaway-submit .wpcf7-submit[disabled]{
  opacity: 0.55;
}


.formular-giveaway select {
  background: transparent;
  font-size: 14px;
  padding: 16px;
}

.formular-giveaway .upload-icon {
  display: block;
  padding-bottom: 10px;
}


.formular-giveaway .wpcf7-not-valid-tip {
  margin-top: 0;
  padding-left: 20px;
}

@media (max-width:1680px) {
    .lb-teaser img {
      width: 95%;
    }
}

@media (max-width:1024px) {
    .lb-teaser img {
      width: 200%;
      margin-left: -50%;
      max-width: none !important;
    }
}

@media (min-width: 980px) {
  .lb-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lb-game__columns {
    grid-template-columns: 1.55fr 0.45fr;
    align-items: start;
  }
}

@media (max-width: 768px){
  .lb-title{
    font-size: 26px;
  }
  .lb-modal__close {
    top: 10px;
    right: 10px;
    width: 35px !important;
    height: 35px !important;
    border-radius: 8px !important;
  }
  .formular-giveaway .formular-giveaway-left, .formular-giveaway .formular-giveaway-right{
    width:100%;
    padding:0 !important;
  }
  .lb-modal__dialog {
    width: calc(100% - 16px);
    margin: 8px auto;
    padding: 16px;
    overflow-x: hidden;
  }
  
  .lb-game__columns {
    gap: 12px;
  }
  
  .lb-pitch-wrap {
    width: calc(100% + 36px);
    margin-left: -18px;
    margin-right: -18px;
  }
  
  .lb-pitch {
    padding: 7% 2.5%;
    border-radius: 0;
  }
  
  .lb-pitch__img {
    width: 200%;
    max-width: none !important;
    margin-left: -50%;
  }
  
  .lb-picker__tabs {
    padding-bottom: 12px;
  }
  
  .lb-card img {
    height: 130px;
  }
  .lb-loader {
    position: fixed;
  }
  .lb-game__footer{
    flex-direction: column;
  }
  .lb-download,
  .lb-signup-cta{
    width: 100%;
  }
  .lb-btn--genereaza,
  .lb-btn--descarca,
  .lb-btn--inscrie {
    width: 100% !important;
  }
}