.referral-modal .modal-dialog{
	width:950px;
	max-width:95%;
}

/* BANNER */
.referral-banner {
	background:#f6e6b4;
	padding:35px 20px;
	border-radius:25px 25px 0 0;
	text-align:center;
}

.coin-yellow-bg {
  width: 100%;
  background: url(../img/gold-coin-yllw-bg-min.png);
  background-size: cover;
  opacity: 1;
  background-repeat: no-repeat;
}

.referral-banner h2{
	margin:10px 0 5px;
	font-weight:600;
}

.referral-banner p{
	color:var(--gray-600);
	margin-bottom:15px;
}

/* CARD */

.reward-card{
	background:#eef4fb;
	padding:20px;
	border-radius:12px;
	height: 100%;
	border: 1px solid #0a6ed459;
}

.reward-card.premium{
	background:#fff7e6;
	border:1px solid #f1d7a0;
}

.card-title{
	font-size:16px;
	font-weight:600;
	margin-bottom:20px;
	text-align: center;
}

/* SHARE BOX */

.share-box{
	border:1px solid #eee;
	border-radius:10px;
	padding:20px;
	margin-top:25px;
}

.ref-link{
	display:flex;
}

.ref-link input{
	border-radius:6px 0 0 6px;
}

.ref-link button{
	border-radius:0 6px 6px 0;
}

/* SOCIAL */

.social-icons span{
	display:inline-block;
	width:34px;
	height:34px;
	line-height:34px;
	text-align:center;
	border:1px solid #ddd;
	border-radius:6px;
	margin-right:5px;
	cursor:pointer;
}

.referral-modal .link-img {
  width: 16px;
  margin-right: 5px;
  transform: rotate(180deg);
}
.modal.referral-modal.custom-modal-bottom .modal-body {
  padding: 0;
}

.referral-modal .modal-content {
  border-radius: 25px;
}

.referral-label {
  display:inline-flex;
  align-items:center;
  background:#e8edf3;
  color:#344054;
  font-size:14px;
  font-weight:500;
  padding:6px 14px;
  border-radius:20px;
  gap:6px;
}

.label-icon {
  width:16px;
  height:16px;
}

.reward-content-sec {
	padding: 25px 35px;
}

.reward-row {
	display: flex;
	gap: 15px;
}
.reward-col-lt, .reward-col-rt {
	width: 50%;
}

.referral-share-box{
	border-radius:18px;
	padding:30px 15px;
	border:1px solid var(--gray-400);
	margin: 25px 0;
}

.almost-title{
font-size:18px;
font-weight:600;
color:#2563eb;
margin-bottom:8px;
}

.referal-invite-text {
  font-size:16px;
  margin-bottom:25px;
}

.refer-invite-row {
  display:flex;
  align-items:flex-start;
}
.refer-invite-row .left-col,
.refer-invite-row .right-col {
  width: 50%;
  padding: 0 15px;
}
.refer-invite-row .left-col {
  border-right:1px solid var(--gray-400);
}
.message-box{
	border: 2px dashed var(--gray-400);
	padding:15px;
	border-radius:12px;
	background:var(--white);
	margin-bottom:15px;
  font-size: 13px;
}

.message-box a{
	color: var(--primary);
	text-decoration:none;
}

.copy-btn{
padding:8px 22px;
border-radius:8px;
}

