/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.ref-parent-container p, .ref-parent-container .title {
	margin: 0px !important;
	padding: 0px !important;
}

#added-referral-link {
	text-align: center; background-color: green; color: #ffffff; padding: 10px;
}

#referral-list td {
	padding: 0px;
	padding-bottom: 15px;
}


#referral-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    overflow-x: hidden;
}

#referral-list table th {
	color: #000000; 
	font-weight: 700;
}

#referral-list table {
	font-weight: 400;
	text-align: left; 
	margin-top: 30px;
}

.referral-dashboard {
	    margin-bottom: 50px;
    margin-top: 10px;
}


#current-rewards-container .pulsing-dot {
	
	
  height: 12px;
  width: 12px;
  background-color: #00ff00; /* bright green */
  border-radius: 50%;
  display: inline-block;
  position: relative;
	animation: pulse 2s infinite;
	margin-right: 5px !important;	
}

.missing-rewards-referral {
	padding: 10px;
	background-color: #e5e5e5;
	color: #000;
	border-radius: 10px;
	margin-bottom: 20px;
	font-weight: 400;
}


@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}


#current-rewards-container .title {
	border-bottom: solid 1px #fff;
	padding-bottom: 10px !important;
	margin-bottom: 20px !important;
}

#current-rewards-container td, #current-rewards-container th {
	min-width: max-content;
	white-space: nowrap;
}

#current-rewards-container {
	overflow: auto;
	padding: 20px;
	border: 5px solid var(--e-global-color-primary);
	border-radius: 10px;
	margin-bottom: 25px;
	background-color: var(--e-global-color-primary);
	color: #ffffff;
}

#current-rewards-container * {
	color: #ffffff;
}

.two-grid-referral > .section {
	    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.referral-dashboard .commission-advertise {
	margin: 5px 0px;
	font-weight: 400;
}

.referral-dashboard .title {	
	font-size: 18px !important;
	display: block;
	margin-bottom: 15px !important;
}


.my-referral-link {
	color: #34a5ff;
	text-align: center;
	cursor: pointer;
	font-weight: 600;
}



.two-grid-referral {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	padding-bottom: 20px;
}

.referral-dashboard .section {
	box-shadow: 1px 1px 20px 4px #00000012;
	padding: 20px;
	margin-bottom: 20px;
	border-radius: 10px;
}

.referral-dashboard table {
	border: none;		
	margin: 0px;
}

.referral-dashboard #current-rewards-container table th {
	margin: 0px; 
	padding: 0px;
	padding-bottom: 10px;
	padding-right: 10px;
	text-align: left;
}

.referral-dashboard #current-rewards-container table td {	
	font-weight: 400;
	text-align: left; 
	margin: 0px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
}

@media(max-width: 600px) {
	.two-grid-referral {
		display: block !important;
	}
}