.gws-referral-link-container {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.gws-referral-link-container h3 {
    margin-top: 0;
    color: #333;
}

.referral-link-wrapper {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.referral-link-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.copy-referral-link {
    padding: 10px 20px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.copy-referral-link:hover {
    background: #135e96;
}

.referral-code-display {
    margin-top: 15px;
    padding: 10px;
    background: #fff;
    border-radius: 4px;
}

.referral-code-display code {
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 16px;
    font-weight: bold;
    color: #2271b1;
}

.gws-referral-stats {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.gws-referral-stats h4 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #2271b1;
    padding-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.stat-item {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    border-left: 4px solid #2271b1;
}

.stat-item.discount-active {
    border-left-color: #00a32a;
    background: #f0f9f4;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #2271b1;
}

.stat-item.discount-active .stat-value {
    color: #00a32a;
}

.referrals-list {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.referrals-list h5 {
    margin-bottom: 10px;
    color: #333;
}

.referrals-list ul {
    list-style: none;
    padding: 0;
}

.referrals-list li {
    padding: 10px;
    background: #f9f9f9;
    margin: 5px 0;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qualified-badge {
    background: #00a32a;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 10px;
}

.pending-badge {
    background: #f0b849;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 10px;
}

.gws-referral-dashboard {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin: 20px 0;
}

.gws-referral-dashboard h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #2271b1;
    padding-bottom: 15px;
}

.dashboard-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.dashboard-sections .section {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    border-left: 4px solid #2271b1;
}

.dashboard-sections .section h3 {
    margin-top: 0;
    color: #333;
}

.dashboard-sections .section ul {
    list-style: none;
    padding: 0;
}

.dashboard-sections .section li {
    padding: 8px;
    background: #fff;
    margin: 5px 0;
    border-radius: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-sections .section .qualified {
    color: #00a32a;
    font-weight: 600;
}

.activity-log {
    list-style: none;
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
}

.activity-log li {
    padding: 10px;
    background: #fff;
    margin: 5px 0;
    border-radius: 3px;
    border-left: 3px solid #2271b1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.activity-time {
    font-size: 11px;
    color: #666;
}

.activity-desc {
    color: #333;
    font-size: 14px;
}

@media (max-width: 768px) {
    .referral-link-wrapper {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sections {
        grid-template-columns: 1fr;
    }
}

