/* Wholesale Registration Form Styles */
.wholesale-registration-wrapper {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
}

.wholesale-registration-form {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wholesale-registration-form h2 {
    font-size: 32px;
    margin: 0 0 10px 0;
    color: #1a1a1a;
}

.wholesale-registration-form .form-description {
    color: #666;
    margin: 0 0 30px 0;
    font-size: 15px;
}

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

.wholesale-registration-form .form-field {
    display: flex;
    flex-direction: column;
}

.wholesale-registration-form .form-field.full-width {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.wholesale-registration-form .form-field label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.wholesale-registration-form .form-field .required {
    color: #ef4444;
}

.wholesale-registration-form .form-field input,
.wholesale-registration-form .form-field textarea {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
}

.wholesale-registration-form .form-field input:focus,
.wholesale-registration-form .form-field textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wholesale-registration-form .form-field textarea {
    resize: vertical;
    font-family: inherit;
}

.wholesale-registration-form .field-message {
    font-size: 13px;
    margin-top: 5px;
    display: block;
    color: #6b7280;
}

.wholesale-registration-form .field-message.error {
    color: #ef4444;
}

.wholesale-registration-form .field-message.success {
    color: #10b981;
}

.wholesale-registration-form #password {
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.wholesale-registration-form #password-message {
    color: #6b7280;
    font-size: 12px;
}

.wholesale-registration-form .form-submit {
    margin-top: 30px;
}

.wholesale-registration-form .submit-button {
    width: 100%;
    padding: 16px 24px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.wholesale-registration-form .submit-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.wholesale-registration-form .submit-button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.wholesale-registration-form .submit-button svg {
    flex-shrink: 0;
}

.wholesale-registration-form .form-footer {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin: 20px 0 0 0;
}

.wholesale-registration-form .form-message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.wholesale-registration-form .form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
    display: block;
}

.wholesale-registration-form .form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
    display: block;
}

.wholesale-notice {
    padding: 15px 20px;
    background: #dbeafe;
    border-left: 4px solid #3b82f6;
    border-radius: 4px;
    color: #1e40af;
    font-size: 15px;
}

/* Wholesale Badge */
.wholesale-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #10b981;
    color: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Tiered Pricing Table */
.wholesale-tiered-pricing-table {
    margin: 20px 0;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    animation: fadeIn 0.3s ease-in;
}

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

.wholesale-tiered-pricing-table h4 {
    margin: 0 0 15px 0;
    color: #1f2937;
    font-size: 16px;
}

.wholesale-tiered-pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 6px;
    overflow: hidden;
}

.wholesale-tiered-pricing-table th,
.wholesale-tiered-pricing-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.wholesale-tiered-pricing-table th {
    background: #f3f4f6;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.wholesale-tiered-pricing-table td {
    color: #6b7280;
}

.wholesale-tiered-pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.wholesale-tiered-pricing-table tbody tr:hover {
    background: #f9fafb;
}

/* Responsive */
@media (max-width: 768px) {
    .wholesale-registration-wrapper {
        padding: 10px;
    }
    
    .wholesale-registration-form {
        padding: 30px 20px;
    }
    
    .wholesale-registration-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .wholesale-registration-form h2 {
        font-size: 24px;
    }
}