/*
Theme Name: Corsen
Theme URI: https://corsen.qodeinteractive.com
Description: Corsen - Fashion and Clothing Store Theme
Author: Select Themes
Author URI: https://qodeinteractive.com
Text Domain: corsen
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, threaded-comments, translation-ready
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

.confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
}

.confirm-overlay.active {
    display: flex;
}

.confirm-modal {
    position: relative;
    width: 100%;
    max-width: 550px;
    background: #fff;
    border-radius: 16px;
    padding: 42px 46px 38px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    animation: popupFade .25s ease;
}

.confirm-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.confirm-icon {
    position: relative;
    width: 92px;
    height: 92px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #fff1df;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.confirm-icon span {
    position: absolute;
    top: 5px;
    right: -4px;
    width: 32px;
    height: 32px;
}

.confirm-modal h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 800;
    color: #111;
}

.confirm-line {
    width: 58px;
    height: 2px;
    background: #f58200;
    margin: 18px auto 22px;
}

.confirm-text {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #222;
}

.confirm-alert {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff5ed;
    border-radius: 10px;
    padding: 18px 22px;
    text-align: left;
    margin-bottom: 28px;
}

.alert-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #ffe2bf;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.confirm-alert p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #222;
}

.confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 14px;
}

.confirm-actions button {
    display: flex;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    font-family: "Noto Sans", sans-serif;
    padding: 0.8rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-cancel {
    background: #fff;
    color: #111;
    border: 1.5px solid #111;
}

.btn-confirm {
    background: #f58200;
    color: #fff;
    border: 1.5px solid #f58200;
}

.btn-confirm span {
    margin-left: 10px;
}

@keyframes popupFade {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 575px) {
    .confirm-modal {
        max-width: 360px;
        padding: 34px 18px 24px;
        border-radius: 14px;
    }

    .confirm-close {
        width: 34px;
        height: 34px;
        font-size: 26px;
        top: 14px;
        right: 14px;
    }

    .confirm-icon {
        width: 76px;
        height: 76px;
        font-size: 32px;
        margin-bottom: 18px;
    }

    .confirm-icon span {
        width: 26px;
        height: 26px;
        font-size: 16px;
        line-height: 26px;
    }

    .confirm-modal h2 {
        font-size: 23px;
    }

    .confirm-text {
        font-size: 14px;
    }

    .confirm-alert {
        padding: 14px;
        gap: 12px;
    }

    .alert-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .confirm-alert p {
        font-size: 13px;
    }

    .confirm-actions {
        grid-template-columns: 1fr;
    }

    .confirm-actions button {
        height: 50px;
        font-size: 14px;
    }
}