.cserp-referral-dashboard {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.cserp-ref-header {
    text-align: center;
    margin-bottom: 40px;
}

.cserp-ref-header h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.cserp-ref-header .subtitle {
    font-size: 16px;
    color: #666;
}

.cserp-ref-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.stat-box .stat-number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-box .stat-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cserp-ref-link-section {
    background: #f7f7f7;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.cserp-ref-link-section h3 {
    margin-bottom: 20px;
    color: #333;
}

.ref-link-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.ref-link-box input {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.ref-link-box .copy-btn {
    padding: 15px 30px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.ref-link-box .copy-btn:hover {
    background: #005a87;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
}

.share-btn.email {
    background: #555;
    color: white;
}

.cserp-ref-how-it-works {
    margin: 40px 0;
}

.cserp-ref-how-it-works h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.cserp-ref-history {
    margin: 40px 0;
}

.referrals-table {
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.referrals-table th {
    background: #667eea;
    color: white;
    padding: 15px;
    text-align: left;
}

.referrals-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-paid {
    background: #d1ecf1;
    color: #0c5460;
}
/* Professional Signup Form Styles */
.cserp-signup-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.cserp-signup-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Left Side - Brand Information */
.signup-brand-side {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.signup-brand-side h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.signup-brand-side .tagline {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.6;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.benefits-list li {
    padding: 15px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li::before {
    content: "✓";
    background: rgba(255,255,255,0.3);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
    font-size: 18px;
}

.trust-badges {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.trust-badges p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.badge-item {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Right Side - Form */
.signup-form-side {
    padding: 60px 50px;
    background: #fafafa;
}

.form-header {
    margin-bottom: 40px;
}

.form-header h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 15px;
}

.affiliate-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.form-section h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h4::before {
    content: "📝";
    font-size: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field.full-width {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-field label .required {
    color: #e74c3c;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-field small {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.form-field select {
    cursor: pointer;
    background-color: white;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-field input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #667eea;
}

.checkbox-field label {
    font-size: 14px;
    font-weight: normal;
    color: #555;
    line-height: 1.6;
    cursor: pointer;
}

.checkbox-field label a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-field label a:hover {
    text-decoration: underline;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    width: 100%;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-submit:active {
    transform: translateY(0);
}

.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.login-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Alert Messages */
.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.success-message::before {
    content: "✓";
    background: #28a745;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.error-message::before {
    content: "✕";
    background: #dc3545;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 968px) {
    .cserp-signup-wrapper {
        grid-template-columns: 1fr;
    }
    
    .signup-brand-side {
        padding: 40px 30px;
    }
    
    .signup-form-side {
        padding: 40px 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .signup-brand-side h2 {
        font-size: 24px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .form-header h3 {
        font-size: 22px;
    }
}

