/**
 * 2007-2024 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 PrestaShop SA <contact@prestashop.com>
 *  @copyright  2007-2024 PrestaShop SA
 *  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 *  International Registered Trademark & Property of PrestaShop SA
 */

/* Popup Notificación Styles */
.popup-notificacion-modal {
    z-index: 9999;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.popup-notificacion-modal.show {
    top: 0px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.popup-notificacion-modal .modal-dialog {
    max-width: 600px;
    width: 90%;
    margin: 0;
    position: relative;
}

.popup-notificacion-content {
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: none;
    overflow: hidden;
    background-color: #ffffff;
}

/* Header with custom color */
.popup-notificacion-header {
    background-color: #ea528e;
    color: #ffffff;
    border-bottom: none;
    padding: 15px 20px;
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.popup-notificacion-close {
    color: #ffffff;
    opacity: 1;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    text-shadow: none;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.popup-notificacion-close:hover,
.popup-notificacion-close:focus {
    opacity: 0.7;
    color: #ffffff;
    outline: none;
}

.popup-notificacion-close span {
    line-height: 1;
    font-size: 28px;
}

/* Body styles - white background */
.popup-notificacion-body {
    padding: 25px 30px;
    background-color: #ffffff;
    color: #333333;
    font-size: 15px;
    line-height: 1.6;
}

.popup-notificacion-text {
    text-align: center;
    color: #333333;
}

.popup-notificacion-text p {
    margin-bottom: 10px;
    color: #333333;
}

.popup-notificacion-text p:last-child {
    margin-bottom: 0;
}

.popup-notificacion-text strong {
    font-weight: bold;
    font-weight: 700;
}

/* Footer with checkbox */
.popup-notificacion-footer {
    border-top: 1px solid #e5e5e5;
    padding: 15px 30px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-notificacion-dont-show {
    text-align: center;
}

.popup-notificacion-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #666666;
    margin: 0;
    user-select: none;
}

.popup-notificacion-checkbox {
    margin-right: 10px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #ea528e;
}

.popup-notificacion-checkbox-label span {
    line-height: 1.4;
    color: #666666;
}

.popup-notificacion-checkbox-label:hover span {
    color: #ea528e;
}

/* Responsive design */
@media (max-width: 768px) {
    .popup-notificacion-modal .modal-dialog {
        max-width: 95%;
        margin: 20px auto;
    }
    
    .popup-notificacion-body {
        padding: 30px 20px;
        font-size: 15px;
    }
    
    .popup-notificacion-header {
        padding: 15px 20px;
        min-height: 50px;
    }
    
    .popup-notificacion-footer {
        padding: 15px 20px;
    }
    
    .popup-notificacion-close {
        right: 15px;
        width: 30px;
        height: 30px;
    }
    
    .popup-notificacion-close span {
        font-size: 28px;
    }
}

/* Backdrop */
.popup-notificacion-modal.show .modal-backdrop,
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9998;
}

/* Animation */
.popup-notificacion-modal.fade .modal-dialog {
    transition: opacity 0.3s ease-out, margin-top 0.3s ease-out;
    opacity: 0;
    margin-top: -30px;
}

.popup-notificacion-modal.show .modal-dialog {
    opacity: 1;
    margin-top: 0;
}

/* Ensure modal is visible when shown */
.popup-notificacion-modal.show .popup-notificacion-content {
    position: relative;
    z-index: 9999;
}
