.bp-raffle-entry {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.bp-raffle-entry__card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 1.2rem 1.5rem;
  max-width: 522px;
  max-height: 725px;
  width: 100%;
  -webkit-box-shadow: 0 22px 44px rgba(12, 35, 82, 0.18);
          box-shadow: 0 22px 44px rgba(12, 35, 82, 0.18);
  border-bottom-right-radius: 76px;
  padding-bottom: 1.8rem;
}
.bp-raffle-entry__card.success {
  border-bottom-right-radius: 15px;
}
@media (max-width: 575px) {
  .bp-raffle-entry__card {
    padding: 1rem 0.85rem;
    border-radius: 12px;
    border-bottom-right-radius: 50px;
    max-height: 853px;
    overflow: auto;
  }
}

.bp-raffle-entry__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f2a5d;
  margin-bottom: 0.5rem;
}

.bp-raffle-entry__title {
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 0.875rem;
  font-weight: 600;
  text-align: center;
}
@media (max-width: 767px) {
  .bp-raffle-entry__title {
    font-size: 16px;
  }
}

.bp-raffle-entry__message {
  font-size: 14px;
  color: var(--color-grey7);
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
  padding: 0 20px;
}
@media (max-width: 767px) {
  .bp-raffle-entry__message {
    font-size: 0.75rem;
  }
}

.bp-raffle-entry__empty {
  background-color: #f9f1f1;
  border: 1px solid rgba(227, 30, 36, 0.2);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: #e31e24;
  font-weight: 600;
}

.bp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 10px;
}

.bp-form-field--checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.bp-form-field__checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--color-primary);
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
@media (max-width: 575px) {
  .bp-form-field__checkbox {
    font-size: 0.75rem;
  }
}

.bp-form-field__checkbox input[type=checkbox] {
  margin-top: 0.25rem;
}

.button-submit-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 30px;
}

