.circle-offer-section {
    position: absolute;
    z-index: -1;

    &.circle1 {
        width: 250px;
        height: 250px;
        left: 115px;
        top: 300px;
    }

    &.circle2 {
        width: 600px;
        height: 600px;
        left: -170px;
        top: 700px;
        opacity: 0.8;
    }

    &.circle3 {
        width: 350px;
        height: 350px;
        right: -50px;
        top: 250px;
        opacity: 0.7;
    }

    &.circle4 {
        width: 250px;
        height: 250px;
        right: -100px;
        top: 1000px;
    }
}
#oferta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 160px 20px 0px 20px;;
}
.btn-back {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    max-width: 1300px;
    text-align: start;
    margin-left: 40px;
}
.oferta-header, .oferta-content {
    width: 100%;
    max-width: 1300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    gap: 30px;
    border: 1px solid #ACA5A5;
    background-color: #fff;
    backdrop-filter: blur(42px);
    box-shadow: 0px 9px 12px 0px #00000040;
    border-radius: 34px;
}

.oferta-header {
    .oferta__meta {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 900px;

        .oferta__title {
            font-weight: 700;
            font-size: 34px;
            line-height: 34px;
        }

        .oferta__badge {
            color: #7C7878;
            font-size: 13px;
            margin-top: 10px;
        }

        .oferta-icons {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #7C7878;
            font-size: 13px;
            margin-top: 20px;
            width: 100%;
            flex-wrap: wrap;

            .location {
                position: relative;

                &:before {
                    content: url(https://mintimedica.pl/wp-content/themes/stellarsite/assets/images/svg/location-svg.svg);
                    position: absolute;
                    width: 24px;
                    height: 24px;
                    left: -25px;
                    top: -3px;
                }
            }

            .oferta__salary {
                position: relative;

                &:before {
                    content: url(https://mintimedica.pl/wp-content/themes/stellarsite/assets/images/svg/salary-icon.svg);
                    position: absolute;
                    width: 24px;
                    height: 24px;
                    left: -25px;
                    top: -3px;
                }
            }

            .czas-pracy {
                position: relative;

                &:before {
                    content: url(https://mintimedica.pl/wp-content/themes/stellarsite/assets/images/svg/clock-svg1.svg);
                    position: absolute;
                    width: 24px;
                    height: 24px;
                    left: -25px;
                    top: -3px;
                }
            }

            .oferta-type {
                position: relative;

                &:before {
                    content: url(https://mintimedica.pl/wp-content/themes/stellarsite/assets/images/svg/dock-icon.svg);
                    position: absolute;
                    width: 24px;
                    height: 24px;
                    left: -25px;
                    top: -3px;
                }
            }
        }
    }
    .oferta__cta {
        background: #E74D4D;
        width: 200px;
        height: 55px;
        border-radius: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 18px;
        font-weight: 600;
        color: #fff;
        text-decoration: none;
        cursor: pointer;
        backdrop-filter: blur(42px);
        box-shadow: 0px 9px 12px 0px #00000040;
    }
}

.oferta-content {
    margin-top: 30px;

    article {
        width: 100%;
        max-width: 900px;
        font-size: 21px;
        line-height: 34px;
        font-weight: 500;

        strong, h2 {
            font-weight: 700;
            font-size: 21px;
            line-height: 34px;
        }

        ul {
            margin-left: 20px;
        }
    }

    .oferta__cta {
        background: #E74D4D;
        width: 200px;
        height: 55px;
        border-radius: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 18px;
        font-weight: 600;
        color: #fff;
        text-decoration: none;
        cursor: pointer;
        backdrop-filter: blur(42px);
        box-shadow: 0px 9px 12px 0px #00000040;
        margin-top: 20px;
    }
}

@media (max-width: 1024px) {
    #oferta {
        padding: 120px 20px 0px 20px;;
    }
}

@media (max-width: 768px) {
    #oferta {
        padding: 80px 10px 0px 10px;;
    }
    .circle-offer-section {
        &.circle1 {
            width: 150px;
            height: 150px;
            left: -80px;
            top: 300px;
        }
    }
    .oferta-header {
        .oferta__meta {
            .oferta-header {
                font-size: 21px;
                line-height: 34px;
            }
            .oferta-icons {
                flex-direction: column;
                justify-content: start;
                align-items: start;
                gap: 30px;
                margin-left: 60px;

                .oferta__langs {
                    margin-left: -20px;
                }
            }
        }
    }
    .oferta-content {
        article {
            font-size: 13px;
            line-height: 21px;

            strong, h2 {
                font-weight: 700;
                font-size: 13px;
            }
        }
    }
}

/* Cały overlay */
.popup{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.6);
  opacity:0;
  visibility:hidden;
  transition:opacity .3s;
  z-index:-1;
  overflow-y: auto;

    .popup__inner {
        width: 100%;
        max-width: 1920px;
        backdrop-filter: blur(42px);
        box-shadow: 0px 9px 12px 0px #00000040;
        border-radius: 34px;
        min-height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px;
        gap: 30px;

        @media (max-width: 768px) {
            margin-top: 600px;
        }

          p {
    color: #000;
  }

  .text {
    font-weight: 400;
    font-size: 30px;
    line-height: 45px;
    max-width: 1150px;
    text-align: center;

            @media (max-width: 768px) {
            font-size: 18px;
        }

    span {
      font-weight: 700;
    }
  }

  .heading {
    font-size: 65px;
    line-height: 90px;
    font-weight: 500;

                @media (max-width: 768px) {
            font-size: 60px;
            text-align: center;
        }

    span {
      color: #52a7a4;
      font-weight: 600;
    }
  }
       
    .wpcf7-form {
      max-width: 950px;

      .komunikat {
        display: none
      }
      
      .klauzula {
        font-size: 10px;
        margin-top: 20px;
        margin-bottom: 10px;
      }
      .form_cv_col {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;

        &:nth-child(2) {
          p:nth-child(2) {
            label {
              &::before {
                content: "*";
                color: rgba(231, 77, 77, 1);
                margin-right: 5px;
              }
            }
          }
        }

        p {
          @media (max-width: 767px) {
            margin: 5px auto;
          }
          label {
            font-weight: 700;
            font-size: 11px;
            line-height: 100%;
            letter-spacing: 0%;
            margin-left: 25px;

            span {
              input:not(.wpcf7-file) {
                width: 450px;
                height: 55px;
                border-radius: 30px;
                border: 1px solid rgba(172, 165, 165, 1);
                background: #fff;
                font-size: 16px;
                padding-left: 25px;
                backdrop-filter: blur(42px);
                box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);

                @media (max-width: 1024px) {
                  width: 350px;
                }

                &:focus {
                  outline: none;
                  &::placeholder {
                    opacity: 0;
                    transition: 0.3s;
                  }
                }

                &::placeholder {
                  color: rgba(128, 128, 128, 1);
                  font-weight: 400;
                  font-size: 16px;
                  transition: 0.3s;
                }
              }
            }
            span[data-name="file-436"] {
              width: 450px;
              height: 55px;
              border-radius: 30px;
              border: 1px solid rgba(172, 165, 165, 1);
              background: #fff;
              font-size: 16px;
              padding-left: 4px;
              position: relative;
              display: flex;
              align-items: center;
              justify-content: flex-start;
              cursor: pointer;
              backdrop-filter: blur(42px);
              box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);

              @media (max-width: 1024px) {
                width: 350px;
              }

              input {
                color: rgba(0, 0, 0, 0.5);
                font-size: 16px;
                overflow: hidden;

                &::file-selector-button,
                &::-webkit-file-upload-button {
                  background: rgba(82, 167, 164, 1);
                  color: #fff;
                  width: 157px;
                  height: 45px;
                  border: none;
                  padding: 6px 16px;
                  margin-right: 10px;
                  font-weight: 600;
                  border-radius: 30px;
                  cursor: pointer;
                  transition: 0.3s;
                  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.15);
                  font-size: 16px;
                }
              }
            }
          }
        }

        @media (max-width: 767px) {
          gap: 0;
        }
      }

      .required-header {
        margin-top: 20px;
        font-weight: 600;
        font-size: 16px;

        &::before {
          content: "*";
          color: rgba(231, 77, 77, 1);
          margin-right: 5px;
        }
      }

      .wpcf7-acceptance {
        .wpcf7-list-item {
          label {
            input {
              margin-right: 10px;
            }
            span {
              font-size: 16px;
              font-weight: 600;

              @media (max-width: 767px) {
                font-size: 13px;
                font-weight: 400;
              }
            }
          }
        }
      }

      p {
        @media (max-width: 767px) {
          .wpcf7-spinner {
            position: absolute;
            right: 20px;
          }
        }
        span[data-name="acceptance-970"] {
          .wpcf7-acceptance {
            .wpcf7-list-item {
              label {
                span {
                  &::before {
                    content: "*";
                    color: rgba(231, 77, 77, 1);
                    margin-right: 5px;
                  }
                }
              }
            }
          }
        }
      }

      p:has(.wpcf7-submit) {
        display: flex;
        justify-content: center;
        margin-top: 30px;

        .wpcf7-submit {
          width: 200px;
          height: 55px;
          background-color: rgba(231, 77, 77, 1);
          border-radius: 30px;
          color: #fff;
          font-weight: 600;
          font-size: 18px;
          text-transform: uppercase;
          border: none;
          transition: 0.3s;
          cursor: pointer;
          z-index: 1;

          &:disabled {
            background-color: rgba(231, 77, 77, 0.5);
            cursor: not-allowed;
          }

          @media (hover: hover) {
            &:hover {
              background-color: rgba(231, 77, 77, 0.8);
              transition: 0.3s;
            }
          }
        }
      }
    }
  }
}
.popup.is-open{opacity:1;visibility:visible;z-index: 999;}

/* Sam moduł */
.popup__inner{
  background:#fff;
  padding:2rem;
  max-width:600px;      /* dopasuj */
  width:90%;
  border-radius:12px;   /* tu możesz zmienić border-radius */
  position:relative;
  box-shadow:0 12px 40px rgba(0,0,0,.3);
}

/* Krzyżyk */
.popup__close{
  position:absolute;
  top:12px;right:12px;
  font-size:2rem;
  line-height:1;
  background:none;
  border:none;
  cursor:pointer;
}

/* Blokada scrolla tła */
body.popup-open{overflow:hidden}
