/* Google Fonts should be enqueued via PHP */

.bluepi-quotation-manager-for-woocommerce-body * {
    box-sizing: border-box;
}

.bluepi-quotation-manager-for-woocommerce-body {
    font-family: 'Inter', sans-serif;
    background: #f9fafa;
    color: #1a1a1a;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .bluepi-quotation-manager-for-woocommerce-actions {
        flex-direction: column !important;
    }
}

.bluepi-quotation-manager-for-woocommerce-container {
    display: flex;
    min-height: 500px;
    max-width: 100%;
    margin: 10px auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    background: #fff;
}

/* left Panel */
.bluepi-quotation-manager-for-woocommerce-left-panel {
    flex: 1.5;
    background: #fff;
    padding: 30px;
    overflow-y: auto;
}

.bluepi-quotation-manager-for-woocommerce-panel-title {
    font-size: 15px;
    margin: 0 0 20px 0;
}

.bluepi-quotation-manager-for-woocommerce-search {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 20px;
}

.bluepi-quotation-manager-for-woocommerce-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.bluepi-quotation-manager-for-woocommerce-tab {
    padding: 7px 15px;
    border: none;
    border-radius: 30px;
    background: #eef2f6;
    color: #555;
    font-size: 12px;
    cursor: pointer;
}

.bluepi-quotation-manager-for-woocommerce-tab-active {
    background: #0066cc;
    color: white;
}

.bluepi-quotation-manager-for-woocommerce-price-range {
    margin-bottom: 25px;
    width: 50%;
}

.bluepi-quotation-manager-for-woocommerce-price-range span {
    font-size: 14px;
}

.bluepi-quotation-manager-for-woocommerce-slider-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.bluepi-quotation-manager-for-woocommerce-slider {
    flex: 1;
    height: 5px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
    appearance: none;
}

.bluepi-quotation-manager-for-woocommerce-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0066cc;
    cursor: pointer;
}

.bluepi-quotation-manager-for-woocommerce-range-value {
    font-size: 13px !important;
    color: #0066cc;
    font-weight: 600;
    min-width: 100px;
}

/* Product Cards */
.bluepi-quotation-manager-for-woocommerce-product-list {
    display: grid;
    gap: 16px;
}

.bluepi-quotation-manager-for-woocommerce-product-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: all 0.2s;
}

.bluepi-quotation-manager-for-woocommerce-product-card:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.bluepi-quotation-manager-for-woocommerce-product-info h3 {
    margin: 0 0 6px 0;
    font-size: 14px;
}

.bluepi-quotation-manager-for-woocommerce-product-info p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 12px;
}

.bluepi-quotation-manager-for-woocommerce-category {
    background: #e6f0ff;
    color: #0066cc;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    margin-right: 8px;
}

.bluepi-quotation-manager-for-woocommerce-code {
    color: #999;
    font-size: 10px;
}

.bluepi-quotation-manager-for-woocommerce-product-price {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bluepi-quotation-manager-for-woocommerce-product-price strong {
    display: block;
    font-size: 13px;
    margin-bottom: 0;
}

.bluepi-quotation-manager-for-woocommerce-add-btn {
    background: #0066cc;
    color: white;
    border: none;
    padding: 6px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* Right Panel */
.bluepi-quotation-manager-for-woocommerce-right-panel {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-right: 1px solid #eee;
}

.bluepi-quotation-manager-for-woocommerce-title {
    font-size: 15px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.bluepi-quotation-manager-for-woocommerce-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 12px;
}

.bluepi-quotation-manager-for-woocommerce-summary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.bluepi-quotation-manager-for-woocommerce-card {
    background: #f0f7ff;
    padding: 5px 15px;
    border-radius: 12px;
    text-align: center;
    font-size: 13px;
    color: #555;
    border: 1.5px dashed #0066cc;
}

.bluepi-quotation-manager-for-woocommerce-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 6px;
}

.bluepi-quotation-manager-for-woocommerce-total-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.bluepi-quotation-manager-for-woocommerce-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 12px;
}

.bluepi-quotation-manager-for-woocommerce-discount-row {
    color: #16a34a;
    font-weight: 600;
}

.bluepi-quotation-manager-for-woocommerce-discount-amount {
    color: #16a34a !important;
    font-weight: 700;
}

.bluepi-quotation-manager-for-woocommerce-shipping {
    position: relative;
}

.bluepi-quotation-manager-for-woocommerce-edit-link {
    color: #0066cc;
    font-size: 12px;
    text-decoration: none;
}

