/**
* 2007-2018 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    PrestaChamps <leo@prestachamps.com>
* @copyright 2025 PrestaChamps
* @license   Commercial
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
.resolution-topbar-table p{
    margin-bottom:0;
}
button[name="delete"]{
    background-color: #ff1a0e !important;
    border-color: #ff1a0e !important;
    color:white !important;
}
button[name="delete"]:hover{
    background-color:#ff4736 !important;
    border-color: #ff4736 !important;
    color:white !important;
}
button[name="edit"]{
    background-color: #25b9d7 !important;
    border-color: #25b9d7 !important;
    color:white !important;
}
button[name="edit"]:hover{
    background-color:#7cd5e7 !important;
    border-color: #7cd5e7 !important;
    color:white !important;
}

.resolution-topbar-table thead th {
    font-size: 1.1rem;
    font-weight: 600 !important;
}

/* Image preview and delete functionality */
.current-image-preview {
    margin-top: 10px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.current-image-preview .image-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.current-icon-preview {
    max-width: 80px;
    max-height: 80px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
    background-color: white;
}

.delete-image-btn {
    font-size: 12px !important;
    padding: 5px 10px !important;
    align-self: end !important;
    background-color: #ff1a0e !important;
    border-color: #ff1a0e !important;
}

.delete-image-btn:hover {
    background-color:#ff4736 !important;
    border-color: #ff4736 !important;
}

.delete-status {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
}

.delete-status .text-warning {
    color: #856404;
    font-weight: 500;
}

/* Panel heading button styles - compatible with PS 1.7 and PS 8 */
.panel-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.panel-heading .panel-heading-action {
    margin-left: auto;
}

.panel-heading .panel-heading-action .btn {
    white-space: nowrap;
}

/* Table action buttons */
.resolution-topbar-table .btn-group-action .btn-group {
    display: flex;
    flex-wrap: nowrap;
}

.resolution-topbar-table .btn-group-action .btn {
    white-space: nowrap;
}

/* Actions column width adjustment */
.resolution-topbar-table th:last-child,
.resolution-topbar-table td:last-child {
    width: 120px;
    min-width: 120px;
}
