/* ---------------------------------
   Global Reset and Base Styles
----------------------------------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Oxygen', sans-serif;
  background: linear-gradient(to right, #f4f5f7, #e8ecf2);
  color: #111;
}

/* ---------------------------------
   Layout Container
----------------------------------- */
.container {
  max-width: 1100px;
  margin: 60px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* ---------------------------------
   Left Section (Text Content)
----------------------------------- */
.left {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.success-title {
  font-family: 'Purple Purse', cursive;
  font-size: 4em;
  color: #5c2d91;
  margin-bottom: 20px;
}

.main-text,
.sub-text,
.section-title {
  font-family: 'Oxygen', sans-serif;
  font-weight: 700;
  font-size: 1.4em;
  margin: 15px 0;
}

/* ---------------------------------
   Button Styling
----------------------------------- */
.button {
  font-family: 'Roboto', sans-serif;
  background-color: #000;
  color: white;
  padding: 10px 24px;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin: 15px auto;
  text-decoration: none; /* ✅ Removes underline */
  transition: background 0.3s;
}

.button:hover {
  background-color: #333;
}

/* ---------------------------------
   Divider Styling
----------------------------------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px 0;
  width: 100%;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background-color: #ccc;
}

.divider span {
  margin: 0 15px;
  font-size: 1.2em;
  color: #999;
}

/* ---------------------------------
   Right Section (Image Content)
----------------------------------- */
.right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.right img {
  width: 75%;
  height: auto;
  max-width: 400px;
  object-fit: contain;
}

/* ---------------------------------
   Responsive Design (Mobile)
----------------------------------- */
@media (max-width: 500px) {
  body {
    background: #E9EDF3;
  }

  .success-title {
    font-size: 3em !important;
  }

  .main-text {
    font-size: 1.3em !important;
    margin-bottom: 60px;
  }

  .sub-text,
  .section-title {
    font-size: 1.2em !important;
    margin-bottom: 20px !important;
  }

  .button {
    width: auto !important;
    padding: 10px 15px;
    font-size: 1em;
    display: inline-block;
    margin-top: 0 !important;
  }

  .right img {
    max-width: 75%;
  }

  #call-activation-bar {
  position: relative; /* show below TV image */
  margin: 20px auto;
  width: calc(100% - 40px);
  max-width: 600px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 10px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: Arial, sans-serif;
  z-index: 1;
}
}
  .popup {
    position: fixed;
    top: 95%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centering the popup */
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 5px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    max-width: 320px;
    min-width: 240px;
    cursor: pointer; /* Make entire popup clickable */
    justify-content: center; /* Center all content horizontally */
  }

  .popup img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
  }

  .popup-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center; /* Center text */
  }

  .popup-number {
    font-size: 14px; /* Apply button-like font size */
    color: #007bc7;
    margin-top: 3px;
    font-weight: bold;
    cursor: pointer; /* Make number clickable */
    padding: 8px 14px;
    border: 2px solid #007bc7;
    border-radius: 6px; /* Button-like styling */
    background-color: white;
    transition: background-color 0.3s ease;
    display: inline-block;
  }

  .popup-number:hover {
    background-color: #007bc7;
    color: white;
  }

  .popup-close {
    position: absolute;
    height: 30px;
    width: 30px;
    top: -18px;
    right: -18px;
    background-color: white;
    border-radius: 50%;
    padding: 0; /* Remove padding to ensure it is centered */
    cursor: pointer;
    font-size: 18px; /* Adjust the font size to ensure it's centered */
    color: #777;
    border: 3px solid #007bc7; /* Proper circle with border */
    z-index: 1000; /* Ensure the close button is above the popup */
    display: flex;
    justify-content: center; /* Center cross horizontally */
    align-items: center; /* Center cross vertically */
  }

  /* Mobile responsiveness */
  @media (max-width: 480px) {
    .popup {
    position: fixed;
    top: 95%;
    left: 50%;
      padding: 2px;
      gap: 12px; /* Ensure proper gap between elements */
      max-width: 280px; /* Limit the width to avoid overflow */
      min-width: 240px;
    }

    .popup-text {
      font-size: 14px;
      text-align: center;
    }

    .popup-number {
      font-size: 14px;
      padding: 8px 14px;
    }

    .popup img {
      width: 55px;
      height: 55px;
    }

    .popup-close {
      top: -15px;
      right: -15px;
      font-size: 16px;
      padding: 6px;
    }
  
@media (max-width: 900px) {
  .call-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .call-icon .icon-white {
    color: white;
    font-size: 1.2em;
  }
}
}
@media (min-width: 501px) and (max-width: 900px) {
  .button {
    font-size: 1.2em;
    padding: 14px 28px;
  }
}