.gap {
    gap: 10px;
    display: flex;
    flex-direction: column;
}
/* Popup background overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Each popup box */
.affiliatePopup {
  display: none;
  background: white;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.affiliatePopup {
    height: 450px;
    width: 650px;
    background-color: #2b2a33;
    display: flex;
    flex-direction: column;
    padding: 10px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.affiliateHeader {
    width: 410px;
    padding: 0px 5px;
    display: flex;
    justify-content: center;
    align-content: center;
    color: #daa74b;
}
.affiliateLinks {
    display: none !important;
}
.NEAPartner, .affiliateLinks{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #daa74b;
    font-size: 17px;
    border-radius: 12px;
    width: 40%;
}
.NEAPartner:hover, .affiliateLinks:hover{
    background-color: #c8923d;
}
.NEAPartner p, .affiliateLinks p{
    margin: 10px;
}
/* CSS for NEAPartner-Map*/
.affiliateHeader2 {
    width: 410px;
    padding: 0px 5px;
    display: flex;
    justify-content: center;
    align-content: center;
    color: #daa74b;
}
.affiliateHeader2 h2{
    margin-bottom: 0;
}

.welcomeText {
    width: 100%;
    padding: 5px;
    text-align: center;
}
.welcomeText p{
    margin: 0;
}
.apply {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #daa74b;
    font-size: 17px;
    border-radius: 12px;
}
.apply:hover {
    background-color: #c8923d;
}
/* CSS for referralUserInfo */
.nb {
    width: 100%;
}
.nb p{
    margin: 0;
}
.form-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
    height: 100%;
    margin: 0px;
}
.input-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: space-between;
}
.input-space {
    display: flex;
    flex-direction: row;
    width: 100%;
}
input#nickname, input#email {
    display: flex;
    flex: 1;
    border: 1px solid #daa74b;
}
.yourPaymentDetails {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.paymentMethod {
    display: flex;
    flex-direction: row;
}
.paymentLogo img {
    height: 28px;
}
.referralPaymentInfo {
    width: 100%;
    display: flex;
    flex: 1;
    border: 2px solid #daa74b;
}
.finalTouches {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.captcha {
    width: 100%;
    display: flex;
    flex: 1;
    border: 2px solid #daa74b;
}
.generateReferralLink {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    background-color: #daa74b;
    font-size: 17px;
    border-radius: 12px;
}
.generateReferralLink :hover {
    background-color: #c8923d;
}
/* CSS for referralLinkDetails */
.output {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1c1b22;
}
.thanks {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: #daa74b;
    font-size: 53px;
}
.completeAFFiliateSignup {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #daa74b;
    font-size: 17px;
    border-radius: 12px;
}
.completeAFFiliateSignup:hover {
    background-color: #c8923d;
}

/* [SECTION: Mobile CSS] */
@media (max-width: 768px){
    .affiliatePopup {
        width: 100%;
    }
    .NEAPartner {
        width: 70%;
    }
    .affiliatePopup{
        height: 130px;
    }
}