/* --- Base Popup Layout --- */

.modal-content{
    border: 0px !important;
}
.ces-popup-dialog {
  max-width: 1025px;
  width: 1025px;
  margin: auto;
  height: 466px !important;
  margin-top: 149px;
  font-family: 'Poppins', sans-serif;
}

@media (min-width: 1440px) {
  .ces-popup-dialog {
    margin-left: 208px;
    margin-right: auto;
  }
}

@media (max-width: 1439px) {
  .ces-popup-dialog {
    margin-left: auto;
    margin-right: auto;
  }
}

.ces-popup-content {
  border-radius: 24px;
  overflow: visible;
  position: relative;
  font-family: 'Poppins', sans-serif;
  background: #fff;
  width: 1025px;
  height: 466px;
}

.button-close svg {
  width: 24px;
  height: 24px;
}

/* --- Wrapper Structure --- */
.ces-popup-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.button-close {
  position: absolute;
  top: 0;
  right: -41px;
  background: #FF2121;
  border: none;
  /* z-index: 10; */
  cursor: pointer;
  padding: 0px 0px 0px 65px;
  width: 113px;
  height: 49px;
  border-radius: 24px;
  opacity: 1;
  transform: rotate(0deg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.close-icon {
  color: #fff;
  font-size: 40px;
  font-weight: 200;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Inner Structure --- */
.ces-popup-inner {
  display: flex;
  flex: 1;
  background: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

/* --- Left Section (Images) --- */
.ces-left {
  position: relative;
  flex: 0 0 44%;
  max-width: 44%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0px 30px 0px;
}

.ces-left-logo {
  position: absolute;
  width: 172.8275909423828px;
  height: 55.696388244628906px;
  top: 40px;
  left: 40px;
  opacity: 1;
  transform: rotate(0deg);
  object-fit: contain;
}

.ces-left-gif {
  position: absolute;
  width: 404px;
  height: 245.9130401611328px;
  top: 131px;
  left: 40px;
  opacity: 1;
  transform: rotate(-0deg);
  object-fit: fill;
}

/* --- Right Section (Content) --- */
.ces-right {
  flex: 0 0 60%;
  max-width: 60%;
  padding: 40px 40px 0 50px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* --- Headline --- */
.ces-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 36px;
  line-height: 43px;
  letter-spacing: 0px;
  vertical-align: middle;
  text-transform: capitalize;
  color: #000;
  margin-bottom: 12px;
  max-width: 374px;
}

.ces-title-purple {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 36px;
  line-height: 43px;
  letter-spacing: 0px;
  vertical-align: middle;
  text-transform: capitalize;
  color: #8456E0;
}

/* --- Tags/Pills --- */
.ces-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 33px;
}

.ces-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 38px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 16px;
  line-height: 21px;
  letter-spacing: 0px;
  vertical-align: middle;
  text-transform: capitalize;
  white-space: nowrap;
  height: 29px;
}

.ces-tag-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  object-fit: contain;
  display: inline-block;
}

.ces-tag-blue {
  background: #A3EEFF;
  color: #005669;
  border : 1px solid #005669;
}

.ces-tag-yellow {
  background: #FFE6A3;
  color: #65511B;
  border: 1px solid #E4CF94;
}

.ces-tag-pink {
  background: #FFA3A3;
  color: #672B2B;
  border: 1px solid #FF9494; 
}

/* --- Description --- */
.ces-description {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 0px;
  vertical-align: middle;
  text-transform: capitalize;
  color: #000;
  margin-bottom: 36px;
}

.ces-description strong {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0px;
  vertical-align: middle;
  text-transform: capitalize;
}

/* --- Button --- */
.ces-button-container {
  margin-bottom: 20px;
  text-align: left;
}

.ces-btn {
  display: inline-block;
  background: #0D6EFD;
  color: #fff;
  padding: 13px 28px 10px 28px;
  border-radius: 55px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  transition: background-color 0.3s ease;
  text-transform: none;
  height: 52px;
}

.ces-btn:hover {
  background: #0B5ED7;
  color: #fff;
  text-decoration: none;
}

/* --- Footer Info Bar (Full Width) --- */
.ces-footer-info {
  background: #1118AC;
  border-radius: 0 0 24px 24px;
  padding: 20px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-shrink: 0;
  opacity: 0.8;
}

.ces-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0px;
  vertical-align: middle;
  text-transform: capitalize;
  flex: 0 1 auto;
  min-width: fit-content;
  position: relative;
  padding-right: 16px;
}

.ces-info-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: #555cfc;
  opacity: 0.5;
}

.ces-info-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain;
  display: inline-block;
}

.ces-info-item span {
  white-space: nowrap;
}