.bluepi-quotation-manager-for-woocommerce-edit-link:hover {
    text-decoration: underline;
}

.bluepi-quotation-manager-for-woocommerce-total-row {
    font-size: 15px;
    font-weight: 600;
    padding-top: 12px;
    border-top: 1px solid #ddd;
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
}

.bluepi-quotation-manager-for-woocommerce-total-price {
    color: #0066cc;
    font-size: 15px;
}

.bluepi-quotation-manager-for-woocommerce-actions {
    display: flex;
    gap: 15px;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 1rem;
}

.bluepi-quotation-manager-for-woocommerce-actions button {
    min-width: 240px;
}

.bluepi-quotation-manager-for-woocommerce-btn-secondary,
.bluepi-quotation-manager-for-woocommerce-btn-primary {
    padding: 9px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bluepi-quotation-manager-for-woocommerce-btn-secondary {
    background: #f0f7ff;
    color: #333;
    border: 1.5px dashed #0066cc;
}

.bluepi-quotation-manager-for-woocommerce-btn-primary {
    background: #0066cc;
    color: white;
}

/* Quantity Input with Plus/Minus - Quotation Maker Style */
.bluepi-quotation-manager-for-woocommerce-quantity-input {
    display: flex;
    align-items: center;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
    background: #fff;
    font-family: inherit;
}

.bluepi-quotation-manager-for-woocommerce-qty-btn {
    width: 20px;
    height: 20px;
    border: none;
    background: #f8f9fa;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bluepi-quotation-manager-for-woocommerce-qty-btn:hover {
    background: #0066cc;
    color: white;
}

.bluepi-quotation-manager-for-woocommerce-qty-btn:active {
    background: #0052a3;
}

.bluepi-quotation-manager-for-woocommerce-qty-minus {
    border-right: 1px solid #ddd;
}

.bluepi-quotation-manager-for-woocommerce-qty-plus {
    border-left: 1px solid #ddd;
}

.bluepi-quotation-manager-for-woocommerce-qty-input {
    width: 60px;
    height: 20px;
    text-align: center;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    background: transparent;
    appearance: textfield;
}

/* Hide arrows in number input */
.bluepi-quotation-manager-for-woocommerce-qty-input::-webkit-outer-spin-button,
.bluepi-quotation-manager-for-woocommerce-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bluepi-quotation-manager-for-woocommerce-qty-input:focus {
    outline: none;
}


/* Responsive Design */
@media (max-width: 992px) {
    .bluepi-quotation-manager-for-woocommerce-container {
        flex-direction: column;
    }

    .bluepi-quotation-manager-for-woocommerce-left-panel,
    .bluepi-quotation-manager-for-woocommerce-right-panel {
        flex: none;
    }

    .bluepi-quotation-manager-for-woocommerce-summary-cards {
        grid-template-columns: 1fr;
    }

    .bluepi-quotation-manager-for-woocommerce-actions {
        flex-direction: row;
    }

    .bluepi-quotation-manager-for-woocommerce-btn-secondary,
    .bluepi-quotation-manager-for-woocommerce-btn-primary {
        flex: 1;
    }
}

@media (max-width: 600px) {

    .bluepi-quotation-manager-for-woocommerce-left-panel,
    .bluepi-quotation-manager-for-woocommerce-right-panel {
        padding: 20px;
    }

    .bluepi-quotation-manager-for-woocommerce-product-card {
        flex-direction: column;
        text-align: center;
    }

    .bluepi-quotation-manager-for-woocommerce-product-price {
        margin-top: 15px;
    }

    .bluepi-quotation-manager-for-woocommerce-category-tabs {
        justify-content: center;
    }
}


/* Clean Added Products List - Quantity as Text Only */
.bluepi-quotation-manager-for-woocommerce-added-products {
    margin: 30px 0;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    max-height: 420px;
    overflow-y: auto;
}

.bluepi-quotation-manager-for-woocommerce-added-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 18px 0;
    color: #1a1a1a;
}

.bluepi-quotation-manager-for-woocommerce-added-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.bluepi-quotation-manager-for-woocommerce-added-item:last-child {
    border-bottom: none;
}

