
/* Referral Page Styles */
.hsp-referral-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.hsp-referral-stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.hsp-stat {
    text-align: center;
}

.hsp-stat-label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #666;
}

.hsp-stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #0073aa;
}

.hsp-referral-link-box {
    display: flex;
    margin: 15px 0;
    align-items: center;
}

.hsp-referral-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.hsp-referral-link-box button {
    border-radius: 0 4px 4px 0 !important;
    margin-left: -1px !important;
}

.hsp-social-sharing {
    margin: 20px 0;
}

.hsp-social-button {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 6px 12px;
    text-decoration: none;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
}

.hsp-facebook {
    background: #3b5998;
}

.hsp-twitter {
    background: #1da1f2;
}

.hsp-linkedin {
    background: #0077b5;
}

.hsp-email {
    background: #555;
}

.hsp-custom-content-section {
    margin: 30px 0;
}

.hsp-description {
    margin-bottom: 15px;
    color: #666;
}

.hsp-preview-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.hsp-referral-preview {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.hsp-referral-content {
    margin: 15px 0;
}

.hsp-referral-cta {
    text-align: center;
    margin: 20px 0 10px;
}

.hsp-cta-button {
    display: inline-block;
    padding: 10px 20px !important;
    font-size: 16px !important;
    text-align: center;
}

/* Referral Landing Page */
.hsp-referral-landing {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 4px;
    text-align: center;
}

.hsp-referrer-profile {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: left;
}

.hsp-referrer-avatar-container {
    margin-right: 20px;
    flex-shrink: 0;
}

.hsp-referrer-avatar {
    border-radius: 50%;
    border: 3px solid #0073aa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hsp-referrer-details {
    flex-grow: 1;
}

.hsp-referrer-details h1 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 28px;
    line-height: 1.2;
}

.hsp-business-info {
    margin-top: 15px;
}

.hsp-business-name {
    margin: 0 0 10px 0;
    color: #0073aa;
    font-size: 20px;
    font-weight: 600;
}

.hsp-business-address,
.hsp-industry {
    margin: 8px 0;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.hsp-address-icon,
.hsp-industry-icon {
    margin-right: 8px;
    font-size: 16px;
}

.hsp-referral-landing h1 {
    margin-bottom: 30px;
    color: #333;
}

.hsp-referral-message {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    background: #fff;
    padding: 20px;
    border-left: 4px solid #0073aa;
    margin: 20px 0 30px 0;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .hsp-referrer-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .hsp-referrer-avatar-container {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .hsp-referrer-details {
        text-align: center;
    }
    
    .hsp-business-address,
    .hsp-industry {
        justify-content: center;
    }
    
    .hsp-referral-landing {
        padding: 20px;
        margin: 10px;
    }
    
    .hsp-referrer-details h1 {
        font-size: 24px;
    }
}

.hsp-success {
    background: #e7f7e9;
    border-left: 4px solid #46b450;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin: 15px 0;
    padding: 12px;
    color: #333;
}

.hsp-error {
    background: #fcf0f1;
    border-left: 4px solid #d63638;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin: 15px 0;
    padding: 12px;
    color: #333;
}

.hsp-notice {
    margin-bottom: 20px;
}
