/* Pay Onetime Referral Program Styles */
.porp-banner {
    color: white;
    padding: 0px;
    border-radius: 12px;
    text-align: center;
    margin: 0px 0;
    box-shadow: 0 1px 1px rgba(0, 123, 187, 0.2);
}

.porp-banner h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.porp-banner p {
    margin: 0 0 20px 0;
    opacity: 0.9;
}

.porp-referral-container {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 15px 0;
}

.porp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

.porp-header h3 {
    margin: 0;
    color: #007BBB;
}

.porp-badge {
    background: #007BBB;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.porp-stats {
    margin-bottom: 5px;
}

.porp-stat-card {
    background: #f8f9fa;
    padding: 5px;
    border-radius: 8px;
    text-align: center;
}

.porp-stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #007BBB;
}

.porp-stat-label {
    font-size: 14px;
    color: #6c757d;
}

.porp-enable-section {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.porp-form-section {
    margin-bottom: 20px;
}

.porp-form-group {
    margin-bottom: 15px;
}

.porp-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.porp-input {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #fff;
}


.porp-help-text {
    font-size: 13px;
    color: #6c757d;
    margin: 5px 0 0 0;
}

.porp-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.porp-btn-primary {
    background: #007BBB;
    color: white;
}

.porp-btn-primary:hover {
    background: #0069a4;
    transform: translateY(-2px);
}

.porp-btn-success {
    background: #28a745;
    color: white;
}

.porp-btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
}

.porp-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.porp-message {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: block;
}

.porp-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.porp-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.porp-referrals-list {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eaeaea;
}

.porp-referrals-list h4 {
    margin: 0 0 15px 0;
    color: #007BBB;
}

.porp-referrals-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.porp-referrals-list li {
    padding: 10px 15px;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    justify-content: space-between;
}

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

.porp-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: porp-spin 1s ease infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes porp-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .porp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .porp-banner {
        padding: 20px 15px;
    }
    
    .porp-referral-container {
        padding: 20px 15px;
    }
}