body {
  background-color: #f6f6f6 !important;
}

.redirect-app-container {
  min-height: 50vh;
  background-color: #f6f6f6;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-logo {
  margin-bottom: 1.5rem;
  text-align: center;
}

.diners-logo {
  height: 50px;
}

.main-card {
  position: relative;
  width: 1094px;
  height: 412px;
  background: url("/themes/contrib/barebones_enhanced/assets/images/apps_redirect/phone-mockup.png")
    no-repeat center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 90px;
  opacity: 1;
}

.left-content {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  max-width: 450px;
  margin-right: 3rem;
}

.blu-logo {
  width: 80px;
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.app-title {
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  text-align: center;
  color: #333;
  margin-bottom: 1.5rem;
  width: 100%;
}

.app-subtitle {
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  color: #666;
  margin: 0;
  width: 100%;
}

.right-content {
  flex: 0 0 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  margin-left: 2rem;
}

.phone-container {
  position: relative;
  width: 250px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-container {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(35px) translateX(-3px);
}

#qr_code_open_link canvas,
#qr_code_open_link img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 8px;
}

.download-button {
  display: none;
}

@media (max-width: 1000px) {
  .main-card {
    background: white;
    background-image: none;
    width: 90%;
    max-width: 400px;
    height: auto;
    padding: 3rem 2rem;
    border-radius: 20px;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .left-content {
    flex: none;
    margin-right: 0;
    max-width: 100%;
    width: 100%;
  }

  .blu-logo {
    width: 100px;
    margin-bottom: 2rem;
  }

  .app-title {
    font-size: 20px;
    margin-bottom: 2rem;
    line-height: 1.2;
  }

  .app-subtitle {
    display: none;
  }

  .right-content {
    display: none;
  }

  .download-button {
    display: block;
    background: #4285f4;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    min-width: 200px;
  }

  .download-button:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
  }
}

@media (max-width: 440px) {
  .main-card {
    width: 95%;
    padding: 2rem 1.5rem;
  }

  .blu-logo {
    width: 80px;
  }

  .app-title {
    font-size: 18px;
    line-height: 1.3;
  }

  .download-button {
    font-size: 14px;
    padding: 0.8rem 1.5rem;
    min-width: 180px;
  }
}

@media (min-width: 441px) and (max-width: 600px) {
  .redirect-app-container {
    padding: 1rem 0.5rem;
  }

  .main-card {
    width: 95%;
    max-width: 350px;
    padding: 2rem 1.5rem;
  }

  .app-title {
    font-size: 16px;
    margin-bottom: 1.5rem;
  }

  .download-button {
    font-size: 14px;
    padding: 0.8rem 1.2rem;
    min-width: 160px;
  }
}

@media (max-width: 440px) {
  .redirect-app-container {
    padding: 1rem 0.25rem;
  }

  .main-card {
    width: 98%;
    padding: 1.5rem 1rem;
  }
}
