﻿.pi-confirm.hidden {
    display: none;
}

.pi-confirm {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.pi-confirm-box {
    width: 320px;
    background: #2b2b2b;
    border: 3px ridge #999;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,.5);
    animation: piConfirmIn .16s ease-out;
    display: flex;
    flex-direction: column;
    padding: 14px 16px 12px;
}

@keyframes piConfirmIn {
    from {
        transform: scale(.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.pi-confirm-header {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 8px;
    color: #ffd27f;
    align-self: center;
}

.pi-confirm-message {
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 14px;
    white-space: pre-wrap;
    color: #eee;
    align-self: center;
}

.pi-content-message {
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 14px;
    margin-top: 14px;
    white-space: pre-wrap;
    color: #eee;
    justify-content: space-evenly;
}

.pi-confirm-actions {
    display: flex;
    gap: 8px;
    justify-content: space-evenly;
}

.pi-btn {
    min-width: 70px;
    padding: 4px 10px 5px;
    font-size: 12px;
    border: 1px solid #666;
    border-radius: 4px;
    background: #3d3d3d;
    color: #eee;
    cursor: pointer;
    transition: .12s background, .12s border-color;
}

    .pi-btn:focus {
        outline: 2px solid #888;
        outline-offset: 1px;
    }

.pi-btn-primary {
    background: #556fb3;
    border-color: #465e96;
}

    .pi-btn-primary:hover {
        background: #5f7bca;
    }

.pi-btn-secondary:hover {
    background: #4a4a4a;
}

.pi-btn-primary:active, .pi-btn-secondary:active {
    transform: translateY(1px);
}
