@use "../../mixins" as *;
@use "../../variables" as *;

.apply {
  padding: 50px 0;
  margin-bottom: 50px;

  @include responsive(lg) {
    margin-bottom: 100px;
    padding: 85px 0;
  }

  background-color: $primary-color;
  color: $white-color;
  text-align: left;

  &__content {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;

    @include responsive(md) {
      grid-template-columns: 1fr 2.5fr;
      gap: 3rem;
    }
    gap: 2rem;

    align-items: start;
    width: 100%;
  }

  &__title {
    color: $white-color;
    margin-bottom: 2rem;
    text-transform: none;
  }


  
  &__button {
    display: inline-block;
    text-transform: capitalize;
    border-radius: 8px;
    background-color: $white-color;
    color: $black-color;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap; // prevents text wrap on smaller screens

    &:hover {
      background-color: $secondary-color;
      color: $white-color;
    }

    &:focus {
      outline: none;
      border-color: $secondary-color;
    }

    &:active {
      transform: scale(0.98);
    }

    @include responsive(sm) {
      padding: 0.5rem 1rem;
      border-radius: 6px;
    }

    @include responsive(md) {
      padding: 0.8rem 1.5rem;
      border-radius: 8px;
      margin-bottom: 3rem;
    }

    @include responsive(lg) {
      padding: 1rem 2rem;
      border-radius: 10px;
    }
  }

  &__cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  &__card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
  }

  &__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;

    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  &__card-text {
    text-align: left;
    // font-size: 1rem;
    // line-height: 1.5;
  }

  &__info {
    margin-top: 2rem;
  }

  &__info-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  &__info-label {
    font-weight: 600;
    font-size: 14px;
    // @include responsive(md) {
    //   font-size: 16px;
    // }
    // @include responsive(lg) {
    //   font-size: 19px;
    // }
  }

  &__info-value {
    opacity: 0.9;
    font-size: 14px;
    // @include responsive(md) {
    //   font-size: 16px;
    // }
    // @include responsive(lg) {
    //   font-size: 19px;
    // }
  }

  &__notification {
    @include responsive(md) {
      margin-top: 2rem;
    }
    text-align: left;
  }

  &__notification-title {
    font-weight: 600;
    font-size: 14px;
    @include responsive(md) {
      // font-size: 16px;
      margin-bottom: 0.25rem;
    }
    // @include responsive(lg) {
    //   font-size: 19px;
    // }
  }

  &__notification-text {
    opacity: 0.85;
  }
}