.referral-link{
display:flex;
margin-bottom:20px;
}
.referral-link .btn.btn-blue {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.referral-link input{
border-radius:10px;
border:2px dashed var(--gray-400);
}

.referral-link button{
border-radius:10px;
padding:8px 20px;
}

.share-title{
font-weight:500;
margin-bottom:10px;
}

.social-row {
	display:flex;
	align-items:center;
	gap:10px;
}

.btn.btn-border.social-btn {
	width: 40px;
	height: 40px;
	padding: 5px;
	border-radius:15px;
	border:1px solid var(--gray-400);
	background:var(--white);
	font-weight:600;
	font-size: 18px;
}

button.btn.copy-msg-btn {
  border: 1px solid var(--gray-400);
  background: var(--white);
  border-radius: 15px;
}

.copy-msg-btn img {
  vertical-align: middle;
  filter: invert(1);
  width: 14px;
  margin-right: 5px;
}

.almost-title img {
  width: 24px;
  vertical-align: top;
}
.brand {
  font-weight: 600;
  margin-bottom: 0;
  font-size: 18px;
}
.brand.fb {
  font-size: 18px;
  color: #1877F2;
}
.brand.linkedin {
    color: #0A66C2;
}

.invite-share-faq-item{
  margin-bottom:25px;
  border-radius: 18px;
  border: 1px solid var(--gray-400);
}

.invite-share-faq-box{
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding: 15px 25px;
}

.invite-share-faq-body{
    padding: 15px 25px;
    background:var(--white);
    font-size:14px;
    line-height:1.6;
    border-radius: 18px;
}

.invite-share-faq-arrow{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
}

.invite-share-faq-arrow svg{
    stroke:var(--gray-600);
    stroke-width:2;
    fill:none;
    transition:transform 0.3s ease;
}

/* rotate arrow when open */
.invite-share-faq-box[aria-expanded="true"] .invite-share-faq-arrow svg{
    transform:rotate(180deg);
}
.invite-faq-list {
    margin-bottom: 20px;
}

/* Footer */
.custom-referral-footer {
  border-top: 1px solid var(--gray-300);
  padding: 25px 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-see-report {
  background: #e6f0ff;
  color: #007bff;
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: 600;
}

.skip-btn {
  color: var(--black);
  font-weight: 500;
}

/*Progress bar css*/

.title{
font-weight:600;
text-align:center;
margin-bottom:40px;
}

.milestone-progress{
position:relative;
}

.progress-line{
	position:absolute;
	left:25px;
	top:5px;
	width:5px;
	height:100%;
	background:var(--gray-400);
	border-radius:4px;
}

.progress-fill{
position:absolute;
left:0;
top:-5px;
width:5px;
height:0;
background:var(--green);
border-radius:4px;
transition:height .6s ease;
}

.milestone{
	position:relative;
	padding-left:50px;
	margin-bottom:40px;
}

.progress-icon{
  position: absolute;
  left: 10px;
  top: -5px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
}

.reward-step-card{
  background: var(--white);
  color: var(--gray-700);
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--primary);
  border-top-left-radius: 0;
}

.reward-step-card .small {
	font-size:13px;
	color:var(--gray-600);
	margin-bottom:3px;
}
.reward-step-card .small>span.ref-count {
	color:var(--black);
}

.reward-step-card .text {
	color:var(--black);
}

.milestone.active .progress-icon {
  background: var(--green);
  border: 1px solid var(--green);
  color: var(--white);
}

.milestone.active .progress-icon i{
content:"\f00c";
}

.btn-credit-report {
	margin-top:20px;
	font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  word-break: break-word;
}
.btn-credit-report a.btn-detail-report {
  text-decoration: underline;
}
.report a{
color:#2f6bff;
font-weight:500;
}
.progress-icon img.img-lock {
  width: 14px;
}

.referral-status-bar {
  margin: 10px 0;
}

.referral-status-bar .border-success .md-bar {
  background-color: var(--primary);
  border-radius: 10px;
}
md-progress-linear.border-success .md-container {
  border-radius: 10px;
}
.reward-staus-box {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--gray-400);
  margin-bottom: 15px;
}
.reward-staus-box table {
  width: 100%;
  text-align: center;
}
.reward-staus-box .reward-status-title {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 3px;
}
.reward-staus-box h3.reward-status-count {
  font-size: 20px;
  margin: 10px 0 0;
}


/* START: Responsive media query css  */