/* --- Responsive --- */
@media (max-width: 1440px) {
  .ces-popup-dialog {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Tablet - 1121px */
@media (max-width: 1121px) {
  .ces-popup-dialog {
    max-width: 90%;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .ces-popup-content {
    width: 100%;
    max-width: 100%;
  }

  .ces-heading {
    font-size: 28px;
    line-height: 34px;
  }

  .ces-title-purple {
    font-size: 28px;
    line-height: 34px;
  }

  .ces-tag {
    font-size: 14px;
    line-height: 18px;
    padding: 6px 12px;
    height: 26px;
  }

  .ces-description {
    font-size: 16px;
  }

  .ces-description strong {
    font-size: 16px;
  }

  .ces-btn {
    font-size: 18px;
    padding: 11px 24px 9px 24px;
    height: 48px;
  }

  .ces-info-item {
    font-size: 16px;
  }

  .ces-left-logo {
    width: 140px;
    height: 45px;
  }

  .ces-left-gif {
    width: 320px;
    height: 195px;
  }
}

@media (max-width: 1200px) {
  .ces-popup-content {
    width: 100%;
    max-width: 1025px;
  }
  
  .ces-popup-dialog {
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media (max-width: 993px) {
  .ces-left-logo {
    width: 120px;
    height: 38px;
    position: relative;
    top: auto;
    left: auto;
    margin: 0 auto;
  }

}

/* Mobile - 825px */
@media (max-width: 825px) {
  .ces-popup-dialog {
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
    height: auto !important;
    max-width: calc(100% - 20px);
    width: calc(100% - 20px);
  }

  .ces-popup-content {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .ces-popup-wrapper {
    flex-direction: column;
  }

  .ces-popup-inner {
    flex-direction: column;
  }

  .ces-left {
    flex: 0 0 100%;
    max-width: 100%;
    height: 120px;
    padding: 20px;
    justify-content: center;
    align-items: center;
  }

  .ces-left-logo {
    width: 120px;
    height: 38px;
    position: relative;
    top: auto;
    left: auto;
    margin: 0 auto;
  }

  .ces-left-gif {
    display: none;
  }

  .ces-right {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 30px 24px 0;
  }

  .ces-heading {
    font-size: 24px;
    line-height: 30px;
    text-align: center;
    margin-bottom: 16px;
    max-width: 100%;
  }

  .ces-title-purple {
    font-size: 24px;
    line-height: 30px;
  }

  .ces-tags {
    justify-content: center;
    margin-bottom: 20px;
  }

  .ces-tag {
    font-size: 12px;
    line-height: 16px;
    padding: 5px 10px;
    height: 24px;
  }

  .ces-description {
    font-size: 14px;
    text-align: center;
    margin-bottom: 24px;
  }

  .ces-description strong {
    font-size: 14px;
  }

  .ces-button-container {
    text-align: center;
    margin-bottom: 20px;
  }

  .ces-btn {
    font-size: 16px;
    padding: 10px 20px 8px 20px;
    height: 44px;
  }

  .ces-footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border-radius: 0 0 24px 24px;
    padding: 16px 20px;
  }

  .ces-info-item {
    width: 100%;
    font-size: 14px;
    padding-right: 0;
  }

  .ces-info-item:not(:last-child)::after {
    display: none;
  }

  .button-close {
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    padding: 0px 0px 0px 0px;
    z-index: 10;
    display: flex;
  }

  .close-icon {
    font-size: 32px;
  }
}

@media (max-width: 992px) {
  .ces-popup-dialog {
    margin-top: 120px;
    margin-left: 10px;
    margin-right: 10px;
    height: auto !important;
  }

  .ces-popup-content {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .ces-popup-wrapper {
    flex-direction: column;
  }

  .ces-popup-inner {
    flex-direction: column;
  }

  .ces-left {
    flex: 0 0 100%;
    max-width: 100%;
    height: 250px;
    padding: 20px;
  }

  .ces-left-logo {
    max-height: 80px;
    margin-bottom: 15px;
  }

  .ces-left-gif {
    max-height: calc(100% - 100px);
  }

  .ces-right {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 30px 24px 0;
    align-items: center;
  }

  .ces-heading {
    font-size: 28px;
    line-height: 36px;
    text-align: center;
  }

  .ces-title-purple {
    font-size: 28px;
    line-height: 36px;
  }

  .ces-tags {
    justify-content: center;
  }

  .ces-description {
    font-size: 16px;
    text-align: center;
  }

  .ces-description strong {
    font-size: 16px;
  }

  .ces-button-container {
    text-align: center;
  }

  .ces-footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border-radius: 0 0 24px 24px;
  }

  .ces-info-item {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .ces-popup-dialog {
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .ces-right {
    padding: 24px 20px 0;
  }

  .ces-heading {
    font-size: 24px;
    line-height: 30px;
  }

  .ces-title-purple {
    font-size: 24px;
    line-height: 30px;
  }

  .ces-tag {
    font-size: 12px;
    padding: 6px 12px;
  }

  .ces-description {
    font-size: 15px;
  }

  .ces-description strong {
    font-size: 15px;
  }

  .ces-btn {
    font-size: 14px;
    padding: 10px 24px;
  }

  .ces-footer-info {
    padding: 12px 16px;
  }

  .ces-info-item {
    font-size: 11px;
  }
}

