/**
 * RDP Matrix Filler
 * Public Styles
 */
 
 
.rdp-matrix-payment-info h1,
.rdp-matrix-payment-info h2,
.rdp-matrix-payment-info h3,
.rdp-matrix-payment-info h4,
.rdp-matrix-payment-info h5,
.rdp-matrix-payment-info h6,
.rdp-matrix-latest-signups h1,
.rdp-matrix-latest-signups h2,
.rdp-matrix-latest-signups h3,
.rdp-matrix-latest-signups h4,
.rdp-matrix-latest-signups h5,
.rdp-matrix-latest-signups h6,
.rdp-matrix-wizard h1,
.rdp-matrix-wizard h2,
.rdp-matrix-wizard h3,
.rdp-matrix-wizard h4,
.rdp-matrix-wizard h5,
.rdp-matrix-wizard h6 {
	text-wrap: balance;
	text-align: center;
}

#rdp-matrix-parent-signup-link {
	text-decoration: none;
}

/* ----------------------------------------------------
   Payment Info Container
---------------------------------------------------- */

.rdp-matrix-payment-info {
	max-width: 900px;
	margin: 30px auto !important;
	padding: 35px;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.rdp-matrix-payment-info h2 {
	margin: 0 0 25px;
	text-align: center;
	text-wrap: balance;
	font-size: 32px;
	line-height: 1.3;
	color: #138496;
}

/* ----------------------------------------------------
   Join Fee
---------------------------------------------------- */

.rdp-matrix-payment-fee {
	margin-bottom: 30px;
	padding: 20px;
	background: #f7fbfb;
	border-left: 6px solid #138496;
	border-radius: 6px;
	font-size: 20px;
}

.rdp-matrix-payment-fee strong {
	color: #138496;
	margin-right: 8px;
}

/* ----------------------------------------------------
   Instructions
---------------------------------------------------- */

.rdp-matrix-payment-instructions {
	margin-bottom: 30px;
	padding: 20px;
	background: #fafafa;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	line-height: 1.7;
}

.rdp-matrix-payment-instructions p:last-child {
	margin-bottom: 0;
}

/* ----------------------------------------------------
   Payment Methods
---------------------------------------------------- */

.rdp-matrix-payment-methods {
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	overflow: hidden;
}

.rdp-matrix-payment-method {
	display: grid;
	grid-template-columns: 220px 1fr;
	align-items: center;
	gap: 15px;
	padding: 16px 20px;
	border-bottom: 1px solid #e5e5e5;
	background: #ffffff;
}

.rdp-matrix-payment-method:last-child {
	border-bottom: none;
}

.rdp-matrix-payment-method:nth-child(even) {
	background: #f9fcfc;
}

.rdp-matrix-payment-method strong {
	color: #138496;
	font-size: 15px;
}

.rdp-matrix-payment-value .rdp-matrix-payment-html-button a {
	text-decoration: none;
	color: #fff;
}

.rdp-matrix-payment-value .rdp-matrix-payment-html-button a:hover {
	text-decoration: none;
	color: #fff;
}

.rdp-matrix-payment-value {
	word-break: break-word;
}

.rdp-matrix-payment-value a {
	color: #138496;
	text-decoration: none;
	font-weight: 600;
}

.rdp-matrix-payment-value a:hover {
	text-decoration: underline;
}

.rdp-matrix-payment-empty {
	color: #999;
	font-style: italic;
}

/* ----------------------------------------------------
   No Payment Methods Configured
---------------------------------------------------- */

.rdp-matrix-payment-methods-empty {
	padding: 30px;
	text-align: center;
	color: #777;
	background: #fafafa;
}

/* ----------------------------------------------------
   Future Wizard Styles
---------------------------------------------------- */

.rdp-matrix-wizard {
	max-width: 900px;
	margin: 0 auto;
}

.rdp-matrix-wizard-step {
	display: none;
}

.rdp-matrix-wizard-step.active {
	display: block;
}

.rdp-matrix-wizard-buttons {
	margin-top: 30px;
	display: flex;
	gap: 15px;
}

.rdp-matrix-button {
	display: inline-block;
	padding: 12px 24px;
	background: #138496;
	color: #ffffff;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
	border: none;
	cursor: pointer;
}

.rdp-matrix-button:hover {
	background: #11707d;
	color: #ffffff;
}

.rdp-matrix-button-secondary {
	background: #6c757d;
}

.rdp-matrix-button-secondary:hover {
	background: #5b636a;
}


.rdp-matrix-wizard {
	max-width: 850px;
	margin: 30px auto !important;
	padding: 35px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.rdp-matrix-wizard-step {
	display: none;
}

.rdp-matrix-wizard-step.active {
	display: block;
}

.rdp-matrix-wizard h2 {
	margin-top: 0;
	color: #138496;
	text-align: center;
}

.rdp-matrix-wizard label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.rdp-matrix-wizard input[type="text"],
.rdp-matrix-wizard input[type="email"],
.rdp-matrix-wizard input[type="url"] {
	width: 100%;
	max-width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
}

.rdp-matrix-step-two-instructions {
	margin-bottom: 25px;
	padding: 20px;
	background: #f7fbfb;
	border-left: 6px solid #138496;
	border-radius: 6px;
	line-height: 1.6;
}

.rdp-matrix-step-three-instructions {
	margin-bottom: 25px;
	padding: 20px;
	background: #f7fbfb;
	border-left: 6px solid #138496;
	border-radius: 6px;
	line-height: 1.6;
}

.rdp-matrix-button {
	display: inline-block;
	padding: 12px 24px;
	background: #138496;
	color: #fff !important;
	border: none;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	cursor: pointer;
}

.rdp-matrix-button:hover {
	background: #11707d;
}

.rdp-matrix-wizard-message {
	margin-top: 20px;
	padding: 14px;
	background: #fff3cd;
	border-left: 5px solid #dba617;
	border-radius: 4px;
	color: #664d03;
}

#rdp-matrix-referral-link {
	width: 100%;
	padding: 12px;
	font-size: 16px;
}

/* ----------------------------------------------------
   Latest Signups Shortcode
---------------------------------------------------- */

.rdp-matrix-latest-signups {
	max-width: 850px;
	margin: 30px auto;
	padding: 25px;
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 8px 25px rgba(0,0,0,.08);
	
}

td.col-row-number,
td.col-joined	{
	text-align: center;
}

td.col-member-name {
	font-weight: bold;
}

.rdp-matrix-latest-signups h3 {
	margin-top: 0;
	text-align: center;
	color: #138496;	
}

.rdp-matrix-latest-signups ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rdp-matrix-latest-signups li {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	padding: 12px 0;
	border-bottom: 1px solid #e5e5e5;
}

.rdp-matrix-latest-signups li:last-child {
	border-bottom: none;
}

.rdp-matrix-latest-signups span {
	color: #646970;
	font-size: 0.95em;
}

@media (max-width: 600px) {
	.rdp-matrix-latest-signups li {
		display: block;
	}
}


/* ----------------------------------------------------
   Mobile
---------------------------------------------------- */

@media (max-width: 768px) {

	.rdp-matrix-payment-info {
		padding: 20px;
		margin: 20px 10px;
	}

	.rdp-matrix-payment-info h2 {
		font-size: 24px;
	}

	.rdp-matrix-payment-method {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.rdp-matrix-payment-method strong {
		margin-bottom: 5px;
	}

	.rdp-matrix-wizard-buttons {
		flex-direction: column;
	}
}



/* ----------------------------------------------------
   Major Refactor UI Additions
---------------------------------------------------- */

.rdp-matrix-payment-info h1,
.rdp-matrix-payment-info h2,
.rdp-matrix-payment-info h3,
.rdp-matrix-payment-info h4,
.rdp-matrix-payment-info h5,
.rdp-matrix-payment-info h6,
.rdp-matrix-latest-signups h1,
.rdp-matrix-latest-signups h2,
.rdp-matrix-latest-signups h3,
.rdp-matrix-latest-signups h4,
.rdp-matrix-latest-signups h5,
.rdp-matrix-latest-signups h6,
.rdp-matrix-wizard h1,
.rdp-matrix-wizard h2,
.rdp-matrix-wizard h3,
.rdp-matrix-wizard h4,
.rdp-matrix-wizard h5,
.rdp-matrix-wizard h6,
.rdp-matrix-downline-email h1,
.rdp-matrix-downline-email h2,
.rdp-matrix-downline-email h3 {
	text-wrap: balance;
}

.rdp-matrix-latest-signups-table {
	width: 100%;
	border-collapse: collapse;
}

.rdp-matrix-latest-signups-table th,
.rdp-matrix-latest-signups-table td {
	padding: 12px;
	border-bottom: 1px solid #e5e5e5;
	text-align: left;
}

.rdp-matrix-latest-signups-table th:first-child,
.rdp-matrix-latest-signups-table td:first-child {
	width: 60px;
	text-align: center;
}

.rdp-matrix-latest-signups-table thead th {
	background: #f7fbfb;
	color: #138496;
	font-weight: 700;
}

.rdp-matrix-downline-email {
	max-width: 850px;
	margin: 30px auto;
	padding: 35px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.rdp-matrix-downline-email label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.rdp-matrix-downline-email input,
.rdp-matrix-downline-email textarea {
	width: 100%;
	max-width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
}

.rdp-matrix-downline-email-message {
	margin-top: 20px;
	padding: 14px;
	background: #fff3cd;
	border-left: 5px solid #dba617;
	border-radius: 4px;
}


.rdp-mf-choice-buttons {
	max-width: 1100px;
	margin: 0 auto;
	
	.rdp-mf-option-1,
	.rdp-mf-option-2,
	.rdp-mf-option-3 {
		max-width: 457px;
		
		margin: 30px auto 0;
		
		a {
			display: block;
			aspect-ratio: 457 / 96;
			background-size: contain;
			background-repeat: no-repeat;
			background-position: center;
			width: 100%;
			max-width: 457px;			
		}
	}
	
	
	.rdp-mf-option-1 {
		margin-top: 0;
		
		a {
			background-image: url('../images/option1.png');
		}
	}
	
	.rdp-mf-option-2 a {
		background-image: url('../images/option2.png');
	}	
	
	.rdp-mf-option-3 a {
		background-image: url('../images/option3.png');
	}	
	
}

