/* ============================================================
 * pop-shop-modal.css
 * Extracted from: pop_shop_modal.blade.php
 * Scope: Promotional Popup Modal & Duplicate Order Detective Alert
 * ============================================================ */

/* Promotional Popup Modal */
#popShopModal {
    z-index: 10000;
}

.ps-modal-dialog {
    max-width: 520px;
}

.ps-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    position: relative;
}

.ps-image-only {
    position: relative;
    width: 100%;
    line-height: 0;
}

.ps-image-only img {
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

.ps-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 24px;
    line-height: 34px;
    color: #333333;
    cursor: pointer;
    z-index: 1050;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: 0.2s;
    padding: 0;
}

.ps-close:hover {
    color: #b93a3a;
    transform: scale(1.1);
    background: #ffffff;
}

@media (max-width: 768px) {
    .ps-modal-dialog {
        max-width: 92%;
    }
}

/* Duplicate Order Alert (SweetAlert2 Custom Styling) */
.swal-no-padding {
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.custom-modal-content {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Hind Siliguri', 'Roboto', sans-serif;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    margin: 0 auto;
}

.modal-header-custom {
    background-color: #b91c1c;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-icon {
    color: #facc15;
    font-size: 20px;
}

.close-icon {
    cursor: pointer;
    opacity: 0.8;
    font-size: 20px;
    transition: 0.2s;
}

.close-icon:hover {
    opacity: 1;
}

.modal-body-custom {
    padding: 30px 25px;
    text-align: left;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

.modal-footer-custom {
    padding: 0 25px 30px 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-whatsapp-custom {
    background-color: #10b981;
    color: #ffffff !important;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
    border: none;
}

.btn-whatsapp-custom:hover {
    background-color: #059669;
}

.btn-close-custom {
    background-color: #dc2626;
    color: #ffffff;
    padding: 10px 30px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.btn-close-custom:hover {
    background-color: #b91c1c;
}

@media (max-width: 450px) {
    .modal-footer-custom {
        flex-direction: column;
    }
    .btn-whatsapp-custom,
    .btn-close-custom {
        width: 100%;
        justify-content: center;
    }
}