/*especially media css for 1366x580 screen*/
@media only screen and (max-width: 1366px) {

}
@media only screen and (max-width: 1280px) {

}
@media only screen and (max-width: 992px) {

}
@media only screen and (max-width: 820px) {

}
@media only screen and (max-width: 800px) {
  
}
@media only screen and (max-width: 768px) {
	.reward-card{
		margin-bottom:15px;
    padding: 15px;
	}
	.refer-invite-row .left-col{
		border-right:none;
	}
}
@media only screen and (max-width: 712px) {
  
}
@media only screen and (max-width: 600px) {
  .custom-referral-footer.btn-fixed-bottom-xs {
    padding: 15px 10px;
    z-index: 3;
  }
  .referral-modal.modal.custom-modal-bottom .modal-body {
    padding: 0;
    margin-bottom: 60px;
  }
  .referral-banner {
    padding: 25px 15px 40px;
    border-radius: 0;
  }
  .referral-banner h2 {
    font-size: 16px;
  }
  .referral-banner p {
    font-size: 10px;
    margin-bottom: 0;
  }
  .reward-row {
    gap: 0;
    flex-direction: column;
  }
  .reward-col-lt, .reward-col-rt {
    width: 100%;
  }
  .reward-content-sec {
    padding: 10px;
  }
  .referral-share-box {
    padding: 15px;
    margin: 0 0 15px;
  }
  .reward-staus-box {
    padding: 10px;
    border: 1px solid var(--gray-200);
    background-color: var(--gray-100);
    margin-top: 5px;
  }
  .reward-staus-box .reward-status-title {
    font-size: 11px;
  }
  .reward-staus-box h3.reward-status-count {
    font-size: 15px;
  }
  .progress-line {
    left: 10px;
  }
  .progress-fill {
    left: 0;
  }
  .progress-icon {
    left: -3px;
  }
  .milestone {
    padding-left: 38px;
  }
  .reward-steps {
    font-size: 12px;
  }
  .reward-steps p {
    font-size: 12px;
  }
  .reward-step-card .small {
    font-size: 11px;
  }
  .reward-step-card .text {
    color: var(--black);
    font-size: 12px;
  }
  .reward-step-card .small span.color-green {
    display: inline-block;
  }
  .coin-yellow-bg {
    background: url(../img/gold-coin-bg-mobile-min.png);
    background-size: contain;
  }
  .referral-label {
    font-size: 12px;
  }
  .card-title {
    font-size: 14px;
    margin-bottom: 15px;
  }
  .reward-step-card {
    border-radius: 15px;
  }
  .almost-title {
    font-size: 14px;
  }
  .almost-title img {
    width: 20px;
  }
  .referal-invite-text {
    font-size:12px;
  }
  .refer-invite-row .left-col,
  .refer-invite-row .right-col {
    width: 100%;
    padding: 0;
  }
  .refer-invite-row {
    flex-direction: column-reverse;
  }
  .refer-invite-row .right-col {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--gray-400);
  }
  .social-row {
    margin-bottom: 15px;
  }
  .btn.btn-border.social-btn {
    border-radius: 10px;
  }
  .message-box {
    font-size: 10px;
  }
  .invite-share-faq-item {
    margin-bottom: 0;
  }

  /*Toggle Referal progressbar css*/
  .referal-progress-box, 
  .premium-progress-box {
    width:100%;
    max-height:160px;
    padding: 5px;
    overflow:hidden;
    transition:height 0.3s ease;
  }

  .referal-progress-box.active, 
  .premium-progress-box.active {
    max-height:100%;
  }
  .btn-credit-report {
    margin-top: 10px;
  }
  .invite-share-faq-box {
    font-size: 14px;
  }
}
@media only screen and (max-width: 568px) {

}
@media only screen and (max-width: 480px) {

}
@media only screen and (max-width: 414px) {
  
}
@media only screen and (max-width: 376px) {
  
}
@media only screen and (max-width: 360px) {

}
@media only screen and (max-width: 340px) {
  
} 
@media only screen and (max-width: 320px) {

}