/**
 * Luxury frontend icon fixes — no icon-font dependency.
 * Loaded only from layouts/frontend.blade.php (not admin / account master).
 */

/* Toast close: replace missing Line Awesome glyph with accessible CSS × */
body.lux-frontend-shell .iziToast > .iziToast-close {
    font-family: inherit;
    font-weight: 400;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.55;
    transition: opacity 0.2s ease, color 0.2s ease;
}

body.lux-frontend-shell .iziToast > .iziToast-close::before {
    content: "\00d7";
    font-size: 1.625rem;
    line-height: 1;
    font-family: inherit;
    speak: never;
}

body.lux-frontend-shell .iziToast > .iziToast-close:hover,
body.lux-frontend-shell .iziToast > .iziToast-close:focus-visible {
    opacity: 1;
    color: var(--color-ruby, #7A1F2B);
    outline: none;
}

/* Hide broken Font Awesome toast icons when session notify still passes FA classes */
body.lux-frontend-shell .iziToast > .iziToast-body .iziToast-icon i[class*="fa-"] {
    font-size: 0;
    line-height: 0;
    width: 1.125rem;
    height: 1.125rem;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

body.lux-frontend-shell .iziToast.iziToast-color-green .iziToast-icon i[class*="fa-"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2328c76f' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z'/%3E%3C/svg%3E");
}

body.lux-frontend-shell .iziToast.iziToast-color-red .iziToast-icon i[class*="fa-"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23eb2222' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z'/%3E%3C/svg%3E");
}

body.lux-frontend-shell .iziToast.iziToast-color-orange .iziToast-icon i[class*="fa-"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ff9f43' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 9v3.75m-2.25 0h4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z'/%3E%3C/svg%3E");
}

body.lux-frontend-shell .iziToast.iziToast-color-blue .iziToast-icon i[class*="fa-"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231e9ff2' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z'/%3E%3C/svg%3E");
}
