.new-uk-refer-modal {
  display: none; /* Initially hidden */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}
/* Modal Content */
.new-uk-refer-modal-content {
  background: white;
  padding: 35px 30px;
  width: 800px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  animation: modal-fadeIn 0.3s ease-in-out;
  position: relative;
}
.new-uk-refer-modal-content p {
  text-align: left;
  font-size: 14px;
}

#barclaysFormModal .new-uk-refer-modal-content,
#annaFormModal .new-uk-refer-modal-content,
#monzoFormModal .new-uk-refer-modal-content,
#lloydFormModal .new-uk-refer-modal-content {
  max-height: 85%;
  overflow-y: scroll;
}
.new-uk-refer-apply-btn {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: none;
  background: gray;
  color: white;
  cursor: not-allowed;
  border-radius: 5px;
}
.new-uk-refer-apply-btn.new-uk-refer-enabled {
  background: var(--dark-blue-color);
  cursor: pointer;
}

/* Close Button */
.new-uk-refer-close {
  float: right;
  font-size: 35px;
  cursor: pointer;
  color: var(--dark-blue-color);
  position: absolute;
  right: 15px;
  top: 10px;
}
/* Checkbox Label */
.new-uk-refer-modal-footer {
  text-align: left;
  display: flex;
  align-items: start;
  margin: 25px 0;
}
.new-uk-refer-modal-footer input {
  display: block;
  width: 20px;
  height: 20px;
  margin-top: 0;
  margin-right: 10px;
}
.new-uk-refer-modal-footer label {
  margin-bottom: 0;
  font-weight: bold;
}

/* Tide */
.tideAccountUk_container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: block;
  opacity: 0;
  z-index: 9999;
  animation: tidefadeIn 0.5s ease-in-out forwards;
}

/* The animation to fade in */
@keyframes tidefadeIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95); /* Slightly scaled down initially */
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1); /* Fully visible and normal size */
  }
}

/* Overlay background for the popup */
.popupOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark background */
  z-index: 9998; /* Just below the popup */
  display: none; /* Hidden by default */
}

/* Other CSS remains the same */
.tideAccountUk_closeBtn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 35px;
  cursor: pointer;
  color: white;
  background: none;
  border: none;
  z-index: 10;
}

