/* Affiliate Payment Requests - Frontend Styles */

.apr-form-container {
    max-width: 700px;
    margin: 30px auto;
    padding: 0 20px;
}

.apr-form-wrapper {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.apr-form-wrapper h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
}

.apr-form-intro {
    color: #7f8c8d;
    margin: 0 0 30px 0;
    font-size: 15px;
    line-height: 1.6;
}

/* Messages */
.apr-message {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.5;
}

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

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

.apr-message.apr-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

/* Form Groups */
.apr-form-group {
    margin-bottom: 25px;
}

.apr-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.apr-required {
    color: #e74c3c;
    font-weight: bold;
}

/* Input Fields */
.apr-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.apr-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.apr-input-readonly {
    background-color: #f5f6fa;
    color: #7f8c8d;
    cursor: not-allowed;
}

.apr-field-note {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #95a5a6;
    font-style: italic;
}

/* Buttons */
.apr-form-actions {
    margin-top: 30px;
}

.apr-button {
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
}

.apr-button-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.apr-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.apr-button-primary:active {
    transform: translateY(0);
}

/* Form Footer */
.apr-form-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.apr-form-footer p {
    margin: 8px 0;
    font-size: 13px;
    color: #7f8c8d;
}

.apr-note {
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .apr-form-container {
        padding: 0 15px;
    }
    
    .apr-form-wrapper {
        padding: 20px;
    }
    
    .apr-form-wrapper h3 {
        font-size: 20px;
    }
    
    .apr-button {
        width: 100%;
        padding: 12px 20px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.apr-message {
    animation: fadeIn 0.4s ease;
}