.bp-raffle-entry__submit {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border: none;
  border-radius: 16px;
  padding: 0.5rem 2rem;
  background: -webkit-gradient(linear, left top, right top, from(#e31e24), to(#ff4d4d));
  background: linear-gradient(90deg, #e31e24 0%, #ff4d4d 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
}

.bp-raffle-entry__submit:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 12px 26px rgba(227, 30, 36, 0.35);
          box-shadow: 0 12px 26px rgba(227, 30, 36, 0.35);
}

.bp-raffle-entry__feedback--error {
  display: none;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #e31e24;
}

.bp-raffle-entry__feedback--error.is-visible {
  display: block;
}

.bp-raffle-entry__success {
  display: none;
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background-color: #f1faf5;
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #125b36;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
}

.bp-raffle-entry__success-icon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #22c55e;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
}

.bp-raffle-entry__success-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.bp-raffle-entry__success-message {
  font-size: 0.95rem;
  margin: 0;
}

.bp-raffle-entry__success.is-visible {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media (min-width: 576px) {
  .bp-raffle-entry__form {
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .bp-raffle-entry__form::-webkit-scrollbar {
    width: 6px;
    padding: 8px;
  }
  .bp-raffle-entry__form::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }
  .bp-raffle-entry__form::-webkit-scrollbar-track {
    background-color: transparent;
  }
}
@media (min-width: 769px) {
  .bp-raffle-entry__form {
    max-height: 725px;
  }
}
.bp-raffle-entry__form .form-control {
  border: 1px solid #d6d9e3;
}
.bp-raffle-entry__form .form-group.floating-label .form-control-label {
  top: 3;
  -webkit-transition: all 0.18s ease;
  transition: all 0.18s ease;
  font-size: 16px;
  font-weight: 400;
  color: #666666;
  text-wrap: nowrap;
  opacity: 1;
  -webkit-transform: none;
          transform: none;
}
.bp-raffle-entry__form .form-group.floating-label.focused .form-control-label, .bp-raffle-entry__form .form-group.floating-label.has-value .form-control-label {
  top: -7.5px !important;
  font-size: 0.63rem;
  color: var(--color-primary);
}
.bp-raffle-entry__form .form-group.floating-label .form-control.is-invalid + .form-control-label {
  top: 0;
}
.bp-raffle-entry__form .form-control {
  padding: 0.9rem 0.75rem 0.275rem 0.75rem;
}
.bp-raffle-entry__form select {
  font-size: 16px !important;
  padding: 0.531rem 0.75rem !important;
  color: #666666;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}
@media (max-width: 575px) {
  .bp-raffle-entry__form select {
    font-size: 16px !important;
  }
}
.bp-raffle-entry__form select[size] {
  max-height: 220px;
  overflow-y: auto;
}
.bp-raffle-entry__form .floating-label .form-control {
  font-size: 16px !important;
}
.bp-raffle-entry__form .floating-label {
  margin-bottom: 0;
}
.bp-raffle-entry__form .is-invalid ~ .invalid-feedback::before {
  content: "!";
  width: 18px;
  height: 18px;
  color: var(--color-red);
  border-radius: 50%;
  margin-right: 5px;
  border: 1px solid;
  position: relative;
  font-size: 12px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  text-align: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.channel-field,
.phone-field,
.email-field {
  grid-column: 1/-1;
}

.file-field .bp-form-field__label {
  font-size: 0.875rem;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

.bp-form-field__file-trigger {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.4rem 0.875rem;
  border: 1px solid #e31e24;
  background-color: #ffffff;
  border-radius: 12px;
  color: #e31e24;
}
@media (max-width: 575px) {
  .bp-form-field__file-trigger {
    font-size: 0.75rem;
  }
}

.consent-field {
  margin-left: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  position: relative;
}
.consent-field .invalid-feedback {
  position: absolute;
  bottom: -19px;
  left: 0;
  font-size: 12px;
}

.file-field {
  position: relative;
  height: 57px;
}
@media (max-width: 575px) {
  .file-field {
    margin-top: 15px;
  }
}
.file-field .invalid-feedback {
  position: absolute;
  bottom: -19px;
  left: 0;
  font-size: 12px;
}

.bp-form-field__file-name {
  font-size: 0.875rem;
  margin-left: 5px;
  color: var(--color-grey7);
}

.bp-form-field__file-remove {
  background: var(--color-red);
  color: white;
  border: none;
  width: 25px;
  height: 25px;
}

@media (max-width: 575px) {
  .department-field,
  .province-field,
  .district-field,
  .pharmacy-field,
  .document-type-field,
  .document-number-field,
  .consent-field,
  .file-field {
    grid-column: 1/-1;
  }
  .consent-field {
    margin-left: 0;
  }
  .bp-responsive-hero__overlay .experience-foreground {
    top: 5%;
  }
  .bp-responsive-hero--custom:has(.bp-responsive-hero__overlay) {
    height: 100vh;
    min-height: 900px;
  }
  .bp-responsive-hero--custom:has(.bp-responsive-hero__overlay) .bp-responsive-hero__picture,
  .bp-responsive-hero--custom:has(.bp-responsive-hero__overlay) .bp-responsive-hero__image {
    -o-object-fit: fill;
       object-fit: fill;
  }
  .bp-responsive-hero--custom:has(.bp-responsive-hero__overlay) .bp-raffle-entry {
    margin-bottom: 20px;
  }
}
.bp-responsive-hero__overlay {
  top: 0;
}
@media (min-width: 576px) {
  .bp-responsive-hero__overlay {
    padding-top: 25px;
    padding-left: 0;
    right: 0;
  }
}

.experience-formInputs {
  grid-column: 1/-1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}
.experience-formInputs .dual-input-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}
.experience-formInputs .dual-input-container .input-field {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
@media screen and (max-width: 575px) {
  .experience-formInputs .dual-input-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.experience-formInputs .location-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
}
@media screen and (max-width: 575px) {
  .experience-formInputs .location-container {
    grid-template-columns: 1fr;
  }
}
