/**
 * Reseller Application Form Styles
 * For QR Code Generator Business Manager Addon
 * 
 * @package QRCG_Business_Manager
 * @version 1.1.0
 */

.reseller-application-page {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px;
}

.reseller-application-page h1 {
    color: #23282d;
    font-size: 32px;
    margin-bottom: 10px;
}

.reseller-application-page h3 {
    color: #23282d;
    font-size: 20px;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f1;
}

/* Form Styling */
#reseller-application-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 25px;
}

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

.form-group label .required {
    color: #dc3232;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

/* Error States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3232;
    background: #fef1f1;
}

.form-error {
    display: block;
    color: #dc3232;
    font-size: 12px;
    margin-top: 5px;
}

/* Submit Button */
.btn-primary {
    background: #2271b1;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #135e96;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(34, 113, 177, 0.3);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Messages */
.reseller-success-message,
.reseller-error-message {
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
}

.reseller-success-message {
    background: #edfaef;
    border: 1px solid #00a32a;
    color: #007017;
}

.reseller-success-message h3 {
    color: #007017;
    margin-top: 0;
    border: none;
}

.reseller-error-message {
    background: #fef1f1;
    border: 1px solid #dc3232;
    color: #8a0000;
}

/* Info Box */
.reseller-benefits {
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    padding: 20px;
    margin: 30px 0;
}

.reseller-benefits h4 {
    margin-top: 0;
    color: #1d2327;
}

.reseller-benefits ul {
    margin: 10px 0;
    padding-left: 20px;
}

.reseller-benefits li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 600px) {
    .reseller-application-page {
        margin: 20px auto;
    }
    
    #reseller-application-form {
        padding: 20px;
    }
    
    .btn-primary {
        width: 100%;
    }
}