/* Additional CSS for Shop Rate and Wholesale Rate fields */

/* Enhanced styling for pricing section */
.pricing-section {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 15px;
    margin: 10px 0;
}

.pricing-section .section-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

/* Pricing input fields styling */
.pricing-input {
    position: relative;
}

.pricing-input .form-control {
    padding-left: 25px;
    font-weight: 500;
}

.pricing-input::before {
    content: "₹";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-weight: bold;
    z-index: 10;
}

/* Different colors for different price types */
.sales-price-field {
    border-left: 4px solid #28a745;
}

.shop-rate-field {
    border-left: 4px solid #007bff;
}

.wholesale-rate-field {
    border-left: 4px solid #ffc107;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-section {
        padding: 10px;
    }
    
    .ultra-compact-form .col-md-2 {
        margin-bottom: 10px;
    }
}

/* Rate comparison indicators */
.rate-indicator {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
}

.rate-indicator.higher {
    background-color: #d4edda;
    color: #155724;
}

.rate-indicator.lower {
    background-color: #f8d7da;
    color: #721c24;
}

/* Modal specific styling */
.modal .pricing-fields {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.modal .pricing-fields .form-group label {
    font-weight: 600;
    color: #495057;
}

/* Tooltip styling for rate explanations */
.rate-tooltip {
    cursor: help;
    color: #6c757d;
}

.rate-tooltip:hover {
    color: #007bff;
}
