/**
 * 2007-2025 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to http://www.prestashop.com for more information.
 *
 * @author    PluginIsle <ahoy@pluginisle.pl>
 * @copyright 2007-2025 PrestaShop SA
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 * International Registered Trademark & Property of PrestaShop SA
 */

 .omnibus-price-container {
    margin-top: 10px;
    clear: both;
}

.omnibus-message {
    margin: 0;
    font-size: 14px;
    color: #333;
}

a.omnibus-chart-trigger {
    font-size: 12px;
    margin-left: 10px;
    cursor: pointer;
}

#omnibusChartModal .modal-dialog {
    max-width: 800px;
    width: 90%;
}

#omnibus-chart-wrapper-modal {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 400px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.omnibus-tooltip-trigger {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    background-color: #777;
    color: white;
    border-radius: 50%;
    cursor: help;
    position: relative;
    font-weight: bold;
    font-size: 12px;
    margin-left: 5px;
}

.omnibus-tooltip {
    display: none;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 10px;
    border-radius: 4px;
    width: 250px;
    z-index: 10;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
}

.omnibus-tooltip-trigger:hover .omnibus-tooltip {
    display: block;
}

/* Styles for product listings (thumbnails) */
.omnibus-thumb-container {
    text-align: center;
    margin-top: 5px;
    height: 20px; /* Reserve space to avoid layout shifts */
}

.omnibus-thumb-message {
    font-size: 11px;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

/* Loader Styles */
.omnibus-loader {
  border: 5px solid #f3f3f3; /* Light grey */
  border-top: 5px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Chartist Specific Styles */
#omnibusPriceChart .ct-bar {
    stroke-width: 20px;
}

#omnibusPriceChart .ct-label.ct-horizontal {
    font-size: 10px;
}

#omnibusPriceChart .ct-label.ct-vertical {
    font-size: 12px;
}