.bluepi-quotation-manager-for-woocommerce-added-thumb {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.bluepi-quotation-manager-for-woocommerce-added-details {
    flex: 1;
    min-width: 0;
}

.bluepi-quotation-manager-for-woocommerce-added-name {
    font-weight: 600;
    font-size: 12px;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bluepi-quotation-manager-for-woocommerce-added-code {
    font-size: 10px;
    color: #888;
}

.bluepi-quotation-manager-for-woocommerce-added-quantity {
    font-size: 12px;
    color: #555;
    min-width: 40px;
    text-align: center;
}

.bluepi-quotation-manager-for-woocommerce-added-quantity strong {
    font-size: 12px;
    color: #1a1a1a;
    font-weight: 700;
}

.bluepi-quotation-manager-for-woocommerce-added-price {
    font-weight: 600;
    color: #0066cc;
    font-size: 12px;
    min-width: 60px;
    text-align: right;
}

.bluepi-quotation-manager-for-woocommerce-remove-item {
    width: 26px;
    height: 26px;
    border: none;
    background: #fdf2f2;
    color: #e63946;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s;
}

.bluepi-quotation-manager-for-woocommerce-remove-item:hover {
    background: #e63946 !important;
    color: white !important;
}

.bluepi-quotation-manager-for-woocommerce-empty-state {
    text-align: center;
    color: #999;
    font-size: 15px;
    padding: 40px 0;
    display: none;
}

.bluepi-quotation-manager-for-woocommerce-empty-state.show {
    display: block;
}

/* Responsive Adjustment */
@media (max-width: 768px) {
    .bluepi-quotation-manager-for-woocommerce-added-item {
        flex-wrap: wrap;
        gap: 12px;
    }

    .bluepi-quotation-manager-for-woocommerce-added-price,
    .bluepi-quotation-manager-for-woocommerce-added-quantity {
        flex: 1;
        text-align: left;
    }

    .bluepi-quotation-manager-for-woocommerce-remove-item {
        order: -1;
    }
}

.bluepi-quotation-manager-for-woocommerce-added-thumb-letter {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: #0066cc;
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #ddd;
}

/* Product Card Thumbnail */
.bluepi-quotation-manager-for-woocommerce-product-thumb {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid #eee;
    background: #f9fafa;
}

.bluepi-quotation-manager-for-woocommerce-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Make the card flex (important!) */
.bluepi-quotation-manager-for-woocommerce-product-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Optional: better spacing on mobile */
@media (max-width: 480px) {
    .bluepi-quotation-manager-for-woocommerce-product-thumb {
        width: 70px;
        height: 70px;
    }
}

/* Pagination - Quotation Maker Style */
.bluepi-quotation-manager-for-woocommerce-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    padding: 20px 0;
    user-select: none;
}

.bluepi-quotation-manager-for-woocommerce-page-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #f8f9fa;
    color: #666;
    border-radius: 10px;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.bluepi-quotation-manager-for-woocommerce-page-btn:hover:not(:disabled) {
    background: #0066cc;
    color: white;
}

.bluepi-quotation-manager-for-woocommerce-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.bluepi-quotation-manager-for-woocommerce-page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bluepi-quotation-manager-for-woocommerce-page-num {
    width: 30px;
    height: 30px;
    border: none;
    background: #f1f3f5;
    color: #555;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
}

.bluepi-quotation-manager-for-woocommerce-page-num.active,
.bluepi-quotation-manager-for-woocommerce-page-num:hover {
    background: #0066cc;
    color: white;
}

.bluepi-quotation-manager-for-woocommerce-pagination i,
.bluepi-quotation-manager-for-woocommerce-remove-item i {
    font-size: 14px;
}

.bluepi-quotation-manager-for-woocommerce-page-dots {
    color: #999;
    font-weight: bold;
    padding: 0 4px;
}

/* Responsive */
@media (max-width: 600px) {
    .bluepi-quotation-manager-for-woocommerce-pagination {
        gap: 8px;
    }

    .bluepi-quotation-manager-for-woocommerce-page-numbers {
        gap: 6px;
    }

    .bluepi-quotation-manager-for-woocommerce-page-num,
    .bluepi-quotation-manager-for-woocommerce-page-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Coupon Section - Quotation Maker Pro Look */
.bluepi-quotation-manager-for-woocommerce-coupon-section {
    margin: 24px 0 24px 0;
    padding: 15px;
    background: #f0f7ff;
    border-radius: 12px;
    border: 1.5px dashed #0066cc;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.bluepi-quotation-manager-for-woocommerce-coupon-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.bluepi-quotation-manager-for-woocommerce-coupon-input {
    flex: 1;
    padding: 10px 10px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    background: white;
    transition: all 0.2s;
}

.bluepi-quotation-manager-for-woocommerce-coupon-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.bluepi-quotation-manager-for-woocommerce-coupon-btn {
    padding: 10px 12px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.bluepi-quotation-manager-for-woocommerce-coupon-btn:hover {
    background: #0052a3;
}

.bluepi-quotation-manager-for-woocommerce-coupon-btn:active {
    transform: translateY(1px);
}

.bluepi-quotation-manager-for-woocommerce-coupon-message {
    font-size: 14px;
    font-weight: 500;
    min-height: 0;
}

/* Success & Error States (JS will add these classes) */
.bluepi-quotation-manager-for-woocommerce-coupon-success {
    color: #0d8b3a;
}

.bluepi-quotation-manager-for-woocommerce-coupon-error {
    color: #e63946;
}

/* Responsive */
@media (max-width: 480px) {
    .bluepi-quotation-manager-for-woocommerce-coupon-input-wrapper {
        flex-direction: column;
    }

    .bluepi-quotation-manager-for-woocommerce-coupon-btn {
        width: 100%;
    }
}

/* Add to Cart Button - Full Width & Prominent */
.bluepi-quotation-manager-for-woocommerce-cart-action {
    margin: 28px 0 20px 0;
    text-align: center;
}

.bluepi-quotation-manager-for-woocommerce-btn-cart {
    width: 100%;
    padding: 10px 11px;
    background: #0052a3;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 82, 163, 0.25);
    transition: all 0.2s;
}

.bluepi-quotation-manager-for-woocommerce-btn-cart:hover {
    background-color: rgba(0, 82, 163, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 82, 163, 0.35);
}

.bluepi-quotation-manager-for-woocommerce-btn-cart:active {
    transform: translateY(0);
}

/* "or" Separator */
.bluepi-quotation-manager-for-woocommerce-or-separator {
    text-align: center;
    margin: 20px 0;
    position: relative;
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.bluepi-quotation-manager-for-woocommerce-or-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
    z-index: 1;
}

.bluepi-quotation-manager-for-woocommerce-or-separator span {
    background: #fff;
    padding: 0 16px;
    position: relative;
    z-index: 2;
    text-transform: lowercase;
}

.bluepi-quotation-manager-for-woocommerce-or-separator span::first-letter {
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 480px) {
    .bluepi-quotation-manager-for-woocommerce-btn-cart {
        font-size: 16px;
        padding: 14px 18px;
    }
}

/* Customer Form - Quotation Maker Style */
.bluepi-quotation-manager-for-woocommerce-customer-form {
    margin: 32px 0;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 14px;
    border: 1px solid #e9ecef;
}

.bluepi-quotation-manager-for-woocommerce-form-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bluepi-quotation-manager-for-woocommerce-form-title::before {
    content: "ℹ️";
    font-size: 15px;
}

.bluepi-quotation-manager-for-woocommerce-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.bluepi-quotation-manager-for-woocommerce-full-width {
    grid-column: 1 / -1;
}

.bluepi-quotation-manager-for-woocommerce-form-group {
    display: flex;
    flex-direction: column;
}

.bluepi-quotation-manager-for-woocommerce-label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.bluepi-quotation-manager-for-woocommerce-required {
    color: #e63946;
}

.bluepi-quotation-manager-for-woocommerce-input,
.bluepi-quotation-manager-for-woocommerce-textarea {
    padding: 8px 8px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 12px;
    font-family: inherit;
    background: white;
    transition: all 0.2s;
}

.bluepi-quotation-manager-for-woocommerce-input:focus,
.bluepi-quotation-manager-for-woocommerce-textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.12);
}

.bluepi-quotation-manager-for-woocommerce-textarea {
    resize: vertical;
    min-height: 100px;
}

/* WooCommerce-style Country Dropdown */
.bluepi-quotation-manager-for-woocommerce-country-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='%23666' d='M1 0L7 7L13 0H1Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 44px !important;
    cursor: pointer;
}

