.referral-message {
padding: 15px;
margin: 20px 0;
border-radius: 4px;
border-left: 4px solid;
}
.referral-dashboard {
max-width: 1200px;
margin: 20px auto;
background: #f9f9f9;
padding: 20px;
border-radius: 8px;
color: #000;
}
#copy-referral-btn {
white-space: nowrap;
color: #fff;
}
.referral-message.referral-error {
background: #fee;
color: #c00;
border-color: #c00;
}
.referral-message.referral-success {
background: #efe;
color: #060;
border-color: #060;
}
.referral-link-display {
display: flex;
gap: 10px;
margin: 20px 0;
align-items: center;
}
.referral-link-display label {
font-weight: bold;
min-width: 150px;
}
.referral-url-input {
flex: 1;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-family: monospace;
font-size: 13px;
}
.referral-copy-btn {
padding: 10px 20px;
background: #0073aa;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background 0.3s;
}
.referral-copy-btn:hover {
background: #005a87;
}
.referral-stats-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
margin: 20px 0;
}
.stat-card {
background: white;
padding: 20px;
border: 1px solid #ddd;
border-radius: 4px;
text-align: center;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.stat-card h3 {
margin: 0 0 10px 0;
font-size: 32px;
color: #333;
}
.stat-card p {
margin: 0;
color: #666;
font-size: 13px;
text-transform: uppercase;
}
.referral-commission-rates {
background: #f0f0f0;
padding: 15px;
border-radius: 4px;
margin: 20px 0;
}
.referral-commission-rates h4 {
margin-top: 0;
}
.referral-commission-rates p {
margin: 5px 0;
color: #666;
}
@media (max-width: 640px) {
.referral-link-display {
flex-direction: column;
align-items: flex-start;
}
.referral-stats-container {
grid-template-columns: 1fr;
}
}