/* Shared confirmation, alert, and toast UI (matches RestaurantPOS pos-dialogs) */
.pos-dialog-modal .modal-content {
    border: 0;
    border-radius: 0.75rem;
    box-shadow: 0 1rem 3rem rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.pos-dialog-modal .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.1rem 1.25rem 0.85rem;
    align-items: flex-start;
}

.pos-dialog-modal .modal-title {
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.35;
}

.pos-dialog-modal .modal-body {
    padding: 0.25rem 1.25rem 1.15rem;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pos-dialog-modal .modal-body p:last-child {
    margin-bottom: 0;
}

.pos-dialog-modal .modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.85rem 1.25rem 1.1rem;
    gap: 0.5rem;
}

.pos-dialog-modal .btn {
    min-width: 6.5rem;
    font-weight: 500;
}

.pos-dialog-icon-wrap {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.85rem;
}

.pos-dialog-icon-wrap svg {
    width: 1.35rem;
    height: 1.35rem;
}

.pos-dialog-icon-wrap.variant-danger {
    background: #fee2e2;
    color: #b91c1c;
}

.pos-dialog-icon-wrap.variant-warning {
    background: #fef3c7;
    color: #b45309;
}

.pos-dialog-icon-wrap.variant-primary,
.pos-dialog-icon-wrap.variant-info {
    background: #dbeafe;
    color: #1d4ed8;
}

.pos-dialog-icon-wrap.variant-success {
    background: #dcfce7;
    color: #15803d;
}

.pos-dialog-header-row {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.pos-toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1090;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-width: min(22rem, calc(100vw - 2rem));
    pointer-events: none;
}

.pos-toast {
    pointer-events: auto;
    background: #fff;
    border-radius: 0.65rem;
    box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.16);
    border-left: 4px solid #0d6efd;
    padding: 0.85rem 1rem 0.85rem 0.9rem;
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    animation: pos-toast-in 0.28s ease-out;
}

.pos-toast.variant-success { border-left-color: #198754; }
.pos-toast.variant-danger { border-left-color: #dc3545; }
.pos-toast.variant-warning { border-left-color: #fd7e14; }
.pos-toast.variant-info { border-left-color: #0dcaf0; }

.pos-toast-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #0f172a;
    margin-bottom: 0.15rem;
}

.pos-toast-message {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
}

.pos-toast-close {
    margin-left: auto;
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0 0 0 0.35rem;
    cursor: pointer;
}

.pos-toast-close:hover {
    color: #64748b;
}

@keyframes pos-toast-in {
    from {
        opacity: 0;
        transform: translateX(1rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