/* Optional: Slight style improvement */
.bluepi-quotation-manager-for-woocommerce-country-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='%230066cc' d='M1 0L7 7L13 0H1Z'/%3E%3C/svg%3E");
}

/* Responsive */
@media (max-width: 768px) {
    .bluepi-quotation-manager-for-woocommerce-form-grid {
        grid-template-columns: 1fr;
    }

    .bluepi-quotation-manager-for-woocommerce-customer-form {
        padding: 20px;
    }
}

/* Admin Discount */
.bluepi-quotation-manager-for-woocommerce-admin-discount {
    margin: 28px 0;
    padding: 15px;
    background: #fffbeb;
    border: 2px solid #f59e0b;
    border-radius: 12px;
}

.bluepi-quotation-manager-for-woocommerce-admin-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #d97706;
    margin-bottom: 14px;
}

.bluepi-quotation-manager-for-woocommerce-admin-header i {
    font-size: 12px;
    color: #f59e0b;
}

.bluepi-quotation-manager-for-woocommerce-admin-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bluepi-quotation-manager-for-woocommerce-admin-input {
    width: 80px;
    padding: 10px 10px;
    border: 2px solid #ffd966;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    background: white;
}

.bluepi-quotation-manager-for-woocommerce-admin-type {
    padding: 10px 10px;
    border: 2px solid #ffd966;
    border-radius: 10px;
    background: white;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}