.tideAccountUk_header {
  background: linear-gradient(135deg, var(--dark-blue-color), #3a464d);
  padding: 20px 30px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tideAccountUk_logoContainer {
  display: flex;
  align-items: center;
}

.tideAccountUk_logo {
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

.tideAccountUk_logoText {
  color: #036dbc;
  font-size: 24px;
  font-weight: bold;
}

.tideAccountUk_headerTitle {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0;
}

.tideAccountUk_content {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.tideAccountUk_instructionText {
  line-height: 1.6;
  margin-bottom: 30px;
  color: #444;
  text-align: center;
}

.tideAccountUk_buttonContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
}

.tideAccountUk_button {
  background-color: var(--dark-blue-color);
  color: #fff;
  border-radius: 50px;
  padding: 15px 30px;
  min-width: 250px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tideAccountUk_button:hover {
  background-color: var(--light-blue-color);
  color: white;
}

.tideAccountUk_rewardBadge {
  position: absolute;
  top: 20px;
  right: 50px;
  background-color: #ff3333;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.tideAccountUk_rewardText {
  font-size: 12px;
  display: block;
  text-align: center;
}

.tideAccountUk_deviceIcon {
  margin-right: 10px;
  font-size: 20px;
}

.tideAccountUk_logoImage_02 {
  display: none;
}
/*  */

.design-container {
  background: white;
  padding: 60px 15px;
}

.design-3 .offers-grid {
  display: grid;
  gap: 60px;
}
.design-3 .offer-card {
  display: grid;
  grid-template-columns: 1fr 3fr;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 3px 2px 20px -8px rgba(0, 0, 0, 0.67);
}
.design-3 .offer-card:hover {
  /* border: 1px solid #e5e7eb; */
}
.design-3 .card-left {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-right: 1px solid #e5e7eb;
}
.design-3 .bank-name {
  font-size: 40px;
  font-weight: 700;
}
.design-3 .reward-box {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  width: 100%;
}
.design-3 .reward-box .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 8px;
  font-weight: 600;
}
.design-3 .reward-box .amount {
  font-size: 56px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.design-3 .card-right {
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.design-3 .offer-header {
  margin-bottom: 20px;
}
.design-3 .offer-header h3 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: 0.4px;
}

.highlight-price {
  color: #036dbc;
}
.design-3 .offer-header .info-text {
  color: var(--light-text);
  line-height: 1.8;
}
.design-3 .info-list {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}


.design-3 .info-item
{
    display: flex;
    align-items: center;
    gap: 5px;
}

.design-3 .info-item i {
    color: #10b981;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    padding-right: 5px;
  }

.button-only {
  display: flex;
  justify-content: center;
  gap: 50px;
}
.design-3 .cta-button {
    font-weight: 600;
    padding: 15px 30px;
    border: 2px solid var(--dark-blue-color);
    background: transparent;
    color: var(--dark-blue-color) !important;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 363px;
    text-align: center;
    margin: 0 auto;
}

.card-left .plus-only {
  font-size: 90px;
  line-height: 90px;
}

.card-left .tide-bank-img {
  position: relative;
}

.tide-bank-img img:nth-child(2) {
  width: 50%;
  margin-left: 50%;
}

.referral-label {
  font-weight: 700;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Barclays Design */
@font-face {
  font-family: "BarclaysEffra_Md";
  src: url(../../fonts/barclay-fonts/BarclaysEffra_Md.ttf);
  /* src: url(../../fonts/barclay-fonts/); */

  font-weight: 500;
}
@font-face {
  font-family: "BarclaysEffra_Rg";
  src: url(../../fonts/barclay-fonts/BarclaysEffra_Rg.ttf);
}
.extra-info-barclays .txt-01,
.extra-info-barclays .txt-02 {
  color: #333;
  font-weight: 500;
  font-family: "BarclaysEffra_Md" !important;
  line-height: 26px;
  font-size: 20px;
}
.specialFontPara_01 {
  font-family: "BarclaysEffra_Rg" !important;
  font-size: 11px;
  line-height: 26px;
  margin-bottom: 0;
}
/*  */

.reward-sticker {
  display: inline-block;
  position: relative;
  margin-bottom: 20px;
}

.sticker-circle {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
  border: 6px solid white;
  outline: 2px solid #fbbf24;
  transform: rotate(-12deg);
  transition: transform 0.3s;

  position: relative;
  overflow: hidden;
}

.sticker-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  opacity: 0.95;
}

.sticker-amount {
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  margin: 4px 0;
}

.sticker-text {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
}
.reward-sticker:hover .sticker-circle {
  transform: rotate(0deg);
}

/* Thin shimmer line */
.sticker-circle::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 10%; /* 👈 thinner */
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: thinShimmer 5s infinite;
}

#buttonBankTest {
  cursor: pointer;
  color: #364eff;
  font-weight: 500;
  text-decoration: underline;
}
.new_uk_popUpContent {
  display: none;
  background-color: #333;
  text-align: left;
  color: #fff;
  padding: 20px;
  position: absolute;
  z-index: 999;
  width: 95%;
  font-size: 13px;
  border-radius: 10px;
  top: 28%;
}
.proceed-btn {
  border: none;
}
.text-black {
  color: var(--dark-blue-color);
}
.anna-bank-img img {
  margin-left: 20px;
}

/* Animation: sweep fast, then wait */
@keyframes thinShimmer {
  0% {
    left: -40%;
  }
  15% {
    left: 130%;
  }
  100% {
    left: 130%;
  }
}

/* Bank Slider Animation Starts Here */
.ba-home-bank-partner {
  padding: 40px 0;
}

.ba-bank-carousel-wrapper {
  overflow: hidden;
  position: relative;
}

.ba-bank-carousel-track {
  display: flex;
  animation: scroll 15s linear infinite;
  width: fit-content;
  padding: 10px 0;
}

.ba-bank-carousel-track:hover {
  animation-play-state: paused;
}

.ba-bank-carousel-slide {
  flex-shrink: 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-bank-carousel-brand-logo {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  /* opacity: 0.8; */
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ba-bank-carousel-brand-logo:hover {
  opacity: 1;
  filter: grayscale();
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Gradient overlays for smooth edge effect */
.ba-bank-carousel-wrapper::before,
.ba-bank-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.ba-bank-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
}

.ba-bank-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
}

@media (max-width: 768px) {
  .ba-bank-carousel-brand-logo {
    height: 60px;
    max-width: 150px;
  }

  .ba-bank-carousel-slide {
    padding: 0 25px;
  }

  .ba-bank-carousel-track {
    animation: scroll 10s linear infinite;
  }

  .ba-bank-carousel-wrapper ::before,
  .ba-bank-carousel-wrapper ::after {
    width: 80px;
  }
}

@media (max-width: 480px) {
  .ba-bank-carousel-brand-logo {
    height: 50px;
    max-width: 120px;
  }

  .ba-bank-carousel-slide {
    padding: 0 20px;
  }

  .ba-bank-carousel-wrapper ::before,
  .ba-bank-carousel-wrapper ::after {
    width: 50px;
  }
  .ba-home-bank-partner {
  padding: 0;
}
}

/* Bank Slider Animation Ends Here */

/* Media Query */

@media (max-width: 1350px) {
  .design-3 .info-item {
    gap: 5px;
    font-size: 12px;
  }
  .earning-br {
    display: none;
  }
  .design-3 .info-item i
  {
    font-size: 16px;
  }
}

@media (max-width: 1199px) {
  .design-3 .info-item {
    font-size: 12px;
  }
  .design-3 .card-left {
    padding: 40px 20px;
  }
  .button-only {
    flex-direction: column;
    gap: 20px;
  }
  .design-3 .cta-button {
    width: 365px;
  }
}

@media (max-width: 1050px) {
  .design-3 .info-list {
    flex-direction: column;
    display: inline-flex;
  }
}

@media (max-width: 992px) {
  .design-3 .offer-card,
  .barclays-bank-img {
    display: flex;
    flex-direction: column;
  }

  .barclays-bank-img img:nth-child(2),
  .barclays-bank-img img:nth-child(1) {
    width: 80%;
    margin: 0 auto;
  }

  .tide-bank-img img:nth-child(1) {
    width: 60%;
    margin: 0 auto;
  }

  .tide-bank-img img:nth-child(2) {
    width: 35%;
  }

  .sticker-circle {
    width: 300px;
    height: 300px;
  }

  .anna-bank-img img {
    margin: 0 auto;
    display: block;
    text-align: center;
    margin-left: 60px;
  }
  .worldfirst-bank-img img {
    width: 450px;
    margin-bottom: 25px;
  }
  .sticker-label,
  .sticker-text {
    font-size: 20px;
  }
  .sticker-amount {
    margin: 10px 0;
  }
  .revolut-bank-img img {
    width: 60%;
  }
  .design-3 .info-list {
    flex-direction: row;
    display: flex;
    flex-direction: column;
  }
  .design-3 .info-item {
    font-size: 15px;
  }
  .new-uk-refer-modal-content {
    width: 90%;
  }
}

@media (max-width: 768px) {

  #barclaysFormModal .new-uk-refer-modal-content,
  #annaFormModal .new-uk-refer-modal-content,
  #monzoFormModal .new-uk-refer-modal-content,
  #lloydFormModal .new-uk-refer-modal-content {
    height: 600px;
    overflow-y: scroll;
  }
    .tideAccountUk_container {
    width: 85%;
}
.tideAccountUk_logoContainer
{
  margin: 0 auto;
    gap: 20px;
    flex-direction: column;
}
}

@media (max-width: 576px) {
  .barclays-bank-img img:nth-child(2),
  .barclays-bank-img img:nth-child(1) {
    width: 65%;
  }
  .sticker-circle {
    width: 250px;
    height: 250px;
  }
  .sticker-label,
  .sticker-text {
    font-size: 18px;
  }
  .design-3 .offer-header h3 {
    font-size: 24px;
  }

  .anna-bank-img img {
    margin-left: 40px;
  }
  .transwap-bank-img img {
    width: 65%;
  }
  .anna-bank-img img {
    width: 65%;
    margin: 0 auto;
    margin-left: 100px;
  }
  .worldfirst-bank-img img {
    width: 300px;
  }
  .design-3 .card-right {
    padding: 40px 20px;
  }
  .extra-info-barclays .txt-01,
  .extra-info-barclays .txt-02 {
    font-size: 16px;
  }
  .design-container {
    padding: 40px 15px;
  }
  .new-uk-refer-modal-content {
    width: 95%;
    max-height: 640px;
    overflow-y: scroll;
  }
  #barclaysFormModal .new-uk-refer-modal-content,
  #annaFormModal .new-uk-refer-modal-content,
  #monzoFormModal .new-uk-refer-modal-content,
  #lloydFormModal .new-uk-refer-modal-content {
    height: 650px;
  }
  h3.text-left {
    font-size: 24px;
  }
  .common-section-wrapper .title {
    font-size: 24px;
  }
  .new-uk-refer-modal-content {
    padding: 35px 15px;
  }
  .new-uk-refer-modal-content p {
    font-size: 13px;
  }
  .new-uk-refer-modal-footer label {
    font-size: 14px;
  }
  .new-uk-refer-modal-footer {
    margin: 0;
  }
}

@media (max-width: 450px) {
  .design-3 .cta-button {
    width: 340px;
    font-size: 14px;
  }
  .anna-bank-img img {
    margin-left: 80px;
  }
  .tideAccountUk_headerTitle
  {
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .sticker-circle {
    width: 200px;
    height: 200px;
  }
  .sticker-label,
  .sticker-text {
    font-size: 13px;
  }
  .new_uk_popUpContent {
    font-size: 11px;
  }
  .tideAccountUk_button
  {
    font-size: 12px;
  }
}

@media (max-width: 390px) {
  .design-3 .cta-button {
    width: 300px;
    font-size: 12px;
  }
  .global-hero-brand-title {
    font-size: 30px;
  }
  /* .g-recaptcha {
    position: relative;
    left: -24px;
  } */
  .worldfirst-bank-img img {
    width: 250px;
  }
  h3.text-left {
    font-size: 20px;
  }
  .design-3 .info-item {
    font-size: 11px;
  }
}