.bluepi-quotation-manager-for-woocommerce-admin-apply {
    padding: 12px 20px;
    background: #f59e0b;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 12px;
}

.bluepi-quotation-manager-for-woocommerce-admin-apply:hover {
    background: #d97706;
}

/* Mobile friendly */
@media (max-width: 480px) {
    .bluepi-quotation-manager-for-woocommerce-admin-input-wrapper {
        flex-direction: column;
    }

    .bluepi-quotation-manager-for-woocommerce-admin-input,
    .bluepi-quotation-manager-for-woocommerce-admin-type,
    .bluepi-quotation-manager-for-woocommerce-admin-apply {
        width: 100%;
    }
}

/* Sale Price + Discount Badge - Marketing Ready */
.bluepi-quotation-manager-for-woocommerce-added-price-wrapper {
    text-align: right;
    position: relative;
}

.bluepi-quotation-manager-for-woocommerce-added-price-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    /* space between price and badge */
    min-width: 110px;
}

.bluepi-quotation-manager-for-woocommerce-added-prices {
    text-align: right;
}

.bluepi-quotation-manager-for-woocommerce-added-original-price {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
}

.bluepi-quotation-manager-for-woocommerce-added-sale-price {
    font-size: 12px;
    font-weight: 700;
    color: #0066cc;
}

.bluepi-quotation-manager-for-woocommerce-added-discount-badge {
    background: #e63946;
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 8px;
    min-width: 42px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}


/* Popup Overlay */
.bluepi-quotation-manager-for-woocommerce-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.bluepi-quotation-manager-for-woocommerce-popup-overlay.show {
    display: flex !important;
}

.bluepi-quotation-manager-for-woocommerce-popup-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 560px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: popupSlide 0.3s ease-out;
}

@keyframes popupSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.bluepi-quotation-manager-for-woocommerce-popup-header {
    padding: 20px 24px 16px;
    background: #0066cc;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bluepi-quotation-manager-for-woocommerce-popup-header h3 {
    margin: 0;
    font-size: 20px;
}

.bluepi-quotation-manager-for-woocommerce-popup-header .bluepi-quotation-manager-for-woocommerce-popup-close {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: #a30000;
    border-radius: 50%;
    font-size: 18px;
}

.bluepi-quotation-manager-for-woocommerce-popup-close {
    background-color: #a30000;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.bluepi-quotation-manager-for-woocommerce-popup-close,
.bluepi-quotation-manager-for-woocommerce-popup-submit {
    width: 120px;
}


/* Form inside popup */
.bluepi-quotation-manager-for-woocommerce-customer-form {
    margin: 0;
    padding: 24px;
    background: white;
    border-radius: 0;
    border: none;
}

.bluepi-quotation-manager-for-woocommerce-popup-actions {
    padding: 20px 24px;
    background: #f8f9fa;
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 600px) {
    .bluepi-quotation-manager-for-woocommerce-popup-actions {
        flex-direction: column;
    }

    .bluepi-quotation-manager-for-woocommerce-popup-actions button {
        width: 100%;
    }
}

/* category selector */

.bluepi-quotation-manager-for-woocommerce-cat-price {
    display: flex;
    justify-content: space-between;
}

/* Category Selector - Toggle Dropdown */
.bluepi-quotation-manager-for-woocommerce-category-selector {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.bluepi-quotation-manager-for-woocommerce-category-toggle {
    padding: 10px 18px;
    border-radius: 30px;
    background: #0066cc;
    color: white !important;
    border: none;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bluepi-quotation-manager-for-woocommerce-toggle-icon {
    transition: transform 0.3s ease;
}

.bluepi-quotation-manager-for-woocommerce-category-toggle.active .bluepi-quotation-manager-for-woocommerce-toggle-icon {
    transform: rotate(180deg);
}

/* Dropdown Panel */
.bluepi-quotation-manager-for-woocommerce-category-panel {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    max-height: 400px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.bluepi-quotation-manager-for-woocommerce-category-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bluepi-quotation-manager-for-woocommerce-category-list {
    padding: 12px 0;
    max-height: 320px;
    overflow-y: auto;
}

.bluepi-quotation-manager-for-woocommerce-category-list a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.bluepi-quotation-manager-for-woocommerce-category-list a:hover {
    background: #f0f7ff;
    color: #0066cc;
    padding-left: 28px;
}

.bluepi-quotation-manager-for-woocommerce-category-list a.active {
    background: #0066cc;
    color: white;
    font-weight: 600;
}

/* View More Button */
.bluepi-quotation-manager-for-woocommerce-view-more-wrapper {
    padding: 10px 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.bluepi-quotation-manager-for-woocommerce-view-more-btn {
    background: none;
    border: none;
    color: #0066cc;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s;
}

.bluepi-quotation-manager-for-woocommerce-view-more-btn:hover {
    background: #f0f7ff;
}

/* responsive */
@media (max-width: 600px) {
    .bluepi-quotation-manager-for-woocommerce-category-selector {
        justify-content: flex-start;
    }

    .bluepi-quotation-manager-for-woocommerce-cat-price {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .bluepi-quotation-manager-for-woocommerce-price-range {
        width: 100%;
        margin-top: 12px;
    }
}

/* Beautiful Loader */
.bluepi-quotation-manager-for-woocommerce-loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    width: 100%;
    min-height: 300px;
}

.bluepi-quotation-manager-for-woocommerce-loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0066cc;
    /* Theme color */
    border-radius: 50%;
    animation: bluepiQuoteSpin 0.8s linear infinite;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.1);
}

.bluepi-quotation-manager-for-woocommerce-small-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #0066cc;
    border-radius: 50%;
    animation: bluepiQuoteSpin 0.8s linear infinite;
}

.bluepi-quotation-manager-for-woocommerce-loader-text {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: bluepiQuotePulse 1.5s ease-in-out infinite;
}

@keyframes bluepiQuoteSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes bluepiQuotePulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.bluepi-quotation-manager-for-woocommerce-rfq-container {
    padding: 60px 20px;
    background: #f9fafa;
    display: flex;
    justify-content: center;
}

.bluepi-quotation-manager-for-woocommerce-rfq-card {
    background: #fff;
    max-width: 800px;
    width: 100%;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.bluepi-quotation-manager-for-woocommerce-rfq-header {
    text-align: center;
    margin-bottom: 40px;
}

.bluepi-quotation-manager-for-woocommerce-rfq-header i {
    font-size: 40px;
    color: #0066cc;
    margin-bottom: 15px;
}

.bluepi-quotation-manager-for-woocommerce-rfq-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #1a1a1a;
}

.bluepi-quotation-manager-for-woocommerce-rfq-header p {
    color: #666;
    font-size: 15px;
}

.bluepi-quotation-manager-for-woocommerce-rfq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.bluepi-quotation-manager-for-woocommerce-rfq-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bluepi-quotation-manager-for-woocommerce-rfq-group.full-width {
    grid-column: span 2;
}

.bluepi-quotation-manager-for-woocommerce-rfq-group label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.bluepi-quotation-manager-for-woocommerce-rfq-group input,
.bluepi-quotation-manager-for-woocommerce-rfq-group textarea {
    padding: 12px 16px;
    border: 1.5px solid #eee;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
}

.bluepi-quotation-manager-for-woocommerce-rfq-group input:focus,
.bluepi-quotation-manager-for-woocommerce-rfq-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.bluepi-quotation-manager-for-woocommerce-rfq-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.bluepi-quotation-manager-for-woocommerce-rfq-submit {
    background: #0066cc;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.bluepi-quotation-manager-for-woocommerce-rfq-submit:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.rfq-message {
    text-align: center;
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    display: none;
}

.rfq-message.success {
    background: #ecfdf5;
    color: #059669;
    display: block;
}

.rfq-message.error {
    background: #fef2f2;
    color: #dc2626;
    display: block;
}

@media (max-width: 600px) {
    .bluepi-quotation-manager-for-woocommerce-rfq-grid {
        grid-template-columns: 1fr;
    }

    .bluepi-quotation-manager-for-woocommerce-rfq-group.full-width {
        grid-column: span 1;
    }

    .bluepi-quotation-manager-for-woocommerce-rfq-card {
        padding: 25px;
    }
}